All ASP.NET

How to remove rows from GridView using jQuery

With continuation with my Grid View series posts, Formatting ASP.NET GridView using jQuery Highlight row on mouseover in GridView using jQuery In this post, I will show you how to remove any row in grid view using jQuery. The task is pretty simple. One need to bind the click event with every tr which has […]
Read the rest of this entry »

Highlight row on mouseover in GridView using jQuery

In my previous post, I have posted about "Formatting ASP.NET GridView using jQuery". In this post, I will show you that how to highlight a gridview row on mouseover. See below image. (the image is not showing the mouse cursor, but the cursor is on 3rd row.) All we need to do is that on […]
Read the rest of this entry »

Formatting ASP.NET GridView using jQuery

In this post, we will see how easily we can assign alternate background color of ASP.NET Grid Views rows using jQuery. In this example, we will assign grey color to all the odd rows of GridViews. When I say Odd, that means Rows which are having odd numbers like Row1, Row3, Row5 etc. Related Post: […]
Read the rest of this entry »

jQuery to Retrieve Server’s current date and time with ASP.NET

In this post, we will see how to retrieve server's current date and time without using ajax. It's very simple and one line of ASP.NET code can help you to retrieve the server's current date & time. For demo, I have placed a textbox and will fetch the Server's date and time and display it […]
Read the rest of this entry »

Useful jQuery code examples for ASP.NET Controls

Earlier I had posted about Using jQuery with ASP.NET and in this post, you will find list of some useful jQuery code example for ASP.NET controls that we use on daily basis. One thing, while creating object of any ASP.NET control, always use ClientID. As when Master pages are used then the ID of the […]
Read the rest of this entry »

Get ASP.NET Dropdown selected value and text using jQuery

In this post, I will show you how can you get the selected value and selected text of ASP.NET Dropdown using jQuery. Let's first declare the dropdown list and a button. <asp:DropDownList ID="ddlLanguage" runat="server"> <asp:ListItem Text="Select" Value="0"></asp:ListItem> <asp:ListItem Text="C#" Value="1"></asp:ListItem> <asp:ListItem Text="VB.NET" Value="2"></asp:ListItem> <asp:ListItem Text="Java" Value="3"></asp:ListItem> <asp:ListItem Text="PHP" Value="4"></asp:ListItem> </asp:DropDownList> <asp:Button ID="btnGetValue" runat="server" Text="Get DropDown […]
Read the rest of this entry »

Responsive Menu
Add more content here...