We help IT Professionals succeed at work.

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

jamesamuir
jamesamuir asked
on
3,442 Views
Last Modified: 2012-06-27
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.
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
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.

Commented:
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

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.