Questions tagged [scriptmanager]

ScriptManager is an ASP.NET control that manages ASP.NET Ajax script libraries and is used for Ajax enabled controls, such as UpdatePanels

ScriptManager is an ASP.NET control that manages ASP.NET Ajax script libraries. The ScriptManager performs the following functions.

  1. Enables partial page rendering
  2. Enables client side script access to web services
  3. Enables use of authentication and profile services from the client

Only one ScriptManager can be allowed per page. For scenarios where a second ScriptManager reference is required, such as within an usercontrol, the ScriptManagerProxy control should be used.

521 questions
0
votes
2 answers

how to open a different page when cancel button is clicked in the Confirm dialog?

I just need to add an else condition in the following confirm function. So that if cancel is clicked on the box another page opens up. ScriptManager.RegisterClientScriptBlock( Me, GetType(Page), "confirm ", "{ confirm('Hello…
user1764540
  • 67
  • 1
  • 8
0
votes
1 answer

How to iterate json using jquery ajax

I am trying to iterate JSON object and i failing to iterate it. cs: [WebMethod] public static List GetTicVersionList() { List versionList = new List { …
user829174
  • 6,132
  • 24
  • 75
  • 125
0
votes
1 answer

ASP.NET scriptmanager getting error 500 when posting to server with AJAX

I asked a question yesterday where it was closed with duplication reason, However I still did not get an answer how to resolve my issue and i need some assistance. I am using ASP.NET with script manager
user829174
  • 6,132
  • 24
  • 75
  • 125
0
votes
1 answer

How to execute a javascript function only ONCE on postback without registering

I have the following line being ran from Visual Basic: ScriptManager.RegisterStartupScript(Page, Page.GetType, "populatePayPlan", "populatePayPlan();", True) and it will run that javascript on every postback. I simply only want to run it on a…
0
votes
1 answer

ajax got error on hosting the webpage

My Website is working fine locally but got problem in making live. Parser Error Message: Unknown server tag 'asp:ScriptManager'. I googled this problem and find solution as...
Yogendra Paudyal
  • 1,387
  • 1
  • 12
  • 17
0
votes
1 answer

Dropdown not binding Inside Ajax Update panel

I am using the below code to populate a dropdown on a selection of another dropdown. But somehow, ddlSubTypes is not getting populated when a item is selected in ddlTypes On selectedindex change event of ddlTypes, i am binding ddlSubTypes. …
Anuya
  • 8,082
  • 49
  • 137
  • 222
0
votes
4 answers

Need Help with ASP.NET (3.5) ScriptManager to call WCF JSON Data via AJAX

I am trying to get ASP.NET (Framework 3.5), AJAX, and JSON to work. I have two questions along those lines. This first is, when I add the below tag as required by ASP.NET: [AspNetCompatibilityRequirements(RequirementsMode = …
Peter
0
votes
1 answer

Page refreshed even after using Update Panel - AJAX

I have a datalist where the huperlinks will be populated with list of article names. When clicking on any article link, i load the content inside tag with ID = "POST" The problem is, when i click on the link in my datalist, the page refreshed to…
Anuya
  • 8,082
  • 49
  • 137
  • 222
0
votes
1 answer

Update label of MasterPage from content page when there is no ScriptManager in master page

I had not used ScriptManager on my MasterPage as it was not required when I started developing the project, so I have an individual ScriptManager and UpdatePanel for each content page. In the MasterPage now I've added a label which shows the current…
0
votes
1 answer

ScriptManager.RegisterStartupScript not working in mozila

I am trying to open jquery colorbox from code behind cs file. It works in chrome but mozila or internet explorer its not working .aspx code: