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

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


Posted By:      Posted Date: September 20, 2010    Points: 0   Category :ASP.Net

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.

View Complete Post

More Related Resource Links

ASP.NET Multiple Selection DropDownList with AJAX HoverMenuExtender

Recently, I was looking for a multiple selection dropdownlist control for my new project. After spending some time researching for it, I decided to put together all my finding in one web user control. This web user control consists of an ASP.NET AJAX HoverMenuExtender, JavaScript, StyleSheet and CheckBoxListExCtrl . The final product will work with or without a MasterPage and you can drag and drop more than one instances of the control on to the page.

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.

re load javascripts and jquaries after ajax refresh


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?

Slow page load during a list query one time during the day


We have a monitoring tool set to check to see if the home pages for our 3 web apps load in under 60 seconds every 10 minutes.  All 3 web apps load in under 3 seconds on every 10 minute check except for one exception.  One check every day one of the web app's home page takes longer than 60 seconds to load.  This happens at 11:45PM when there is very little user usage on the environment.  The characteristics of this page are as follows: The only thing on the page is a list view web part which was added by the browser.  The page has not been customized with SPD or code at all.  The list that it pulls is a simple links list that has 281 items on it.  The view pulls all 281 items and displays them in sets of 100.  I cannot find any associated event in the server events and/or SharePoint ULS logs nor are there any daily sharepoint timer jobs running at that time.  Our full index happens at midnight with incremental happening hourly.  Our enviroment is 2 WFEs, 1 App/indexer and we have a separate SQL cluster backend.  

Could someone lead me possibly in the direction I should take next in my troubleshooting?   

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.

Slow load time of custom assembly on x64 compared to x86.

I am developing an application that automatically generates assemblies using the CSharpCodeProvider (.Net Framework 3.5).  These assemblies contain a single class with a very large number of local variables and methods.  After compilation I create an instance of this class (using Activator.CreateInstance) to be used elsewhere in the application.  When the application is deployed on a 32-bit system (tested on Win 7 Prof 32-bit and on Win XP) the CreateInstance method returns after 1 or 2 seconds, i.e. it first JITs the assembly before creating the instance.  However, on a 64-bit system (tested on Win 7 Home 64-bit, Win Server 2003 64-bit and Win Server 2008 64-bit) CreateInstance takes up to 5 minutes to return. Is there any reason why it would be that much slower on a 64-bit machine? I have tried many different options when compiling, such as setting the platform to x64, using the /optimize flag, etc, but none of these have made a difference. I also tried calling PrepareMethod on all the method in the class.  When I do this in the 32-bit environment, it takes approximately 10 seconds.  In the 64-bit environment it takes more than 3 minutes. As a last resort I tried ngen before constructing the object, but this made no difference in the execution time.

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


Hello everyone,   I would like to ask something. I have a map, with seven areas, and I would like people to be able when they click on one area a name to be selected automatically in the dropdownlist.  Can you help me with an script? or something referenced to be able to develop?   Thank you in advanced,   Regards,

ASP.Net Dynamic Data - DropDownList Field Template with AJAX Cascading DropDown Extension

Hi all,   Have spent hours trying to create a Dynamic Data Field Template holding a DropDownList which is extended by the AJAX Cascading DropDown extension. Final form holds multiple cascading dropdown boxes. User selects Country (Land) then Postcodes, Counties (Provincie) are populated. Once postcode is selected then towns (Plaats) are populated.  The problem I am now facing is that the viewstate for the dropdown lists is not being saved/restored after an insert action or custom validation error. So basically the dropdown lists are being reset to their default values. Some code (if missing parts, just ask and I will post them) - Don't mind the code structures etc... needs some refactoring :) Attribute I created:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Data { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] sealed public class CascadingDropDownParametersAttribute : Attribute { //public string TargetControlID; // The ID of the DropDownList to populate. public string Category; // The name of the category this DropDownList represents. public string PromptText; // Optional text to display before the user has selected a value from the DropDownList. public string

Sharepoint2007 + Ajax slow work

Hello, I write Sharepoint WebPart with jQuery plagin jqGrid to show DB data in table view on Sharepoint Server 2007 (of cource to manipulate with data jQuery plagin use Ajax technology). It works fine, but I have a very important trouble with productivity, it's unacceptable for my project. As I see the trouble is that Ajax work very slow on Sharepoint. For test I wrote ASP.NET project with the same code and same data, user can get and update data less than 1 second, the same action on Sharepoint takes over 12 seconds. IT'S UNACCEPTABLE!!! Does any body can help me? Any suggestions...

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

Page load very slow


I've developed a web page Client.aspx that is used for  editing a client. This application has been deployed and I made sure that debug='false'.
Upon selecting a client from the dropdownlist, his/her information is retrieved for editing. This retrieving process is very slow( about 9 seconds).
Except this DropDownList, all the other controls on this page are within the Update Panel. There are 2-3 other Update Panels within the main Update Panel.

When a client is selected from the DropDownList, the Client_ID (DataValueField) is used to retrive the information
This method returns a dataset.
In the calling method I'm assigning these values to the respective fields.

Some JavaScript is used for validating Phone#.

I also have a RadioButtonList on this page. When one of the ListItem is selected I need to disable a TextBox. Even this process is taking much time than expected.

Any suggestions on speeding up my application would be greatly appreciated.

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.


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.

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