Welcome to MSDN Blogs Sign in | Join | Help

Rahul Soni's blog

Never assume the obvious is true!

News



  • These postings are provided "AS IS" with no warranties, and confers no rights.

February 2006 - Posts

DataFormatString of GridView control is not working and the columns don't get formatted
Recently, I found an issue with the Gridview control. I was adding some formatted columns and no matter how much I tried it wouldn't show up as expected. Similar code seems to work fine in Datagrid of VS 2003. One of the columns which I had was supposed Read More...
Dynamic GridView Series - 2.Formatting Columns dynamically
Requirement 2 ============= Give the Datagrid a decent User Interface with Appropriate Headers and Formatted Columns created dynamically. Let's create a new ASP.NET Web site. Add the following lines just after your <configuration> tag in the web.config. Read More...
Dynamic GridView Series - 1.Simple Gridview Binding at runtime
Requirement 1 =========== We need to bind the data dynamically to the GridView of ASP.NET 2.0 Let's create a new ASP.NET Web site. Add the following lines just after your <configuration> tag in the web.config. I will be working with the "pubs" database Read More...
Dynamic Datagrid Series - 4.Multiselect Datagrid behaving like most other Mail Service's Datagrid
Requirement 4 ============= This is the 4th requirement of the Dynamic Datagrid Series at my blog. For previous Requirements, click here . Till now, we have a datagrid which is dynamically created with nicely formatted columns and rows which changes color Read More...
GridView:Access GridView's Row Items information from the Button Click Event in ASP.NET 2.0
Requirement 1 ============= You have a GridView in ASP.NET 2.0 and you want to read the row whenever the Button of that row is clicked. Additionaly, you want to pass the key information to a different page, where you are supposed to show the details. Read More...
Understanding RSS
You, as webmasters, want your portal visitors back... again and again, whenever you have anything new at your website. Right? The requirement is simple! To achieve it though, is not that simple ;o) How good would it be, if there was some way that you Read More...
Dynamic Datagrid Series - 3.Highlighting Datagrid Rows when the mouse hovers over any row
Requirement 3 ============= We have a formatted datagrid which is dynamically added on your page. Without doing much coding, we want to provide the functionality in such a way that whenever the mouse hovers over any row the color should change. Also, Read More...
Color Chart code which enumerates all the names of the .NET &quot;Color Structure&quot;
It often becomes difficult to remember the color names in .NET. Now, if you have a datagrid or any other control and looking for appropriate colors, this code will help you to create a small page which will show you all the colors in one page, along with Read More...
Suppress caching of certain MIME types like GIF, JPG etc
I had an interesting problem sometime back which I would like to share. We had a page which did some data processing and created a graph (in GIF format) based on that page's information. The GIF file got overwritten (new graph got generated due to the Read More...
Page view tracker