Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Sorting link disappear when put control in the header

Reply
Thread Tools

Sorting link disappear when put control in the header

 
 
Laszlo Csabi
Guest
Posts: n/a
 
      04-22-2004
HI guys,

I have a datagrid with 5 coloums. What I want to achive is put a button or a
checkbox into each header of the coloums and when fires an event then hide
that coloumn, also want to make those coumns sortable. As soon as I put a
control in the header I lost my sorting option.

Has anybody met with this scenario?
If any of you know any solution , please let me know.

Thanks a lot.

Laszlo


 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      04-22-2004
this should be working for you. controls must be added to the header column.
Obviously, if you hide the header, there will be no sorting functionality
available. Are you removing controls before adding them? you can google this
group for "sorting and webdings" to find out how to do it. It's been covered
in here in sufficient detail.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Laszlo Csabi" <> wrote in message
news:...
> HI guys,
>
> I have a datagrid with 5 coloums. What I want to achive is put a button or
> a checkbox into each header of the coloums and when fires an event then
> hide that coloumn, also want to make those coumns sortable. As soon as I
> put a control in the header I lost my sorting option.
>
> Has anybody met with this scenario?
> If any of you know any solution , please let me know.
>
> Thanks a lot.
>
> Laszlo
>



 
Reply With Quote
 
 
 
 
Juliet Choy
Guest
Posts: n/a
 
      04-23-2004
I think this article might help you:
http://msdn.microsoft.com/asp.net/us...lesortable.asp

Regards,
Juliet Choy
Hong Kong
Microsoft MVP - ASP.NET

Laszlo Csabi wrote:

> HI guys,
>
> I have a datagrid with 5 coloums. What I want to achive is put a button or a
> checkbox into each header of the coloums and when fires an event then hide
> that coloumn, also want to make those coumns sortable. As soon as I put a
> control in the header I lost my sorting option.
>
> Has anybody met with this scenario?
> If any of you know any solution , please let me know.
>
> Thanks a lot.
>
> Laszlo
>
>

 
Reply With Quote
 
 
 
Reply

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
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
copy link to in put form box whit link Wouter Javascript 14 02-26-2007 04:36 PM
Outlook Express Messages Disappear, Bookmarks in Internet Explorer Disappear rchrdcarlisle@NOTyahoo.com Computer Support 19 07-30-2006 09:41 PM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57