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
615
Web splitter
posted

I like to know...whether the following code is correct

 

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register Assembly="Infragistics35.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">


<body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>


<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
</div>

<igweb:WebSplitter id="WebSplitter1" runat="server" height="600px" Orientation="Vertical"
  Width="800px">
 <panes>
  <igweb:SplitterPane runat="server" ContentUrl="http://es.infragistics.com">

   <asp:WebPartZone ID="WebPartZone1" runat="server">
        <ZoneTemplate>
          <asp:Calendar ID="Calendar1" runat="server" style="width:100%; height:100%;"
            Height="265px" Width="402px"></asp:Calendar>
        </ZoneTemplate>
       </asp:WebPartZone>

  </igweb:SplitterPane>


  <igweb:SplitterPane runat="server">
   <asp:WebPartZone ID="WebPartZone2" runat="server">
        <ZoneTemplate>
          <asp:Label ID="Label1" runat="server" title="Content">
            <h2> Welcome to WebPart Zone 2</h2>
          </asp:Label>
        </ZoneTemplate>
   </asp:WebPartZone>

  </igweb:SplitterPane>
 </Panes>
</igweb:WebSplitter>

 

<br />
<br />
</form>
</body>
</html>

Parents
No Data
Reply
  • 7694
    posted

    Hello,

    I am not sure that code is correct. Missing <Temlate> tag   after <igweb:SplitterPane> tag  and then add your content.

    Please take a look at sample code below:

    <igweb:WebSplitter ID="WebSplitter1" runat="server" Height="600px" Orientation="Vertical"
                Width="800px">
                <Panes>
                    <igweb:SplitterPane runat="server" ContentUrl="http://es.infragistics.com">
                         <Template> 
                        //Content
                </Template>
                    </igweb:SplitterPane>
                    <igweb:SplitterPane runat="server">
                        <Template>              
                //Content
                </Template>
                    </igweb:SplitterPane>
                </Panes>
            </igweb:WebSplitter>


    Hope this helps.

Children
No Data