Hi all,
I have a radgrid that has a GridTemplateColumn and inside it there is ItemTemplate which has ModalPopupExtender and LinkButton so when I click on the button I would see detail values for that row just like this:
Now I want to get the value of PersonID from the DataKey Names so I can run a query with that ID and get more details to display in the popupextender.
Thank you for all your help
Shehab
I have a radgrid that has a GridTemplateColumn and inside it there is ItemTemplate which has ModalPopupExtender and LinkButton so when I click on the button I would see detail values for that row just like this:
| <MasterTableView DataKeyNames="PersonID"> |
| <Columns> |
| <radG:GridTemplateColumn UniqueName="TemplateColumn"> |
| <ItemTemplate> |
| <asp:LinkButton ID="link1" runat="server" CausesValidation="false" Text='<%#Eval("PersonID")%>' |
| CommandName="SelectButton" ></asp:LinkButton> |
| <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BackgroundCssClass="modalBackground" |
| TargetControlID="link1" PopupControlID="Panel1" OkControlID="btnOK" > |
| </cc1:ModalPopupExtender> |
| </ItemTemplate> |
| </radG:GridTemplateColumn> |
| <radG:GridBoundColumn DataField="PersonID" Display="False" HeaderText="PersonID" |
| ReadOnly="True" UniqueName="PersonID"> |
| </radG:GridBoundColumn> |
| </MasterTableView> |
Thank you for all your help
Shehab