Usercontorl in a placeholder

Discussion in 'ASP .Net Building Controls' started by Pradeep, Nov 2, 2005.

  1. Pradeep

    Pradeep Guest

    Hi,
    I am having this wierd issue. I have a usercontrol in a aspx page.
    Basically this user control has some labels and thats it. It has a printer
    friendly link and when we click on it a pop up window open with the text the
    user control. Everything works good except for in hte labels, where I have
    long text. When looked in teh aspx page, i see <br /> at quite some places
    and somehow all of them magically disappear when on this printer friendly
    page.

    this is what I am doing....

    PrintMessagePlaceHolder.Controls.Add(
    LoadControl(GetUrl(Constants.PRINT_MESSAGE_GENERAL)));

    Please let me know.

    Thanks
    Pradeep
     
    Pradeep, Nov 2, 2005
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.