Hi Facricio,
Sorry, I found the "ContentFromSection" method, but i am having no luck in implementing it...
The following is my layout page...
@Html.X().ResourceManager().CleanResourceUrl( true ).ShowWarningOnAjaxFailure( false ).AjaxTimeout( 130000 );
@(
X.Viewport ( )
.Layout ( Ext.Net.LayoutType.Border )
.ID ( "OutlookViewport" )
.ItemID ( "OutlookViewport" )
.Items
(
X.Panel ( )
.Region ( Ext.Net.Region.North )
.ItemID ( "NorthRegion" )
.Height ( 178 )
.Border ( false )
.ContentFromSection ( this , "NorthRegion" , false )
, X.Panel ( )
.Region ( Ext.Net.Region.West )
.ItemID ( "WestRegion" )
.Split ( true )
.Resizable ( false )
.Collapsible ( true )
.Collapsed ( false )
.Layout ( Ext.Net.LayoutType.Fit )
.ContentFromSection ( this , "WestRegion" , false )
, X.Panel ( )
.Region ( Ext.Net.Region.Center )
.ItemID ( "CenterRegion" )
.Split ( true )
.Header ( false )
.Layout ( Ext.Net.LayoutType.Fit )
.ContentFromSection ( this , "CenterRegion" , false )
, X.Panel ( )
.Region ( Ext.Net.Region.East )
.ItemID ( "EastRegion" )
.HideMode ( Ext.Net.HideMode.Display )
.Collapsible ( true )
.Split ( true )
.Layout ( Ext.Net.LayoutType.Fit )
.ContentFromSection ( this , "EastRegion" , false )
, X.Panel ( )
.Region ( Ext.Net.Region.South )
.ItemID ( "SouthRegion" )
.HideMode ( Ext.Net.HideMode.Display )
.Collapsible ( false )
.MaxHeight ( 20 )
.Split ( false )
.Layout ( Ext.Net.LayoutType.Fit )
.ContentFromSection ( this , "SouthRegion" , false )
)
)
The following is my derived page...
@section NorthRegion
{
@(
X.ComponentLoader()
.AutoLoad(true)
.Url(this.Url.Action ("NorthRegion" , "Home"))
.Mode ( Ext.Net.LoadMode.Component )
)
}
@section WestRegion
{
@(
X.ComponentLoader()
.AutoLoad(true)
.Url( this.Url.Action ("WestRegion", "Home"))
.Mode (Ext.Net.LoadMode.Component )
)
}
When i load the page, i get the following error...
The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(Sy stem.Web.WebPages.HelperResult)' has some invalid arguments
Thanks.