asp.net-ajax

Webresource.axd doesn't load on my asp.net application running on my web farm

I'm working on an ASP.net web application. I'm getting errors on some of my pages where I get runtime JavaScript errors. I've narrowed the problem down to a single ASP Menu control on the master page. I created a blank page with just the ASP Menu control. The ASP Menu control is bound to Web.sitemap. The page intermittently gives ru...

A potentially dangerous Request.QueryString value was detected from the client when sending html markup from jquery post call to asp.net page

I m making an ajax call using jQuery to an asp.net page which acts as my ajax server page to save the data which i am sending to it in the querystring. in the asp.net page when i am trying to read the querystring i am getting this error A potentially dangerous Request.QueryString value was detected from the client... I have set the V...

How to build customized ListView that can fire the SelectedIndexChanged event ?

Hi guys, I'm trying to generate the following html: <ul class="listItems"> <li class="Selected">Val1</li> <li>Val2</li> <li>Val3</li> <li>Val4</li> <li>Val5</li> </li> I thought of using a ListView and customize its ItemTemplate. <ItemTemplate> <li> <asp:LinkButton Text='<%#Eval("BoundItemField")%>' CommandName="Select" ...

Update panel doesn't update after changing form value with Javascript

I have a small form with a checkbox and a couple text fields in an update panel. When the user checks the checkbox the text fields are prepopulated with values. When the user unchecks the checkbox, the text fields are cleared. The update panel updates when the user clicks the check box I've also added a small javascript that unchecks th...

Calling a Winform hosted WCF service from javascript

I have a Winform hosted WCF service with Ajax Web endpoint. I also have an ASP.NET project separately, with ScriptManager component on the page. My question is, should that work if I make service calls to my Winform hosted service from the client side of ASP.NET app using javascript? My ASP.NET Default page looks like this: <scrip...

asp.net ajax client side framework

Hi, I am completely new to AJAX for ASP.NET. How do I check if AJAX client side framework is installed on my server? I am using Visual Studio 2010 and ASP.NET target framework is 3.5. If it is not installed then is it free to download and install for ASP.NET 2.0? Detailed help would be much appreciated. I am facing the following probl...

asp.net autocomplete problem

i added autocomplete extender its working fine but the suggestion list half bottom is not showing because its exceed the length of the div containing textbox thank you, ...

google map script not working in update panel

hi in my web page i am using google map script its working at first time of page loading within update panel but its not working when i click any server control like button(partial post back) so how can i fix this issue. ...

CalendarExtender in Ajax Control Toolkit - basic code

I want to use CalendarExtender from Ajax Control Toolkit. I want to assign the Calendar to textbox, and want the calendar to be triggered by the clickl on the textbox as in the first example on the toolkit website My code is as follows: <asp:TextBox ID="txt1" runat="server" AutoPostBack="True"></asp:TextBox> <ajaxToolkit:Calen...

google map script not working in update panel

hi in my web page i am using google map script its working at first time of page loading within update panel but its not working when i click any server control like button(partial post back) so how can i fix this issue. and this script and this div for ...

Multiple ModalPopUpExtenders on one page inside a UserControl

I have 1 ModalPopupExtender inside a UserControl. Everything works great until I start adding the same usercontrol to the page. I am getting this error message in the javascript console:: Message: Sys.InvalidOperationException: Two components with the same id 'MPE1' can't be added to the application. I understand the error, it obvious...

Calling ScriptManager.RegisterPostBackControl during an AsyncPostBack

I have a custom control which is a wrapper around the ASPxGridView. This custom control is nested inside an UpdatePanel. In one of its columns I add a LinkButton, which I register by calling ScriptManager.RegisterPostBackControl. The grid has paging enabled. Paging is of course done during an AsyncPostBack. When the grid is showing its...

Best practice for looking up a large number items from a list box

Hi All, I'm working on an ASP.NET project where a user sets up a work order that consists of generating documents for an arbitrary number of patients. Current UI design is as follows; A step of setting up a work order is selecting what patients to include. During this step, user can choose to select patient sites or patients. In either...

ASP.NET WebService mistakenly returning XML instead of JSON only when using Http Get but web.config is set up right

Symptom: When I make a web service request (from JQuery using .ajax, to ASP.NET .asmx file), if it is made using GET instead of POST, the .asmx file always returns XML instead of JSON. If I flip the call back to posts, it responds just fine as JSON. Goal: How can I get JSON instead of XML, using HTTP GET? I've a fair bit of googling...

Error in ScriptResource.axd: "Object of type 'Sys.Extended.UI.AccordionBehavior' cannot be converted to type 'Sys.UI.Behavior'

I have an asp.net web site where I'm trying to resolve what looks like a problem with ASP.NET AJAX: Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Sys.Extended.UI.AccordionBehavior' cannot be converted to type 'Sys.UI.Behavior'. Parameter name: instance I've googled around a lot, and looked ...

asp.net calendar extender

the calender show fine but i cant click arrow button they apper fine but when i click them the year 2010 get clicked i dont know why but the text box the using the extender is in panel using rounded corner along with collapsible do not know if this is the reason . thank you, ...

Differentiate ajax call for different list items in listview.

I am using a listview to display some items and its owner name. All owners name are links and they are having same class and same id(since in listview). But I am displaying some information through an ajax call on mouse hovering the link. The ajax call retrieves data from database. But problem is that since I am using their css class as ...

AjaxControlKit Calendar Selector with SSRS

I've noticed that the items in the calendar date selection dropdown in the AjaxControlKit are not available if the SSRS ASP.Net report viewer control is directly beneath it. I had to add subsequent HTML/line spacing below it to give me the ability to select the rest of the lower dates in the control. To solve this, I added a few more ...

ASP.NET Page Timeout

I'm using DNN 5.5.0 and RadAjaxManager. If I'm active within the web page everything works fine. However if I leave the page for longer than 2 minutes my AJAX requests timeout (PageRequestManagerTimeoutException). From then the page is basically broken and I have to reload the page to get it going again. My session timeout is definitely...

Show hyperlink and popup window when Mouseover on image in Ajax Enable Page ?

Hello, I am using this solution for "Show hyperlink and popup window when Mouseover on image". Its working nicely but Its not working when Ajax is Enable on page. How can I do this workable in Ajax enable page? ...