Datagrid question...linkbutton in header

Results 1 to 2 of 2

Thread: Datagrid question...linkbutton in header

  1. #1
    Join Date
    Dec 1969

    Default Datagrid question...linkbutton in header

    I have two linkbuttons in the header of teh templatecolum<BR>I want to add some event when these links are clicked. <BR>When i click on the link the page posts back but i have no idea which event fires up.<BR>If i want to add some actions when i click the link buttons on the header i want to know which even do i need to write the actions into?<BR><BR>Any help would be greatly appreciated!

  2. #2
    Join Date
    Dec 1969

    Default RE: Maybe this will work?

    Have you tried giving each LinkButton a distinct CommandName. Then in the ItemCommand you can say If e.CommandName = "Whatever" Then do something?<BR><BR>David

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts