asp.net-ajax

how to assign a value to textbox which is outside of the updatePanel

i am having a Page.in that page button inside a UpdatePanel.when a user click on the button. i need to assign a value to textbox which is outside of the updatepanel. how to achieve this ? any suggestion it will be there ? Thanks & Regards Ravikumar ...

asp.net updatepanel and validators problem

hello everyone i have read http://stackoverflow.com/questions/32814/asp-net-validators-inside-an-updatepanel but i still have this error: 'Page_Validators' is not defined here is what i have installed on the server (were the errors occur): .net framework 2.0 service pack 2 .net framework 3.0 service pack 2 .net framework 3.5 service...

Firing SelectedIndexChanged event for a Gridview in ASP.net asynchronously by clicking anywhere on the Row

I am instantiating/using the gridview only programmatically ie code behind only. Also, the grid is bound to a datasource, and I am only showing select columns from it by hooking rowdatabound event of the gridview. Please suggest a way for doing it WITHOUT design view(aspx). EDIT: Is there any way to do this using UpdatePanels? ...

ScriptManager run script immediately

I have an update panel load a user control, and the goal here is to have a specific JavaScript function called when this occurred. I was thinking this would be done through the Script Manager, though this does not need to be the case if there's an html alternative. The flow is basically the following: User clicks button Update pa...

Find Duplicate Values in the Gridview using Javascript

Hi all, I have a following requirement. I have a Gridview contains two columns Model Name | Model Description Model A | Model A Desc | Edit Update Cancel Model B | Model B Desc | Edit Update Cancel Model C | Model C Desc | Edit Update Cancel Let's when user click E...

ASP.NET Ajax Extensions 1.0 on server with framework 3.5?

Is it possible to install ASP.NET Ajax Extensions 1.0 for ASP.NET 2.0 on a web server that has the 3.5 framework installed? I have a project targeted for the 2.0 framework (cannot run 3.5), and I need it to run basic ASP.NET Ajax on a server that has the 3.5 framework installed. I tried installing Ajax Extensions 1.0 but it claimed the...

How to serialize only selected properties when using web services in ASP.NET application

In most cases we are using ASP.NET web services (System.Web.Script.Services.ScriptService) in our AJAX based web applications. This approach brings a major advantage providing automatically all the server-side classes (used in the web service methods) on client side in form of JavaScript alternatives (javascript classes with appropriate ...

error when deserializing json using c# and javascript serializer

I am trying to deserialize some JSON that I am grabbing from an asmx service into a list of objects. All of the fields in the class match fields in the JSON, the JSON is coming back valid, but I get the seemingly cryptic error: Value cannot be null. Parameter name: type. There is no parameter named type in any of my objects. Has anyon...

Dynamic Usercontrol preservation on Async postback

I've a control that dynamically loads other user controls. Upon Async postback from one of the child user controls i'm reloading the session cached version of the child control. However the page_load of this user control is not called when this occurs. As a result there can be no event handling of this control. Presumably there is a ...

ajax process control

Hi, Is there any builtin control in ajax to show process indicator. Like when i press copy button in my page one popup shuold come and show a small process animation gif. is it possible in ajax using c#? ...

function.createdelegate

how can i call 2 methods using function.createdelgate() lik i'm having 2 methods (method_one and method_two) Function.CreateDelegate(this,method_one); but i need to call both the methods in it... ...

How to avoid "Response.Redirect cannot be called in a Page callback"

I'm cleaning up some legacy framework code and a huge amount of it is simply coding by exception. No values are checked to see if they are null, and as a result, copious amounts of exceptions are thrown and caught. I've got most of them cleaned up, however, There are a few error / login / security related framework methods that are do...

asp.net: RegisterStartupScript from ScriptManagerProxy, possible?

I need to run some javascript after an update panel updates, this update panel is in a Usercontrol located in a page that has a MasterPage. The MasterPage has a ScriptManager and the Usercontrol has a ScriptManagerProxy. in the UserControl I am calling: ScriptManagerProxyControl.Page.RegisterStartupScript(Guid.NewGuid().ToString(), "a...

UpdateProgress linked to Multiple UpdatePanel controls

Is there a way to have a single UpdateProgress control associated with mupltiple UpdatePanel controls? something like this: <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> ..... </ContentTemplate> </asp:UpdatePanel> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> ........

JScript intellisense with ScriptManagerProxy

Hi I've got a problem making my ScriptManagerProxy expose registered scripts. When I add a ScriptManager, everything works as expected and the scripts are reflected correctly, but whenever I change it to a ScriptManagerProxy, every script, even the MicrosoftAjax.js, dissapears from the intellisense. I believe there is some sort of bug ...

Ajax PageMethods Vs XMLHTTP

Hi guys, i have a case where when the user closes the browser window i have to set an Application Object to null...and for this i will use the JavaScript onbeforeUnload to do the server side work... so i wanted to know which is better XMLHTTP or an ajax PageMethod...which is faster..?? i have used both and found that pagemethods requi...

Image uploader in ajax or Jquery

Hello I want to upload image with the help of ajax or jQuery without page refreshing. I have lot of images in my web page and when i will click any of them then it will show in image box. Please help me for this problem i get lot of solution for simple uploading code but i need this. ...

asp.net ajax asyn. postback problem

Hi There is a tab menu which was created by asp.net control. Now I'm changing this with a new tab menu I made with javascript. There is an event on third tab and when i click the tab it's posting back with asp.net ajax as asyn. but it takes me to the first tab after postingback every time but I don't want to change the tab after this. ...

How to prevent a IIS7 Rewrite rule from loading ASP.Net Ajax Client Framework?

I'm developing a webapplication where users will have a custom url just like in Twitter (twitter.com/holiveira). I've created a redirection rule that points to a page where I use the string after the domain name to search in the database. The problem is that this rule is preventing the Scriptresourse.axd files used by Asp.Net Ajax Clien...

Asp.Net MVC Ajax and loading aspects of the page (View)

I've got a nice MVC app running now, and I'm adding some AJax functionality. I have a table which displays 10 items, only certain users can see certain items. When the user adds a new post I've set-up the ajax to save the new entry. However I then need to update the table, I cant find out from JQuery what status the user is (And hence ...