Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Dynamically add sort to appearing - disappearing columns of a grid

Thread Tools

Dynamically add sort to appearing - disappearing columns of a grid

Posts: n/a
I have columns in a Gridview control that will consistently be named the same
thing, although they may disappear and appear based on the dataset.

How can I create sorts for those columns when they appear?

I saw the mention of the 'OnCreateAutoGeneratedColumn event' and thought
that would be a good place to start but can't google any documentation other
than the reference to that post in the newsgroup.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort by two columns in grid Sehboo ASP .Net 1 09-02-2007 07:55 AM
SunMicro Monitor(GDM-5010PT) Good Focus except blue Color appearing/disappearing Computer Support 3 06-11-2006 02:21 PM
Appearing/Disappearing Toolbar turboart Computer Support 1 06-06-2006 09:38 PM
How to add columns to a grid dynamically at run time? Ahmet Gunes ASP .Net Web Controls 1 09-15-2003 03:57 PM
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. Navin ASP General 1 09-09-2003 07:16 AM