Monthly Archives: June 2007

TIP: Highlighting ASP.NET 2.0 GridView rows on mouseover (using CSS)

In my example, the GridView definition looks something like the following: <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"DataSourceID="odsrcEmp"><Columns>…</Columns><AlternatingRowStyle BackColor="#FFC0C0" /></asp:GridView> I added the StyleSheet at the top as following: <head runat="server"><title>Untitled Page</title><style type = "text/css">tr.row:hover, tr.over td { background-color: #ffccff; }</style> </head> … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment

TIP: Placing “Search” message in ASP.NET textbox using JavaScript

Hello,   I would like to have an ASP.NET textbox with a message "Search" in it.  If it receives focus, "Search" should be erased.  If the focus is lost, "Search" should be back.  If the user types anything other than … Continue reading

Posted in ASP.NET | Tagged , | 4 Comments

Part 1:Programming Crystal Reports with ASP.NET 2.0

Hello, My new article focusing on "Programming Crystal Reports With ASP.NET 2.0" got published here: http://www.aspfree.com/c/a/ASP.NET/Programming-Crystal-Reports-with-ASP-NET-2-0/ Enjoy. Thanks Jag

Posted in ASP.NET | Tagged , | 6 Comments