Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

modalpopupextender does not show all the controls

$
0
0

Hi all,

I have the following code on my aspx page.

<asp:Button ID="btnShowPopUp" runat="server" Style="display: none" /><ajaxToolkit:ModalPopupExtender ID="mdlPopup" runat="server" TargetControlID="btnShowPopup"
                    PopupControlID="pnlpopup" CancelControlID="btnClose" BackgroundCssClass="modalBackground"
                    Drag="true"></ajaxToolkit:ModalPopupExtender><asp:UpdatePanel ID="updateParent" runat="server"><ContentTemplate><asp:Panel ID="pnlpopup" runat="server" BackColor="White" Height="500px" Width="2000px" CssClass="popup"
                            Style="display: none"><div id="Div1" runat="server" style="max-height: 500px; overflow: auto;"><table><tr><td><asp:Button ID="btnClose" runat="server" Text="Close" /></td><td><asp:Button ID="btnExcel" runat="server" Text="Export To Excel" Width="108px"></asp:Button></td><td><asp:GridView ID="DataQAGrid1" runat="server" AutoGenerateColumns="false"><FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle><SelectedRowStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedRowStyle><AlternatingRowStyle BackColor="#DCDCDC"></AlternatingRowStyle><RowStyle ForeColor="Black" BackColor="#EEEEEE"></RowStyle><HeaderStyle Font-Bold="True" ForeColor="White" BackColor="LightBlue"></HeaderStyle><PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999"></PagerStyle><Columns><asp:TemplateField HeaderText="Edit"><ItemTemplate><asp:LinkButton ID="lnkEdit" Text="Edit" runat="server" CommandArgument='<%#Eval("key_id_no") %>'
                                                                CommandName="Edit"></asp:LinkButton></ItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="Delete"><ItemTemplate><asp:LinkButton ID="lnkDel" Text="Delete" CommandName="Delete" runat="server" CommandArgument='<%#Eval("key_id_no") %>'
                                                                OnClientClick="javascript:return confirm('Are you sure you want to delete this row?');"></asp:LinkButton></ItemTemplate></asp:TemplateField><asp:BoundField DataField="key_id_no" HeaderText="key_id_no" /><asp:BoundField DataField="Comments" HeaderText="Comments" /></Columns></asp:GridView></td></tr></table></div></asp:Panel></ContentTemplate></asp:UpdatePanel>

The modal pop up can scroll horizantally, somehow, I cannot see the buttons "Close" and "export to Excel" on my modal pop up.

any help will be greatly appreciated.

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>