Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6378037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:57:09+00:00 2026-05-25T01:57:09+00:00

I am using a Datalist using SqlDatasource on a usercontrol. Below is the html

  • 0

I am using a Datalist using SqlDatasource on a usercontrol. Below is the html

<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">
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
                                        <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                        <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <ItemTemplate>
                                            <table>
                                                <tr>
                                                    <td style="padding-left: 5px; text-align: left; vertical-align: middle; font-size: 11px">
                                                        <asp:Image ID="imgList" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/images/company.jpg" />
                                                        <asp:HyperLink ID="hlCategory" ForeColor="#005aa3" Font-Underline="false" runat="server"
                                                            NavigateUrl='<%# ResolveUrl(string.Format("~/BusinessBazaarAspx/CompDetls.aspx?cid={0}&name={1}",Common.EncodeTo64(Eval("Id").ToString()),Common.EncodeTo64(Eval("Name").ToString()) )) %>'
                                                            Text=' <%#Eval("Name") %>' Target="_blank"> </asp:HyperLink>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </asp:DataList>

                            <asp:SqlDataSource ID="FCDatasource" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:BusinessBazaarConnectionString %>" 
                                SelectCommand="SELECT [CompanyId], [CompanyName] FROM [tbl_Company] ORDER BY [CompanyName]">
                            </asp:SqlDataSource>

I am not using any serverside code. Whenever I use to run it the parent page becomes entire white. Why????

Update

Final result i am getting, I have lots of user controls and databinding there. No thing rendering. Seems entire page viewstate is going false.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

Please help me

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:57:09+00:00Added an answer on May 25, 2026 at 1:57 am

    Try to put at least Response.Write("Test"); in the Page_Load on the server side code, do you see this in the browser?

    could it be that you are returning no records from the database?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my .aspx page I have my DataList: <asp:DataList ID=DataList1 runat=server DataKeyField=ProductSID DataSourceID=SqlDataSource1 onitemcreated=DataList1_ItemCreated
Does anyone know how to set the RepeatColumns property of an ASP.Net Datalist using
I am using an ASP.NET/C# DataList . <asp:DataList ID=EquipmentList RepeatColumns=5..... I have the following
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
In my asp.net I am using Datalist in that I want to limit row
Using DataList, it's not possible to collect data into a <textarea></textarea> HTML tag. Because
I am using a databound DataList in ASP.NET C# to create a tag cloud.
Using ASP.NET MVC there are situations (such as form submission) that may require a
I'm using Asp.net and have just started to look for a tab solution and
I am using DataList control to show three products per line horizontally. But there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.