Hi All,
I am new to ASP.NET and I working on a existing ASP.NET project, I have to change a rounded Popup that is showing some information from database. I am able to show it perfectly well.
Now comes the hard part, when there are multiple records then rounded corners disrupts, when scroll down only then I can see Close button and when I do that I can't see the heading.
Here's is the CSS:
.header { margin-top:10px; text-align:center; } .content { margin-left:20px; } .footer { text-align:center; margin-bottom:10px; }
And this is the code I know its not neat so please also advise me in this regard as well.
<asp:Panel ID="PanelImportLog" ScrollBars="Auto" BackColor="White" runat="server" Style="display: none; width: 580px; max-height: 300px;"><div class="header"><h5> Import Log Report</h5></div><div class="content"><table width="90%"><tr><td><asp:GridView ID="grdLogReport" runat="Server" AutoGenerateColumns="false" Width="100%" ShowHeader="False" HorizontalAlign="Left"><Columns><asp:TemplateField ItemStyle-Width="5%"><ItemTemplate><asp:Image ID="imgSucess" runat="Server" Visible='<%# DataBinder.Eval(Container.DataItem, "SuccessVisible")%>' ImageUrl="~/Images/icon_check.gif" /><asp:Image ID="imgWarning" runat="Server" Visible='<%# DataBinder.Eval(Container.DataItem, "WarningVisible")%>' ImageUrl="~/Images/info.gif" /><asp:Image ID="imgFailure" runat="Server" Visible='<%# DataBinder.Eval(Container.DataItem, "FailureVisible")%>' ImageUrl="~/Images/icon_error1.gif" /></ItemTemplate></asp:TemplateField><asp:TemplateField ItemStyle-Width="15%"><ItemTemplate><asp:Label ID="lblLogin" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Email")%>'></asp:Label></ItemTemplate></asp:TemplateField><asp:TemplateField ItemStyle-Width="80%"><ItemTemplate><asp:Label ID="lblDetails" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Details")%>'></asp:Label></ItemTemplate></asp:TemplateField></Columns><FooterStyle CssClass="GridFooter" /><RowStyle CssClass="GridRow" /><EditRowStyle CssClass="GridEditRow" /><SelectedRowStyle CssClass="GridSelectedRow" /><PagerStyle CssClass="GridPager" /><HeaderStyle CssClass="GridHeader" /></asp:GridView></td></tr></table></div ><div class="footer"><asp:Button Text="Close" CssClass="btn" ID="btnOK" runat="Server" /></div></asp:Panel><ajaxToolkit:RoundedCornersExtender ID="Panel1_RoundedCornersExtender" runat="server" Enabled="True" TargetControlID="PanelImportLog" Radius="15" Corners="All" /><ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender3" runat="server" TargetControlID="lnkLogReport" PopupControlID="PanelImportLog" BackgroundCssClass="modalBackground" DropShadow="false" CancelControlID="btnOK" />
Thanks in advance,
Attiqe