Link to home
Start Free TrialLog in
Avatar of jamesamuir
jamesamuir

asked on

What is the point of EnablePartialRendering = false in the ScriptManager?

I have a fairly complex page where i am using a single image css technique for rounded corners.  Problem is, if I do not encompass the entire panel with an UpdatePanel, the partial page refresh causes the style to render incorrectly.  The reason that this is a problem is because I have buttons that will not work correctly wrapped inside of an update panel.  The solution that I found was to set EnablePartialRendering = false.  Now, the page does a complete postback with no Ajax like functionality at all which leads me to my question, whats the pont?  If I wanted a full postback I would just remove the tags instead.
ASKER CERTIFIED SOLUTION
Avatar of Juan_Barrera
Juan_Barrera
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jamesamuir
jamesamuir

ASKER

Good answer.  Apparently the solution that I found was incorrect.  It looks like I have to use the Triggers tag instead.  Goes to show that you shouldnt always accept the first answer that you find.  Thanks again.
For posterity, you can use the Triggers tag or if you need to do it via code you can do it like:


ScriptManager1.RegisterPostBackControl(Button1)

Open in new window