更新时间:2023-02-02 13:24:46
使用AJAX处理这种情况。
Use AJAX to handle this scenario.
如何在Asp.net中避免页面刷新? [ ^ ]
如何在单击按钮时停止重新加载页面? [ ^ ]
没有页面刷新的图像交换 [ ^ ]
使用ASP.NET 4.0和C#转发图像 [ ^ ]
此外你可以使用ajaxcontroltoolkit的模态弹出扩展器打开图像
希望它对你有所帮助!
开心编码! :)
How to AVOID Page Refresh in Asp.net ?[^]
How to stop to reload page when click the button?[^]
Image Swap Without Page Refresh[^]
Rotating Images with ASP.NET 4.0 and C#[^]
Further you can use modal popup extender of ajaxcontroltoolkit to open the image
hope it helped you!
happy coding! :)
1.)通过使用[WebMethod]可以避免页面刷新。
2.)使用updatepanel
Hi,
1.) by using [WebMethod] you can avoid page refresh.
2.)by using updatepanel