Note that there are some explanatory texts on larger screens.

plurals
  1. POWhite Page Bug with ASP.Net and Datasource
    primarykey
    data
    text
    <p>I am using a Datalist using SqlDatasource on a usercontrol. Below is the html</p> <pre><code>&lt;asp:DataList ID="dlFeaturedCatalogs" runat="server" RepeatColumns="2" Width="100%" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" ShowFooter="False" CellPadding="4" ForeColor="#333333" DataSourceID="FCDatasource" DataKeyField="Id"&gt; &lt;FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt; &lt;AlternatingItemStyle BackColor="White" ForeColor="#284775" /&gt; &lt;ItemStyle BackColor="#F7F6F3" ForeColor="#333333" /&gt; &lt;SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&gt; &lt;HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt; &lt;ItemTemplate&gt; &lt;table&gt; &lt;tr&gt; &lt;td style="padding-left: 5px; text-align: left; vertical-align: middle; font-size: 11px"&gt; &lt;asp:Image ID="imgList" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/images/company.jpg" /&gt; &lt;asp:HyperLink ID="hlCategory" ForeColor="#005aa3" Font-Underline="false" runat="server" NavigateUrl='&lt;%# ResolveUrl(string.Format("~/BusinessBazaarAspx/CompDetls.aspx?cid={0}&amp;name={1}",Common.EncodeTo64(Eval("Id").ToString()),Common.EncodeTo64(Eval("Name").ToString()) )) %&gt;' Text=' &lt;%#Eval("Name") %&gt;' Target="_blank"&gt; &lt;/asp:HyperLink&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/ItemTemplate&gt; &lt;/asp:DataList&gt; &lt;asp:SqlDataSource ID="FCDatasource" runat="server" ConnectionString="&lt;%$ ConnectionStrings:BusinessBazaarConnectionString %&gt;" SelectCommand="SELECT [CompanyId], [CompanyName] FROM [tbl_Company] ORDER BY [CompanyName]"&gt; &lt;/asp:SqlDataSource&gt; </code></pre> <p>I am not using any serverside code. Whenever I use to run it the parent page becomes entire white. Why????</p> <p><strong>Update</strong></p> <p>Final result i am getting, I have lots of user controls and databinding there. No thing rendering. Seems entire page viewstate is going false.</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt; &lt;HTML&gt;&lt;HEAD&gt; &lt;META content="text/html; charset=windows-1252" http-equiv=Content-Type&gt;&lt;/HEAD&gt; &lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt; </code></pre> <p>Please help me</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload