User Control Post Back On Page
-
hi, there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone :) guide me how can I stop whole page Post Back when user control call any server events? :-\
rup
-
hi, there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone :) guide me how can I stop whole page Post Back when user control call any server events? :-\
rup
I think ur trying to say something like this U just want only a particular part of a page to be refreshed? Is it so? And which version of framework are u using?
Believe Yourself™ :->™
-
hi, there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone :) guide me how can I stop whole page Post Back when user control call any server events? :-\
rup
You need to use AJAX for that. Once the page is rendered, there is no separation like user controls. Everything will be considered as a single page, and any controls on that will refresh the entire page.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
I think ur trying to say something like this U just want only a particular part of a page to be refreshed? Is it so? And which version of framework are u using?
Believe Yourself™ :->™
-
You need to use AJAX for that. Once the page is rendered, there is no separation like user controls. Everything will be considered as a single page, and any controls on that will refresh the entire page.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
thanks for reply, :) my usercontrol has most part of javascript and css while using UpdatePanel for Ajax functionality It prevents to reload of some JS ref and CSS. due to that page design is gone Destroy. if there is some way please let me know.
rup
Ajax is not working? :doh: Can u please tell, Exactly what happens!!! Now, Two questions... 1.Where u have take the reference for JS and CSS? Is JS in separate(.js) file? 2.have you used master page in that page? If u have not use masterpage then u can use masterpage instead Usercontrol, It will be best if u use Masterpage. reply fast.:cool:
Believe Yourself™ :->™