i have a modal popup extender, link button (tempalte field), fake button in grid view. the target control id for mpe is fake button, popup control is a panel having another grid to dispaly details of the main request. i am calling mpe show method in link button click event but its not showing up. please help as i coudld not find solution though researched. plese find my mark up an code.
Select operation in this grid
<asp:GridView ID="grdDULead" runat="server" AllowPaging="True" AllowSorting="True"
Caption="AMT Team Approval Details" CellPadding="3" CssClass="Grid"
Height="75px" Style="left: 122px;
position: absolute; top: 342px" Width="792px" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" DataKeyNames="Transition Request Number" OnRowCommand="grdDULead_RowCommand">
<FooterStyle BackColor="White" CssClass="GridFooter" />
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="grDULeadlnkSelect" runat="server" ForeColor="Red" OnClick="grDULeadlnkSelect_Click" CausesValidation="False" CommandName="SelectRow">select</asp:LinkButton>
<asp:Button ID="btnfake" runat="server" CausesValidation="False" ForeColor="Red" Text="Fake" Visible="False" />
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnfake" PopupControlID="pnlCDAMTClar" BackgroundCssClass="modalBackground">
</cc1:ModalPopupExtender>
</ItemTemplate>
</asp:TemplateField>
Popup control markup
Code-behind link button click (tempalte filed) protected void grDULeadlnkSelect_Click(object sender, EventArgs e) {
GridViewRow clickedRow = ((LinkButton)sender).NamingContainer as GridViewRow;
lblReqno.Text=clickedRow.Cells[1].Text.ToString();
ModalPopupExtender mpeTemp = ((ModalPopupExtender)(clickedRow.FindControl "ModalPopupExtender1")));
mpeTemp.Show();
}