.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

re load javascripts and jquaries after ajax refresh

Posted By:      Posted Date: August 23, 2010    Points: 0   Category :ASP.Net

I use javascript hints for my textbox and when page loads I set that, but after submiting data for example in the case of error in input and need for inputing again the data it doesn't show the hints, which means that when ajax sends Httprequest and gets Httpresponse and refreshes the update panel , that panel doesn't accept loaded jscripts again, so they should be loaded again.

I do not know how to do that in asp.net, any tips or recomendations?

View Complete Post

More Related Resource Links

JQuery Treeview plugin is not working with Ajax page load in ie8


Hi there,

I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.

But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.

Any idea?

Thanks in advance.

Ajax Accordion to load data from client click event


I have a Ajax Accordion control on my page with treeview in Content Template. As the treeview for each pane are big. I am wondering whether I can load the treeview from codebehind only after the pane is selected. I can reuse the code from ItemDataBound of Accordion control.

Ajax Refresh Panel

Hi, plz i want detailed explanation about  "Ajax Refresh Panel" like how to use it and what is the use of this control its urgent Thanx

AJAX call is not working on F5 load balancer web farm setup

I have the following web farm setup in production server.Browser --> HTTPS --> Load Balancer --> HTTP --> webserver nodeF5 Load balancer handles off box SSL termination. It implies that SSL resides on F5 load balancer. Problem Statement: Ajax calls do not go through unless "Access data sources across domains" option is enabled in IE security settings. I have the similar setup in staging server except F5 Load balancer. The ASP.Net application makes perfect AJAX calls on both HTTP and HTTPS.However, the staging server web farm use windows NLB and SSL resides on individual web server nodes

Error: ASP.NET Ajax client-side framework failed to load.

Getting some errors after implementing the calendar control.  Error: ASP.NET Ajax client-side framework failed to load.  Here are some screenshots of the relevant info:   Here's the scenario...  I compile code locally, view the pages in a browser locally, and it all works fine.  Another developer sits down at my machine, logs in with AD account (which create a local profile for his account on my machine), and gets these errors when viewing my locally compiled code.  He then compiles the same code on my machine again just for a test, but still gets the same errors.  Can anyone come up with any good reasons for this behavior?  I put a call into MS and they suggested creating a new profile for the other developer with the errors since this appeared to be profile specific.  Tried doing that with the same results.  Help!        

Problem with AJAX - " Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'Syst

Hi., I'm using Visual Studio 2008 and i downloaded the toolkit from Codeplex, I downloaded the zip file which i've marked red in the below link.. This is my code, <form id="form1" runat="server"> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </asp:ToolkitScriptManager> <asp:Panel ID="Panel1" runat="server"> Hi Simbu AJAX Works Fine ! </asp:Panel> <asp:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" TargetControlID = "Panel1" Radius = "6" BorderColor = "#FBB117" Corners = "All" > </asp:RoundedCornersExtender> </form> & this is the error i get, " Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' " I saw this post, http://forums.asp.net/p/1273185/3439540.aspx and i changed my TOOLSCRIPTMANAGER into SCRIPTMANAGER & now i get this error ! and now c what this post says... http://forums.asp.net/t/1529516.aspx NOW WOT AM I SUPPOSE TO DO ??? PLZ GUIDE ME ! I'm struck up with this since 2 days....

