What will happen when we have more than one ScriptManager Control on to the same page or one is on Master Page and another one is on Content Page?

 Posted by Rajesh_Kumar on 2/11/2014 | Category: ASP.NET AJAX Interview questions | Views: 2255 | Points: 40
Answer:

We can not have more than one ScriptManager Control on to the same page because AJAX does not allow to do.If we put more than one ScriptManager Control on to the same page,then it will give below error at the time of loading page:

Only one instance of a ScriptManager can be added to the page.

Above message clearly stating that only one instatnce of ScriptManager means we can keep only one ScriptManager control on a page.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response