Hello everyone,
Could you add to Ext.net examples a sample of using Viewport and Master page?
It would be nice if it were presented the same way you did basic examples.
In case you already have it, could you post a link?
Thank you.
Printable View
Hello everyone,
Could you add to Ext.net examples a sample of using Viewport and Master page?
It would be nice if it were presented the same way you did basic examples.
In case you already have it, could you post a link?
Thank you.
Hi @rbtceo,
Sorry, I didn't quite understand the idea. Could you, please, clarify what you would like to see in that example?
Here is a very basic example.
Master Page
Content PageCode:<%@ Master Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Content>
<asp:ContentPlaceHolder ID="Row1" runat="server" />
<asp:ContentPlaceHolder ID="Row2" runat="server" />
</Content>
</ext:Viewport>
</form>
</body>
</html>
Code:<%@ Page Language="C#" MasterPageFile="~/Site1.master" %>
<asp:Content ContentPlaceHolderID="Row1" runat="server">
<ext:Panel runat="server" Title="Panel 1" Flex="1" />
</asp:Content>
<asp:Content ContentPlaceHolderID="Row2" runat="server">
<ext:Panel runat="server" Title="Panel 2" Flex="2" />
</asp:Content>
Thank you for the example.
The idea was to add an example with a master page to https://examples2.ext.net/#/Viewport/
The thread can be marked as solved for now.
Ok, thank you for the suggestion.