ASP.NET Ajax client-side framework failed to load = No Ribbon :( JS errors on Default and at Central

Looking for suggestions to why my ribbon crashed, and I'm unable to edit or add pages to my SharePoint 2010 Site.  Machine is Win7 Ultimate, IE8, SP2010 beta, VS2010 RC. All 64 Bit.  Was working fine.  Tried repair on the frameworks, after googling.  Cannot find the Geneva bits.  Removed Norton completely to sucessfully go back a couple of restore points and removed KB980182.  Clicked throught the SP configuration manager and all went well.  Definitely logged on as administrator.  IIS settings look good.  Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; InfoPath.3; .NET4.0C; .NET4.0E)Timestamp: Sun, 4 Apr 2010 22:21:30 UTC Message: Invalid characterLine: 1Char: 1Code: 0URI: http://starman/ScriptResource.axd?d=Zq0NPA5_FNMrMkj2gVMBkGEJYiejAr4xkOPFxcm9WpzwRnp65ubolTfztiSaY8z2QKXyoZQvaI_7A65C7OJf0Eii_VL61Hoi5B23lMNvWC01&t=ffffffffec2d9970 Message: Invalid characterLine: 1Char: 1Code: 0URI: http://starman/ScriptResource.axd?d=Zq0NPA5_FNMrMkj2gVMBkGEJYiejAr4xkOPFxcm9WpzwRnp65ubolTfztiSaY8z2u8yiDywNtvdUdmHr93TbWc4U0SHQq0pQ3M2FA3FoezpYhgSt6jFnafzRYmCIg8LW0&t=ffffffffec2d9970 Message: ASP.NET Ajax client-side framework failed t

Refresh with ajax an img src

Hi All,How can I refresh an img src with ajax. I use the CAPTCHAImageController in my project.It returns an gif image.<img id="guvenlikKodu" alt="CAPTCHA Image" src="<%=Url.Action("Index","CAPTCHAImage") %>" />I want to refresh the image with a link.How can I do this?Kind regardsAysegülImage controller:(http://weblogs.asp.net/karlapudi/archive/2008/05/13/custom-captcha-image-action-result-for-asp-net-mvc.aspx)

After enabling routing, get 'Ajax client-side framework failed to load"

Hopefully someone's come across this before... After I try using routing on my web form & load my page I get a few javascript errors one after the other: Error: ASP.NET Ajax client-side framework failed to load.Error: 'Type' is undefinedError: 'Sys' is undefinedError: Object expectedError: 'Sys' is undefined   After fooling with this for awhile, I created a blank aspx page. It loaded fine. I drop a scriptmanager on the page & the errors above pop up. I've been using ajax controls up until this point, & they work just fine when I comment out my routing code so I know the toolkit is not corrupt. Its gotta be a config issue...just not sure where to go. It's a .net 4 web app on IIS7   Here's the code I added to my global.asax:void RegisterRoutes(RouteCollection routes)        {            routes.MapPageRoute("PageRouting","{department}","~/Subweb.aspx");        }protected void Application_Start(object sender, EventArgs e)        {            RegisterRoutes(RouteTable.Routes);        }   In my web.config I added the assembly: &



Dear ALL ASP.NET expert,

I need your help my friend.

I have problem while using ajax. my page contain a dropdownlist which binding many list of data with no categories.

While refresh in one update panel is very slow.

Any one can hel me? many thanks for your help.

ajax load


hello guys

im tryin a simple program to add to the database that is mysql and retrive it.

now i also want to include AJAX, to it as in when i say get records i want the ajax load to appear.

can somebody tell me a simple way to do it. also if possible help me with the connection string for the sql.


Using browser / URL to load report, with rc:Toolbar=false, report does not refresh


I've got an app that hosts a browser control. In it, I loop through a set of reports (displaying a dashboard of them). The problem is, I don't want the toolbar to display, so I'm using rc:Toolbar=false. This gets the toolbar to not display, but the problem is, the reports don't refresh (I have timestamps in the reports, and they remain the same).

I'm not caching the reports- I have them set to the default setting of run the report each time.

So, how can I get both the toolbar hidden AND the report to be refreshed? I tried looking at the stylesheets, but can't figure out how to hide the entire report toolbar using those.



error: ASP.NET Ajax client-side framework failed to load.


Hi all,

I m getting this weird error "ASP.NET Ajax client-side framework failed to load." in my project which none of my other team mates are getting. Even I tuk the solutoin from the TFS so there is no chances of a code error any where because we all have downloaded the code from the same place in TFS.

N there shud not b anything wrong with the client browser also on my machine because i can browse the same page from the dev server perfectly. Its just breaking only when i m browsing that page on localhost.

We are using .net framework 4.0, windows 7 and we have AjaxControlToolkit version 1.0 in our project.

the only things which might differ in my case as compared to other machine and server are

- Virtual directory.

How do I load the Ajax toolkit into my projects?


I've done this before, but it's been a long time and when I tried to do it again (I have just upgraded to VS2010) and it does not have all the Ajax tools available that I was using in 2008. Where are they located and how do I re-install them? I've glanced through the FAQs for ASP.NET Ajax and the Ajax Control Toolkit thread but I did not see anything about how to load the toolkit into your project. Can someone please point me in the right direction or give me a quick refresher on how to do this? I did try to add items by right clicking on it  - only I don't see the items listed in the "Choose items" under either .Net Framework Components or under COM Components or under Silverlight that I am looking for. What happened to Accordian (Collapsable) components? Is there somewhere that I can see a complete list and download componentst that I want to add?

Any help would be greatly apprecaited.


ASP.NET AJAX client-side framework failed to load



I run a asp.net 4.0 website. (I did the porting from version 3.5 to 4.0)

I receive the following error :

ASP.NET AJAX client-side framework failed to load

in a page where I set scriptmanager EnableCdn="true" and there is a microsoft ajax extension Timer on the page.

this is the code:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableCdn="true">
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>


If I set EnableCdn="false" and refer to js locally es:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableCdn="false">
<script src="../../jsScript/jquery-1.4.2.min.js" type="text/javascript"></script>

All works fine!


I receive the error only on the production server.

Ajax update panel refresh and dropdown behaviour in firefox


I have found an odd bug in my application.  I have a dropdown status which is bound to my gridview. On selecting a status from the dropdown the selectedindex then fires and binds the results to the gridview.

Now the strange behaviour in firefox and not IE:

If I have a dropdown open and an ajax update fires on my gridview the option is selected from the dropdown (just by hovering my mouse over it rather than selecting it) and the results bound to the gridview. This does not happen in ie as you should have to physically select an item from the dropdown rather than firefox selecting it for you because you happened to hover over an option when the update event fires.

Anybody had the same problem or does anyone have a fix out there?

Your help would be appreciated.





ASP.NET Ajax client-side framework failed to load.


Hi folks,

I can't get my page to run due to this error:

Webpage error details
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://mysite.com/test/ScriptResource.axd?d=t-aV-FAbEGYQKBfxWLrLSFVvRZgZAMGceAIL_jF-RnMc5NpF-Xa_IC3luJfaevvL0&t=3156055c
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend