Articles (2403) - Page 161

Articles posted by registered members of DotNetFunda.com. You can also post an article and win monthly prizes as well as gain community credit points.

2403 records found.
 
Deysomnath
Resizable GridView Column 
Last updated on: 12 Jul 2007 02:45:48 AM by Deysomnath | Views: 28344 | Category: ASP.NET |
This article will help us to implement resizable gridview column There's four important points to remember about it all. 1.Based on how the code is written, the Grid that has resizable columns must be contained in some other element (in these examples I use a DIV) and that element must have a style set of "position: absolute;". You need this to size the black vertical bar that attaches to the mouse correctly when performing an actual resize. 2.Based on how the code is written, you can only perform resize operations on table header cells (TH tags). This simply feels like the right way to do it - you could make it TD tags instead, and be able resize the column for the entire height of the table if you wanted to. 3.The actual table must have a style set of "table-layout: fixed;" If you don't set this style, strange things happen (try it and see, it goes all loopy when you resize . 4.To save having to remember to put too many requirements in the implementation, the black ve ...
Animesh
Avoiding dropdown appearing over div 
Last updated on: 05 Jul 2007 10:57:23 PM by Animesh | Views: 5823 | Category: ASP.NET |
Hi all i am sure many of us has faced problem of dropdown comming above the div here is a small solution for this May be you can try this it really works.....
Animesh
Value based sorting on key value collection 
Last updated on: 27 Jun 2007 01:33:39 AM by Animesh | Views: 9216 | Category: ASP.NET |
Votes: 1 | Rating: 5 out of 5
Guys has anybody faced problems with the Key, value pair collections not sorting the collections based on values . As all the collections sort themself on keys . As i needed a collection of Key,Value pairs which does sorting on values rather than key, For that reason i have created my own collection class which dose sorting on the values. And this is working perfectly for me .