Hi Experts,
I have a situation where i have a grid inside update panel. In template field of my grid i have a modal popup extender control.PopcontrolID for this extender is a panel which is having a usercontrol. Till here everything is fine, when i am running the app, popup extender is opening in grid's column (height and width is as grid column i.e. not as i intended)with having updatepanel,when i removed the updatepanel, popup extender working fine.In my form i have lot of tabs. without update panel when i select other tabs it is posting back which i dont want.Is there any way i can stop the postback. i am placing the peice of code here.
Thanks in advance
<asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
<asp:GridView ID="GV_PCR" runat="server" class="GridView" cellpadding="0"
AllowPaging ="True" AllowSorting ="True"
PageSize="<%$ appSettings:Gridpagesize %>"
AutoGenerateColumns="False"
Width="100%" onrowcreated="GV_PCR_RowCreated"
onsorting="GV_PCR_Sorting" OnSelectedIndexChanged="GV_PCR_SelectedIndexChanged"
onpageindexchanging="GV_PCR_PageIndexChanging" OnRowEditing="GV_PCR_RowEditing" OnRowCommand="GV_PCR_RowCommand">
<Columns>
<asp:TemplateField HeaderText="Actions">
<ItemTemplate>
<asp:LinkButton ID="lnk_Invoice" runat="server" CommandName="EditPCR" Text="Authorized/Unauthorized"></asp:LinkButton>
<asp:ModalPopupExtender ID="ModalPopupPCR" runat="server"
TargetControlID="lnk_Invoice"
PopupControlID="pnlPopup"
BackgroundCssClass="modalBackground"
DynamicServicePath="">
</asp:ModalPopupExtender>
<asp:Panel ID="pnlPopup" runat="server" style="display: none">
<ucnew:uc2 ID="Ucl_Autherized" runat="server" />
</asp:Panel>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<HeaderStyle CssClass="GridViewHeader" />
<RowStyle CssClass="GridViewRow td" />
</asp:GridView>
</ContentTemplate>
</UpdatePanel>