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
1 answer

Using setInterval with PageMethods

I am trying to call a LoadFile() function every X seconds using setInterval, and I want to call this in my document ready function , and a scriptmanager on my aspx page sets EnablePageMethods as true. But this doesnt seem to work and returns…
Diya
  • 3
  • 2
0
votes
1 answer

ScriptManager Error in my code?

I am trying to check my path using script manager and my code is in App_Code here is my code: public ReportDocument ReportCon(string path) { ReportDocument cryRpt = new ReportDocument(); ConnectionInfo info = new…
Rania Umair
  • 1,965
  • 3
  • 18
  • 18
0
votes
1 answer

ASP.NET ScriptManager History url hash lost after redirect

I have seen several posts online complaining that Firefox maintains the history url hash after redirecting.. That is the behavior I am hoping for - and it happens in Firefox (11.0), Chrome (18.0), and Opera (11.61), but not IE (9) or Safari…
Stephen
  • 853
  • 3
  • 11
  • 25
0
votes
1 answer

PageMethods.Method not being called from javascript

I have a javascript function that builds a string then sends the string to the c# codebehind to work with. Problem is, the PageMethods.Method is never being called. pertinent code: aspx page:
todd.pund
  • 689
  • 2
  • 11
  • 36
0
votes
2 answers

Cannot open a new window from inside update panel on linkbutton click

I have a link button inside UpdatePanel in a div popup. On Button_Click, I wish to open a new window through javascript. I tried both ScriptManager.RegisterStartupScript as well as ScriptManager.RegisterClientScriptBlock, but Window doesn't open. …
Tani
  • 115
  • 2
  • 14
-1
votes
1 answer

Only one instance of custom control can register in page like scriptmanager

I am creating a custom web control that I need only one instance of control user can add in page, same like scriptmanager. I need this check under custom control it self but not getting any correct approach, I know by iterating page.controls…
Neeraj Kumar Gupta
  • 2,157
  • 7
  • 30
  • 58
-1
votes
2 answers

UpdatePanel working only in debug mode

The update panel control is not working in normal mode i.e. when i am browsing it without debugging while in debug mode it is working absolutely fine. My code is as follows-
-1
votes
1 answer

jQuery animated scroll is not working

I need to scroll the point of view to the new added textbox. ScriptManager.RegisterStartupScript(Page, Page.GetType(), "ScrollTo" + ClientId, "jQuery(function(){$('html, body').delay(2000).animate({ scrollTop: $(document.getElementById(\"" +…
-1
votes
1 answer

ASP.Net WebForms IE7 ScriptManager.RegisterClientScriptInclude not working

So I've got the following problem. I've created a baseclass for a servercontrol in order to make developing scriptable controls easier. I went the following way to achieve this: if (!Page.ClientScript.IsClientScriptIncludeRegistered(Page.GetType(),…
Dbl
  • 5,634
  • 3
  • 41
  • 66
-2
votes
1 answer

Error: Sys.WebForms.PageRequestManagerparserErrorException: The message received from the server could not be parsed

Hi I am getting below Error "Error: Sys.WebForms.PageRequestManagerparserErrorException: The message received from the server could not be parsed" When I click button on my User Control. User control does not have any Update Panel but the page in…
msbyuva
  • 3,467
  • 13
  • 63
  • 87
-2
votes
1 answer

ScriptManager error while loading a page

I just put an ASP:scriptmanager within my login page and for the use of a tag cloud. And after login providing uname and pword redirect to home page. My home page consists of a master page and I put an ASP:scriptmanager within the master file. But…
DDPerera
  • 1
  • 4
1 2 3
34
35