Click here to Skip to main content
15,920,801 members
Please Sign up or sign in to vote.
3.00/5 (3 votes)
See more:
Good After Noon to all,
i have one GridView and one Tabpanel which is given below.
  <asp:TabPanel ID="Panel1" HeaderText="Overviw" runat="server">
  

 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
           DataKeyNames="ItemID" DataSourceID="ItemGrid" AllowPaging="True">
    <columns>           
 <asp:BoundField DataField="ItemID" HeaderText="ItemID" ReadOnly="True"  SortExpression="ItemID" />
<asp:HyperLinkField  DataNavigateUrlFields="ItemID"  DataNavigateUrlFormatString="order.aspx?ItemID={0}" DataTextField="ItemDescription" HeaderText="ItemDescription" SortExpression="ItemDescription"  >  

 <asp:BoundField DataField="Remarks" HeaderText="Remarks" SortExpression="Remarks" /></columns>

i need when i Click the HyperlinkField then its pass the Corresponding Record ItemID to TabPanel (panel1) and tab panel open on clicking of HyperLinkField.

i am using PopopControlExtender But its TargetControlID Accept Only Control ID but in HyperlinkField Does not have ID so how i do this please help me .....
Posted
Updated 6-Apr-11 0:12am
v2
Comments
Toniyo Jackson 6-Apr-11 6:12am    
Pre tag added
Reason for my vote of 3
ijijij


jmnbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

1 solution

Eventhough an id available for the hyperlink field then what is the use of it. For each hyperlink you will be open the same popup and the popup controls will hold only one set of data. So open the same pop up again using different controls is equal to open it by one control.

If you want separate popup then you need to have the panel, popup extender, a hyperlink button all packed into a Item template. Goes little complex for further operations.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900