Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
webdialogwindow content not displaying correctly (C#)
posted

Normal 0 false false false EN-ZA X-NONE X-NONE MicrosoftInternetExplorer4

I add the webdialogwindow

 

<ig:WebDialogWindow ID="wdwData" runat="server" Height="300px" Width="600px"

    BackColor="White"  InitialLocation="Centered"

    onload="wdwData_Load" WindowState="Hidden"  >   

    <ContentPane  runat="server" EnableRelativeLayout="true">   

    <Template>   

               <div style='position:relative;height:100%;width:100%;'>

          <asp:Button ID="btnClose" runat="server" onclick="btnClose_Click" Text="Close" /> 

               <br />

   <asp:Table ID="tblView" runat="server" ></asp:Table>

    </Template>

    </ContentPane> 

</ig:WebDialogWindow>

 

When I display it with data in the table it only displays in the middle of the page

 

 

If I resize the webdialogwindow it expands but still has the white areas on the side

 

 

 

I would like to stretch the content over the whole page, fill the blank area on the sides and I have tried to resize and use EnableRelativeLayout  but nothing is working .

 

My question being how do I use the whole area of the form and not only the centre area? If anything is unclear about my request please let me know