[1.0] AutoResize panel when html property changes

  1. #1

    [1.0] AutoResize panel when html property changes

    Hi

    I have a small panel on top of my page for various descriptions
    Elements are "drawn" in markup not code behind (maybe I should change this?)

    Based on selection in a dropdown I get the description from a table and it's assigned to the html property of the panel and the show method is called
    Works ok during initial selection, but if the user select another supllier in the combo and the description need to wrap for more lines than the first selection the panel does not resize

    Hopefully the above makes sense :-)
    Otherwise I can reproduce a small sample tomorrow
  2. #2
    Hi,

    Please post a simplified .aspx code sample demonstrating how to reproduce this issue.
    Geoffrey McGill
    Founder
  3. #3
    Quote Originally Posted by geoffrey.mcgill View Post
    Please post a simplified .aspx code sample
    Hmm well obviously my sample works to absolute perfection :)
    I need to investigate if this is caused by the usage of a masterpage design - it'll have to wait until Sunday - bugger

    [EDIT] It's not the masterpage design

    I have two div tags to control the pagelayout which is styled as described
    If I remove the "background:#fff" from the content style everything works quite nice

    #box {
    width:930px;
    border:1px solidblack;
    background:#fff;
    padding:0000;
    margin: 0 auto;
    }
     
    #content {
    background:#fff;
    padding:1em;
    }
    <body>
    <ext:ResourceManager runat="server" ID="rscMain" Theme="Gray">
    </ext:ResourceManager>
    <div id="box">
    <img src="Images\topBar.jpg" alt="Topbar"width="930px"/>
    <div id="content">
    <asp:contentplaceholderid="Main" runat="server">
    </asp:contentplaceholder></div></div></body>
    rgds
    Last edited by plykkegaard; Sep 10, 2010 at 6:45 PM.

Similar Threads

  1. Replies: 2
    Last Post: Jul 25, 2012, 4:08 PM
  2. Replies: 2
    Last Post: Nov 03, 2011, 5:24 PM
  3. [CLOSED] Panel HTML property doesn't show JavaScript
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jan 20, 2011, 3:54 PM
  4. [CLOSED] how to set panel html property as javascript property
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Jan 05, 2011, 6:45 PM
  5. [CLOSED] HTMl editor Readonly property...
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 05, 2009, 4:41 AM

Posting Permissions