Categories
Archives
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- December 2009
- October 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Meta
Tag Archives: ASP.NET
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
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
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
TIP: File download using ASP.NET
The following is a method to send a file to browser using ASP.NET Dim fs As FileStreamDim strPath = "C:\DownloadableFilePath\"Dim strFileName As String = "Filename.pdf"fs = File.Open(strPath & strFileName, FileMode.Open)Dim bytBytes(fs.Length) As Bytefs.Read(bytBytes, 0, fs.Length)fs.Close()Response.AddHeader("Content-disposition", "attachment; filename=" & strFileName)Response.ContentType … Continue reading
TIP: Developing ASP.NET 2.0 applications simultaneously with both C# and VB.NET
If the code (say some classes) is written in C# and if the application is being developed in Visual Basic.NET, you can create a separate folder under the App_Code folder. The folder must be added as a code subdirectory in … Continue reading
Extending ASP.NET TextField User Control
Hello guys, I Added few more features to the already contributed ASP.NET TexField User Control. New version is here http://www.aspfree.com/c/a/MS-SQL-Server/Extending-the-ASPNET-TextField-User-Control/ First contribution is here http://www.aspfree.com/c/a/ASP.NET/Developing-a-Wonderful-ASPNET-TextField-Control/ Enjoy, Jag
TIP: Open a new browser window using ASP.NET button (server control)
New browser windows are generally opened using hyperlink with "target" attribute set to "_blank". Sometime, it may be necessary to process something at server and then open a new window (which cannot be accomplished using hyperlinks). To solve such … Continue reading
Enhancing the features of ASP.NET 2.0 TextBox control
Hello guys, I contributed a new article which focuses mainly on the following: Introduction to User controls in ASP.NET 2.0 Developing a composite user control Enhancing the existing ASP.NET 2.0 TextBox control with more flexible features. The article … Continue reading
Database Independent Development with ASP.NET 2.0: dealing with stored procedures
Hello, This is second in series focusing on Database Independent Development using ASP.NET 2.0. You can find it here http://www.aspfree.com/c/a/ASP.NET/Database-Independent-Development-using-ASPNET-20-Dealing-with-Stored-Procedures/ Your feedback on this is well appreciated. thanks Jag
Database independent development using ASP.NET 2.0
Hello, My new series on "Database Independent Development using ASP.NET 2.0" has just started. The first is here http://www.aspfree.com/c/a/ASP.NET/Database-Independent-Development-using-ASP-NET-2-0/ Your feedback is well appreciated. thanks Jag