开发者

Partial Posts in asp.net

开发者 https://www.devze.com 2023-01-08 07:48 出处:网络
I am working on asp.net. and i want to implement partial posts in my application. my situation 开发者_运维知识库is like that

I am working on asp.net. and i want to implement partial posts in my application. my situation 开发者_运维知识库is like that i dont want to url changed in address bar and even page should not refreshed at all. for that i used script manager and update panel but still page refreshes and url also changes.

so any one have idea about it what to do?

Thank you


If you are using Update panel and still your page is getting post back in that case check that EnablePartialRendering should be true. If this is not the case then check your configuration and all the handlers as registered properly for AJAX.

I will suggest you to use jQuery instead of update panel for partial page post back. Do a google and you will find lot of example on this.

Check this ASP.NET postback with jQuery?

0

精彩评论

暂无评论...
验证码 换一张
取 消