Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Mark Schubert #1
Button in column header
I want to put a button in a column header. How do I handle the event when
the button is clicked?
Mark Schubert Guest
-
Opening a new window with a link button button column on a datagrid
Hi all, I have a datagrid with a button column set as a link button. When clicked I want it to open a new window in which to display the results... -
Column Header
I have a web form with a datagrid. The datagrid has 5 columns. In design mode each column has header text. I defined the header text, data source,... -
Image in header column (not replacing column header text)
I have a sortable (asc/desc) datagrid and would like to add a small arrow icon (down/up) next to the column header text to improve the UI. Is this... -
DataGrid Column Header
Hi All, The column header is getting an underline once the sort is enabled on that particular column. I want to have it in such a way that the... -
Template Column with button in header
Hi, usually Button clicks inside DataGrid are managed by handling ItemCommand event of the grid. Button is given a CommandName that is checked in... -
Alvin Bruney #2
Re: Button in column header
you can either hook the event up to a handler manually
button1.click += new function goes here
or you can set the button id, and handle the itemcommand event and filter
for this unique id.
if e.item.commandname == "unique button name"
do something
roughly
regards
--
-----------
Got TidBits?
Get it here: [url]www.networkip.net/tidbits[/url]
"Mark Schubert" <mark@schubert.com> wrote in message
news:uCnRJM6rDHA.3536@tk2msftngp13.phx.gbl...> I want to put a button in a column header. How do I handle the event when
> the button is clicked?
>
>
Alvin Bruney Guest



Reply With Quote

