Ed
asked on
Set Tab Index on Gridviw Linkbutton Click
Hi
I have a gridview hyperlink field whci sets the ID in a quesrystring.
Rather than navigate to a new page I want it to stay on the same page but just display a different ajax tab.
TabContainer1.ActiveTab = TabContainer1.Tabs(5)
This code sets the querystring correctly.......
All I want to do is now display the different tab.
How can I access the Hyperlink1 click event programatically so I can set this everytime somone clicks on the hyperlink.
I have a gridview hyperlink field whci sets the ID in a quesrystring.
Rather than navigate to a new page I want it to stay on the same page but just display a different ajax tab.
TabContainer1.ActiveTab = TabContainer1.Tabs(5)
This code sets the querystring correctly.......
<asp:TemplateField>
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl='<%# Eval("UserID", "RegisteredUsers.aspx?id={0}") %>'
Text="More Details"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
All I want to do is now display the different tab.
How can I access the Hyperlink1 click event programatically so I can set this everytime somone clicks on the hyperlink.
TabContainer1.ActiveTab = TabContainer1.Tabs(5)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER