I have been using Ajax on my MVC Asp.net applications, and it work very well and reduced the overload on the server, so my question is what are the major differences between Ajax and JQuery ?
Because each time i read about a functionality to implement using Ajax it is mentioned that i can do it using Jquery ? so what are the major areas of differences and what is better to use in Asp.net MVC applications?
In asp.net ajax we have controls Like,Tabcontainer,TextBox Watermark,Toggle Button,Password Strength etc..., and same Functionality/Controls also there in Jquery.. and Jquery does this in client side itself and what's the use of having the control in Ajax Control ToolKit(Server Control).. and what is main Difference?I think Jquery more efffective than Ajax Control
On my master page (for all pages in my site) I have a ToolkitScriptManager.
On my content page, there are a series of hyperlinks and divs for collapsible functionality.
The code to show/hide the panels work like the following:
[code]....
If I include a ScriptReference to the jQuery 1.4.2 file in the toolkitscriptmanager, the javascript code is executed incorrectly on the page (only the text for the hyperlink is changed, the div is not actually shown.) However, if I don't include the jQuery file in the ToolkitScriptManager and instead include it in the content page, it works correctly.
difference between using asp.net validator controls vs JQuery for front end validation? What happens if the user turns off javascript on their browser?
I am running VS2010 with the latest AJAX toolkit installed.I dont know when I use Ajax controls if I am supposed to drop a ScriptManager or a ToolkitScriptManager on my .aspx page.
In updatepanel we can use triggers with two methods AsyncPostBackTrigger and PostBackTrigger so I want to know what is different between these two as well how can we decide we need to go for which one.
Difference between Label and literal control in Asp.net and also state when to use what???
I am completely confused as till nw i was going with label control and suddenly i am shock to see that literal control also plays similar role...
I am confused same say's that difference is only regarding to span tag i mean label control output comes with span tag... but who care's when we can do same things with label why to go with literal control
My web page has two ways of displaying a particular content. 1. When the page is loaded, the items ( images with anchor tag) are generated using ASP Repeater. 2. When user perform some Ajax action, the images are returned as JSON and I use jQuery for creating the a & img tags.In both these methods, the anchor tags with images are displayed with width 60px. There is no CSS class applied. But strangely the display is not consistent. Here is the both displays:I wonder why this difference occur. I check this with all browsers ( IE,FF& chrome) and all behave the same. Here is my jQuery code:
Any idea why this behaviour occurs? I also checked the css applied to these elements in chrome and FF.. they seems to have all the same CSS attributes.
i have two textboxes one is for start date and other for end date. if end date greater than start date then alert will raise? how i accomplish through with jquery?
If I use jQuery AJAX to call a specific ASP.NET page method how to have that method return a value back to the AJAX method that called it?
Update
My situation is I have an existing web application with many existing methods. I would like to be able to use jQuery to execute some of these methods and then update the UI with the results. My mandate is to stay away from ASP.NET AJAX and stick with jQuery. Management is concerned about continued development and support with ASP.NET AJAX from Microsoft. I agree with them.
I have the following code where the function codeaddress geocodes the text feild value and returns geocoded value , geocoded value is stored in variable example ,how will i return the variable v2 to the function call and post to asmx webservice.
I am developing web application and in application i need to make call of jQuery using .ajax(); method with datatype is set jsonp. Now all works well with limited data but problem start to occur when data size is increasing......
which returns <div>here</div><script language=javascript>alert('');</script> The content gets loaded property, but no alert. How would I get a javascript routine to work from an ajax call along with posting the HTML code?
I have a page that enables a person to post a message from a message box; when the person submits the message I use the httpRequest object to send that message data to a webservice where I store the message in my database, then the webservice method is sending back a table with a text field (html textarea right now) and some html buttons formatted in a table (all in a single string) back to the original page so that other users can comment on the post submitted by the original user (in this case the original poster would be commenting on his/her own original post; possibly more then once).When I send the Html back to the original page I can't seem to get those new HTML objects to connect with the Jquery formats/actions. I tried sending the Jquery back with the HTML as well with no luck.How do I get the new html objects to connect with the Jquery script?
I am using JQuery in my application. I am having a div in my page which will get fill with another page content on a button click.
The following is the code.
$("#dialog").load('Default.aspx?TicketID=15');
Now i am having a button in this Deafult.aspx page which will download an attahchment from the database.
If i write a server side event to download the page is getting postback and the content in the div has gone. So, i have used JQuery Ajax method to download the attachment. But i the attachment is not getting downloaded.