Click here to Skip to main content
15,890,670 members
Everything / Ajax

Ajax

Ajax

Great Reads

by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
by Member 4206974
FormGen, a JavaScript Form Generator
by Evoluteur
A full jQuery UI widget which supports various configurations and themes
by Arthur V. Ratz
Use HTML/CSS/JavaScript/Ajax for creating a simple lightweight Windows Vista/7 sidebar desktop gadget

Latest Articles

by Member 4206974
FormGen, a JavaScript Form Generator
by Mehul M Thakkar
.NET library to call server side method or API from JavaScript
by Manoj Mohan 07
Use Django to visualize download stats of Python packages and gain insights into package popularity and usage trends
by The Ænema
In this article, you will learn an easy way to protect your critical code logic in electron-based applications using a C++ native library.

All Articles

Sort by Updated

Ajax 

19 Mar 2010 by #realJSOP
First, I suggest that you contact the 3rd part and ask them. Second, make your page do essentially nothing, and see what happens. If it's okay, start adding back stuff until it generates the exception again.
12 May 2010 by #realJSOP
We don't write people's code for them. Try Rent-A-Coder.
10 Jun 2010 by #realJSOP
Try putting a div in the cell like this: ...your content here No guarantees, but it's something to try.BTW, nesting tables like that is bad mojo. You shoud try to do at least one of the tables using CSS...
11 Jun 2010 by #realJSOP
I seem to remember trying to find the same info on this, and like you, found nothing. I don't think it can be done. You're going to have to come up with your own control if you want to make it configurable.
9 Dec 2010 by #realJSOP
Fromt eh aspect of both security AND performance, that's highly inadvisable. A web server should just be web server.
27 Dec 2010 by #realJSOP
You can't handle that exception in javascript. You have to use the code behind in the aspx page.
29 Dec 2010 by #realJSOP
Use goole to find some code that's already written, and then modify it to your own requirements. If, AFTER trying to make it work, you have problems with the code, come back and ask a SPECIFIC question about the part you're having a problem with.
7 Jan 2011 by #realJSOP
Does this article help?http://ajaxpatterns.org/archive/Timeout.php[^]
20 Jan 2011 by #realJSOP
I believe you have to clear the session cache on the site. Otherwise, sessions remain active until you actually shut down the browser instance that started that particular session (or maybe even all existing browser instances).
14 May 2011 by #realJSOP
Why was this thread resurrected? It's two years old.
22 Aug 2011 by #realJSOP
What you need to do is change the web page that you're browsing to. If you can't do that, you can stop reading now. If you CAN, try this:Add code like this to your page:Sys.Application.add_load(function() { anotherFunctionCall(); }); Combine the functionality of that method with a...
29 Aug 2011 by #realJSOP
You need to use a ComboBox instead of a TextBox. Further, you don't want to necessarily change the contents of the combobox. You merely want to change the selection based on the currently typed text. Changing the binding every time a character is typed is going to cause too much overhead.
7 Sep 2011 by #realJSOP
I googled the error message, and this may be the cause (but we can't know for sure because you didn't post all of the code for the page in question:http://aspnetresources.com/blog/code_blocks_inside_master_pages_cause_trouble[^]If that's not it, here's over 38 thousand results returned...
12 Mar 2018 by #realJSOP
Simply comment out the columns you don't want to display. Yes, it really is that easy.
13 Mar 2019 by #realJSOP
Looks to me like it might be a response code, and they're customizing messages for it.
4 Apr 2019 by #realJSOP
(The way I'd do it) Instead of having two buttons, use a checkbox to indicate whether the user does or does not have the role, and have a single submit button.
25 Jun 2019 by #realJSOP
I think you want innerHtml instead of html.
25 Jul 2011 by 'Anil' Radhakrishna
A mash-up of sorts built using Microsoft's jQuery Template plugin along with G Birke's jQuery Pagination plugin & a photo-stream from Flickr acting as a data source
3 May 2013 by 'Anil' Radhakrishna
An app to manage personal book collection
29 Dec 2014 by 'Anil' Radhakrishna
SPA to track food expiry dates shows how to implement CRUD functionality through Azure Mobile Services HTTP OData/REST calls, without writing any server-side code
7 Feb 2015 by 'Anil' Radhakrishna
Show off your book collection using a AngularJS script & Google Spreadsheet as your back-end
31 Jan 2009 by -- Abhi --
An article on how to utilize session variables
7 Nov 2012 by -Dr_X-
At first glance, try changing the parameter name.public string[] GetEmpID(string contextKey)
7 Nov 2012 by -Dr_X-
You have one of the following scenarios:1. The panel's ChildrenAsTrigger enabled 2. AutoPostBack on the dropdown box set to true3. You have the DropDown as one of the triggers of the update panel (still may require #2)
17 Jul 2014 by -Dr_X-
Add this code within the UpdatePanel tags.
17 Jul 2014 by -Dr_X-
The context argument is basically the webpage.I'm not sure if this is the best way to do up loads. The FileUpLoad control handles this for you. If you're doing downloads, that would be a bit different as I use a handler for those.Do you have the tags in the web.config? ...
5 Jan 2017 by .NET- India
Hi,I'm developing a web application. As i drag or use a ModalPopup Control in .aspx file then i'm getting an error in Designer.cs file as given below.Error:- The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace (are you missing an assembly...
19 Oct 2014 by /\jmot
I have Done Few Changes To Your Code..Try This.. function GetDateTime(json1) { $.ajax ({ type: "POST", ...
31 Jan 2012 by 07navneet
Page looks like this and also I have pasted the required AjaxControlToolkit.dll file into bin folder but still ajax not working!!!
12 Jan 2022 by 0x01AA
I would guess the problem is the account under which the web service runs. See this... Quote: The credentials under which the Web server's process (or thread) is running must map to a valid SQL Server login in order to establish a connection. ...
16 Nov 2015 by 12045649
Hello friends, i am using HtmlEditorExtender ajax control .Here the problem i want toolbar at the bottom of the text box..Could it can be done..?
17 Nov 2015 by 12045649
Hello Friends, I want to change position of the toolbar in htmleditorcontrol ..It is my requirement. Not only ajax control...Any control Just I want textbox and Bold,Italics,Underline, bottom of the textbox.Can any one customize the ajax control Htmleditorcontrol ..i wanted code...
8 Aug 2011 by 12laxmi34
when i am clicking radio button i am getting the below error Sys.WebForms.PageRequestManagerServerErrorException : An uknown error occurred while processing the request on the server. The status code returned from the server was: 500.'
24 Mar 2008 by 1anurag
How To Make Anthem Ajax Work With Url ReWriting
5 May 2015 by 1Future
Hi All,I am just getting into the world of MVC/javascript/Ajax. I have done a lot of tutorial searches on these tools/techs.As usual , some give a good explanation and other tutorials don't .. what i am looking for is a REST application tutorial that you may have come across , an...
3 Nov 2015 by 1Future
Hi All,I need to get the selected value from a dropdown using jquery. Then i want to send this selected value to an Action Result Method in my controller possibly using Ajax call . As i am pretty new at this i'm not so sure on how i would achieve this.so i have got an Action Method like...
19 Oct 2011 by 2011999
Dear All experts,Ajax Control Toolkit not working in at the time of Web Application Design what we need.thank u for Your valuable replay.after drag the control run the application i got this error message.Error 4 Assembly 'AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral,...
19 Oct 2011 by 2011999
Dear all Experts,At the time of web application design is vertically how to take the column wise like below.above is verticallywe need the i need three column wise design in one web formThanks you for your valuable replay.
10 Nov 2014 by 2011999
[HttpPost] public ActionResult Save(tblUserInfo userinfo) { string message = ""; if(ModelState.IsValid) { try { using(AjaxInsertDBEntities aid=new AjaxInsertDBEntities()) { ...
25 Oct 2013 by 256
hi i am using updatepanel in my webform because i dont want my page is refresh any single change, but it not workingplease hepl mecode is
24 Jan 2008 by 3sL
Getting that 1 record out of 1000000+ records with these convenient controls.
5 Feb 2010 by 4277480
do you mean something like this Daniweb[^]---------Answer 2:Lock ASP.NET Page and Show Animated Image While Waiting for a Long Post-Back[^]Follow the code in this project
6 Feb 2010 by 4277480
http://weblogs.asp.net/johnkatsiotis/archive/2009/11/14/make-your-site-run-only-in-one-browser-window-single-instance.aspx[^]
18 Feb 2010 by 4277480
I found the videos from asp.net[^] to be useful.
11 Jan 2017 by 7045Jeegnesh
Everything works fine, except when the CheckBoxList has many elements (thousands of items) and I click on the and i checked the other div's checkbox then the following error occurs: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on...
24 Aug 2013 by 7045Jeegnesh
IT's Just IE9 Big BUG. I just unchecked all the record before make any trigger.now it's working fine.
22 Nov 2011 by :)9/11
if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69)else { fatness++; }if (fatCountingUp > 300kg); (setBiggestLoserShow = true);else { (setBiggestLoserShow = MEGAtrue); }if (codDisc = broken); (YouDumpGirlfriend);else { ...
14 Sep 2010 by @nuraGGupta@
I am using update panel in my code. The scenario is like i am populating one dropdownbox on the SelectedIndexChange of other. My aim was that page must not show having a postback during that event. That I achieved, but the design of page changes weirdly. The controls which are within the update...
11 Oct 2010 by @nuraGGupta@
I had a ajax enabled website uploaded at a server, which was working fine in regards of ajax functionalities. But last week, the hosting people made some changes in the server and now the ajax basic functionalities are not working over there. I need to know that which version of ajax must be...
22 Feb 2011 by @nuraGGupta@
You would need to make some changes in the IIS itself for hosting web services.This[^] or This[^] might help you. Or, search google for hosting webservices on IIS.Anurag
30 Jun 2012 by _Amy
Hi,Here is a grate article on grouping header:Group GridView Data[^] http://www.csharpaspnetarticles.com/2008/11/merging-gridview-headers-to-have.htmlhttp://redsouljaz.wordpress.com/2009/06/12/create-multiple-row-group-header-in-gridview-asp-net/Follow the above link..You'll find...
4 Jul 2012 by _Amy
Hi,Create a rate mapping table with article and user. When user rates any article, store the article code and userid in that table with description.Now on the page load event of the article page check for that table whether the user has voted or not. If yes then disable the Ajax Rating...
27 Jul 2012 by _Amy
You can do this by making use of a function called ScrollToCaret. You need to first set the caret position to the end of the text box, then you can scroll to it. Here's how to do it: //move the caret to the end of the text textBox.SelectionStart = textBox.TextLength; ...
30 Jul 2012 by _Amy
Hi,Take a temp link and set the TargetControlID of the model popup extender as that temp link. make sure that it cannot visible to user. Now use your link button. The linkbutton will work now. Only thing you need to do is set model-popup visible to the user using code behind....
1 Aug 2012 by _Amy
Keep your HiddenField inside appropriate update panel. This problem is caused generally, because using update panel you are updating only a particular area not entire page. If your HiddenField is coming under that area the value of HiddenField will be updated, otherwise it will not be...
3 Aug 2012 by _Amy
I'll suggest you to use UpdatePanel. Easy and reliable.Refer the links...
3 Aug 2012 by _Amy
Hi,It's not possible to update a control of master page without posting back your page.Put your label in your MasterPage in a separate UpdatePanel.From your Handler call a function on MasterPage(i.e. ChangeText) that changes the Text of the Label and calls Update on the MasterPage's...
4 Aug 2012 by _Amy
Try this:ModalPopupExtender ModalPopupExtender1 = new ModalPopupExtender();ModalPopupExtender1.TargetControlID = Hyperlink1.ClientID; // Here you can set directly ID also.//Now show your Model Popup.ModalPopupExtender1.Show();--Amit
7 Aug 2012 by _Amy
Hi,Refer the links below:http://www.aspdotnet-suresh.com/2011/05/ajax-autocompleteextender-sample.html[^]JQuery + ASP.NET auto complete without web service[^]View this link[^] for similar discussion.--Amit
11 Aug 2012 by _Amy
Hi,Same as we are using for others we can use the ModelPopupExtender for gridview rows. Only the thing you need to take care is, keep your extender inside ItemTemplate of gridview.Refer the links:ASP.NET AJAX Control Toolkit ModalPopupExtender Control in Action[^]Modal Popup Extender...
29 Aug 2012 by _Amy
Hi,Quote:Sty...
17 Sep 2012 by _Amy
Hi,RadScript...
21 Oct 2012 by _Amy
Why you want only div? It could be anything, but the matter is, 'It should look like modal popup'. Refer the links below:Simple jQuery Modal Window Tutorial [^]Jquery Modal Popup Dialog[^]14 jQuery Modal Dialog Boxes[^]7+ jQuery Modal Popup Window Plugins With Tutorials, Demo and...
7 Jan 2013 by _Amy
Try returning false from your javascript function. Use Like this:funciton fnValidate(){ var txt = document.getElementById('TextBox1'); if(txt.value == "") { return false; }}Alternate Way:You can try using RequiredFiedValidator control of asp.net in the...
29 Jan 2013 by _Amy
Default Message Box is not going to help you. You need to go for a custom popup / modal popup extender[^] / JQuery Dialog[^] for it. Refer the links below for similar articles.ASP.NET Popup Control[^]Similar Threads:Pop-up with custom message and set the options[^]--Amit
29 Jan 2013 by _Amy
I can't see what you've written and what you missed for that. Only you can debug that and check for the errors. Since you are new to Asp.net, I would like to suggest you to read some good books and articles. Refer the link below for the article:The UpdateProgress Control of ASP.NET AJAX...
4 Feb 2013 by _Amy
I think you need to readSimple JSON Handler for ASP.NET 2.0 to Implement AJAX Functionality[^]Hope it helps.--Amit
14 Feb 2013 by _Amy
You need to take a place holder in your update panel. Try this:HTML: Code Behind(C#) -- PreInIt Event:int count = upRequirement.ContentTemplateContainer.Controls.Count;foreach(Requirement req in Req){ Panel pnlReq = new...
18 Feb 2013 by _Amy
Here is a nice article for Extended GridView Control[^].And check Context menu in asp.net GridView Control[^].This could help you.--Amit
18 Feb 2013 by _Amy
Try this:function disableNumUpDown(){ $find("myNumUpDown").get_element().disabled = true; // Disable TextBox}orvar myNumUpDown = $find(""); myNumUpDown.disable(); --Amit
28 Feb 2013 by _Amy
A little add ons in Solution 2.Refer the links below:ASP.NET AJAX Control Toolkit[^]http://ajaxcontroltoolkit.codeplex.com/[^]http://www.asp.net/ajaxlibrary/act.ashx[^]And a very nice article:AJAX for Beginners (Part 1) - Understanding ASP.NET AJAX Server Controls[^]AJAX for...
3 Mar 2013 by _Amy
Did you tried separating ValidationGroup of the controls in each Accordion Pane?Try giving saparate validation group for the controls of each pane and set CausesValidation false in next and previous button property.--Amit
5 Mar 2013 by _Amy
On click of button2 fire a javasctipt event and set the visibility of progress image to false.Try this:function hideshow(){ document.getElementById('ProgressImage').style.display="none"}--Amit
29 Mar 2013 by _Amy
This question makes no difference. Create a event hander for checkbox and set AutoPostBack property of checkbox to true in your TreeView(Checkbox should be there in your ItemTemplate of TreeView).Try this:HTML
2 Apr 2013 by _Amy
O yes. You can do it in any of the Page(Including Masters also) as you used to do it in content page. You'll have to write the same code snippet in your master page cs file. See AjaxFileUpload Demonstration[^] and do the same in your master page.--Amit
4 Apr 2013 by _Amy
Put the label in UpdatePanel and update the panel whenever you need.Try this:HTML: CS:Label lnklike = (Label)GridViewUserScraps.Rows[index].FindControl("Label1");lnklike.Text= likes.ToString();UpdatePanel UpdatePanel1=...
9 Apr 2013 by _Amy
You need to set MaintainScrollPositionOnPostback to true Property in @page directive.E.g.:--Amit
12 Apr 2013 by _Amy
I am unable to see your cs code. Definitely the problem is from your cs code. Refer the links below for step by step solution for the question:Loading data in GridView while scrolling down in ASP.Net using jQuery AJAX[^]Rendering GridView Rows when scrolling down using AJAX[^]Rendering...
18 Apr 2013 by _Amy
Since there is no code in your question and you are facing some ugly problems try posting your question in the one of the discussion forum here[^].--Amit
18 Apr 2013 by _Amy
First you need to add the reference of AjaxControlToolkit dll[^]. Follow the steps to add the reference :Right Click on Project in Solution Explorer.Click on Add Reference in cascading menu.Click on Browse tabLocate your dll.Click on OK.Now register the assembly:
23 Apr 2013 by _Amy
Try this:You'll have to modify your loop also.. Style will not work in alert box. Try this:for (int i = 0; i
20 May 2013 by _Amy
Try using this code instead of $(document).ready(YourFunctionName);Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(YourFunctionName)Check this[^].
4 Jun 2013 by _Amy
If you ask me, I'll choose ModalPopupExtender[^], because we can easily customize it according to the need.--Amit
25 Jul 2013 by _Amy
Yes, for every postback modalpopup will disappear. You need to show it from back-end. In your case you should show the popup if login is not successful. Try this:if(loginSuccessfull){ //Write your code here to go to home page.}else{ //Show the modal popup extender ...
5 Aug 2014 by _Amy
You should try using ToolkitScriptManager instead of ScriptManager.--Amy
24 Feb 2011 by _Ashish
As far i understood you want to make a Ajax Timer which periodically run and Update a Section of the page based on the response received.This is very well done through setInterval(func-name, interval-span);.your code seems same what you want. check the following lines. //...
15 Mar 2011 by _Ashish
In most of the case UpdatePanel is a good choice, it is easy to use and saves your lot of partial-page rendering script generation time.yet there are alternate ways.1. You may implement the ICallbackEventHandlerpublic partial class CallBack_DB_aspx : System.Web.UI.Page,...
21 Jul 2014 by _Asif_
Article will demonstrate how to develop generalize framework for creating Outlook style Auto Refresh Count of Menu Items
5 Sep 2014 by _Asif_
404 - means not found. HTTP 404[^]. You should check the URL you are invoking, I suspecting the URL contains port number. Please correct your URL and try again
13 Jul 2015 by _Asif_
You can find a good discussion over the key tops below- Why do ASP.NET AJAX page methods have to be static?[^]- ASP.NET MVC controllers static methods[^]
6 Aug 2012 by _DanV_
How to dynamically add controls on a hierarchical structure on MVC.
28 Apr 2013 by _debasis
Please check the return value in server side that it is in json format or not and also usedataType: "json" in client side.I think the server side data may not have proper json format.Then you can try json_encode in the sever side make a json string.
13 Jul 2015 by _Dhull
In Asp.net when we make ajax call we make method as static.[WebMethod]public static string GetMessage(){ return "Dummy Message";}but in MVC we do not need to make Action static?WHY SO? are action by default static?
26 Mar 2014 by _jarvis
Krunal,Try this : var result = data.GetEmployeeJSONResult;var id = result.Id;var name = result.Name;var salary = result.Salary;Or if you want to directly alert try this : alert(data.GetEmployeeJSONResult.Id);You need to understand how JSON works. Comparing the JSON data...
22 Nov 2012 by _Natula
Let say we received the given date from text box:- private void button1_Click(object sender, EventArgs e){DateTime GivenDate = Convert.ToDateTime(textBox1.Text);int GivenYear = GivenDate.Year;for(int i=0; i
8 Apr 2013 by _ProgProg_
Hey guys,i've a problem in my codei want to access 2 textboxes in a static web method?How Can i do this?Any ideas?
28 Jul 2013 by _ProgProg_
Hey Guys,My Application contains sending mails from users and to usersi 've a page called Inbox through which the user can show his received messagesi want the user to be notified when he has a new message so i will change the page Name from Inbox to Inbox(1) so the user knows that...