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
25
Image in WebPanel Header
posted

I have a page that outlines some legal information that a user has to digitally sign.  The page is broken into 3 sections.  I am using WebPanels to encapsulate each section.  I would like to put a check mark in the header of the WebPanel once the user has signed the section so that if the panel is collapsed the user can see that they have already signed that section without having to expand it.  I tried the background image but that fills the whole background with checks.  I only want one check mark.  I tried to put html <img> tags in WebPanels' Header section but I get an error saying that the <img> tag is not accepted.  Is there a way to put an image in the header section of a WebPanel?

Parents
No Data
Reply
  • 2636
    Verified Answer
    posted

    I don't think this is the best way to do it but I just do the following:

    <igmisc:WebPanel Width="200" Height="200" BackColor="Gainsboro" ID="WebPanel1" runat="server">

    <Header Text="<div style='float:left;'><img src='http://www.visualstudiotutorials.com/im/ic/ga.png' /></div><div style='float:left;'>My Header</div><div style='clear:both;'></div>"></Header>

    </igmisc:WebPanel>

    but keep in mind my aspx pages are being built from a database and compiled on the fly so I tend to do things a little differently.
    and granted you don't need the divs in there I do that for position etc.

Children