[FIXED] [2.0 RC2] Server error on the Table Layout example

  1. #1

    [FIXED] [2.0 RC2] Server error on the Table Layout example

    There is a problem with the Table Layout example
    https://examples2.ext.net/#/Layout/T..._in_CodeBehind

    I get server error page


    Compilation Error
    
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
    
    Compiler Error Message: CS1061: 'Ext.Net.Panel' does not contain a definition for 'PreventHeader' and no extension method 'PreventHeader' accepting a first argument of type 'Ext.Net.Panel' could be found (are you missing a using directive or an assembly reference?)
    
    Source Error:
    
    Line 20: 
    Line 21:         Ext.Net.Panel panel3 = new Ext.Net.Panel();
    > Line 22:         panel3.PreventHeader = true;
    Line 23:         panel3.BodyStyle = "padding:15px;";
    Line 24:         panel3.Height = 105;
    
    Source File: c:\HostingSpaces\gmcgill\examples.ext.net\wwwroot\Examples\Layout\TableLayout\Simple_in_CodeBehind\Default.aspx    Line: 22
    Last edited by Daniil; Jun 22, 2012 at 1:07 PM. Reason: Please use [CODE] tags, [FIXED] [2.0 RC2]
  2. #2
    Hi,

    Thanks for the report. Fixed.

    The Panel header is not rendered by default if there is no Title.

    But in some cases a developer might need to prevent a header from appearing even if there is Title. Then please set up
    Header="false"

Similar Threads

  1. Replies: 2
    Last Post: Oct 24, 2011, 3:43 PM
  2. [CLOSED] Table Layout, 100% width Table
    By sisa in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 20, 2011, 6:40 AM
  3. Table Layout Problem with IE Compatibility
    By tugrul in forum 1.x Help
    Replies: 2
    Last Post: May 02, 2011, 7:16 AM
  4. [CLOSED] [1.0] Portal with Layout="Table"
    By betamax in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 16, 2010, 4:02 PM
  5. [CLOSED] Table layout width in %
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 22, 2009, 3:14 PM

Tags for this Thread

Posting Permissions