2 literals - one not loading

Discussion in 'ASP.NET / ASP.NET Core' started by loedu, Mar 22, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. <!--StartFragment -->Iam reading an XML file using the MSXML2 object. It is pulling data from the XML file that is used to populate two separate literals (the code-behind file is populating the aspx page through the page load sub). For some reason, the one literal is being populated while the other isn't. I copied the project over through the Visual Studio.Net copy project wizard (as it says to do on the DiscountASP support site).


    This same code is working on my local machine but not on the discountasp.net site. Could it be a permissions problem?

    Here is the code for the two literals in the .aspx page:

    <div id="playerWindow" style="visibility: visible; position: absolute; left:
    200px; width: 500px; height: 400 px; top: 0px;">
    <asp:Literal ID="ltrplayerWindow" Text="" Visible="True" Runat="server" />
    </div>
    <div id="navigationWindow" style="visibility: visible; position: absolute;
    left: 0px; width: 200px; height: 400 px; top: 0px;">
    <asp:Literal ID="ltrNavigation" Text="" Visible="True" Runat="server" />
    </div>



    In the code-behind file, basically, I am opening up an XML file using the MSXML2
    object, then looping through to gather information. Then, the two literals are
    handled with this code:


    ltrNavigation.Text = navigationString
    ltrplayerWindow.Text = "<iframe id='scoPlayerWindow' name='scoPlayerWindow'
    src='" &amp; strWMVURL &amp; "' width='100%'></iframe>"


    Thanks in advance,


    Ted
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    ted,

    i suggest you make a simple test page to just pull the data from the xml file and just print it out using response.write.

    with this you can isolate the problem to smaller pieces.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page