How to change GridView row color based on a column value using jQuery?

You want to change GridView row color based on column value using jQuery. In the below Gridview, rows whose Reorder Point value(3rd column) less than 400 are highlighted with lavender color. SideNote: I have used Production.Product table of AdventureWorks database(which comes with SQL Express 2012) for this example. Few Facts First: Before arriving at the logic for highlighting the gridview rows …

How to set the radio button selected value using jQuery in RadioButtonList?

You want to set the radio button selected value of RadioButtonList using jQuery. Before discussing on how to achieve the same, we would see some of the facts about RadioButtonList. In a typical usage of getting gender information from the user, you would use RadioButtonList like below in your aspx page. Above ASP.Net RadioButtonList Server control, would generate the following …

How to get/set the value of a session variable using javascript/jQuery?

You wanna set the session value using javascript/jQuery. Or you would like to get the session value in javascript/jQuery. There is a little problem here. Javascript, used for manipulation of web documents, works only at browser end – as it resides at client Side. But Session is a server side state management technique whose context is restricted to the server …

Calling ASP.Net Code Behind using jQuery AJAX – A Simple Complete Example

Ajax (Asynchronous Javascript And XML) is a technique of sending the request to the server and receiving the response from the server without reloading the entire page. Consider a scenario where you have many Fields in your Web Form and you want to populate Field2 based on Field1 value. It would be overkill if you do postback and get that …

3 Things Every ASP.Net Developers Should Know

There are several options to develop web applications in Microsoft ecosystem such as ASP.Net Web Forms, ASP.Net MVC, Single Page Applications. ASP.Net Web Forms is supported from the initial days of ASP.Net and even today enterprises build many of their web applications using Web Forms. The advantage of web forms is that enables you to build web applications rapidly. But …