setting the height

11 posts, 0 answers
  1. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 18 Jan 2010 Link to this post

    hi i have a problem on in setting the height and width of my splitter

    i want to set the width and height always at max size of the size of the browser.. i mean always at 100%
    but as what i have it always shows only 50% of screen height.. here is my code

    <%@ Master Language="vb" AutoEventWireup="false" CodeBehind="Main.Master.vb" Inherits="WebBIODemo.Main" %> 
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
     
    <!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 runat="server"
        <title>WebBIO Demo</title> 
        <link rel="shortcut icon" href="_img/logoSito.ico" /> 
        <link href="../_styles/main.css" type="text/css" rel="stylesheet" /> 
    </head> 
     
    <body> 
        <form id="form2" runat="server" method="post"
        <div style="width:100%;height:800px"
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
            </telerik:RadScriptManager> 
            <telerik:RadSplitter ID="splitterMain" runat="server" Orientation="Horizontal" Width="100%" Height="100%"
                <telerik:RadPane ID="paneTitle" runat="server" Width="100%" Height="74px" BackColor="#438BCA" Locked="true" Scrolling="None"
                        <table width="100%" cellspacing="0" cellpadding="0"
                            <tr> 
                                <td class="titleCell"
                                    <asp:Label Text="WEBBIO - PORTALE ICEA" runat="server"  CssClass="titleLabel" ID="lblTitolo"></asp:Label> 
                                </td> 
                            </tr> 
                        </table> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="splitTitle" runat="server" CollapseMode="None" Visible="false" /> 
                 
                <telerik:RadPane runat="server" ID="paneContent" > 
                    <telerik:RadSplitter runat="server" ID="splitterContent"
                        <telerik:RadPane ID="paneMenu" runat="server" Width="230px" Scrolling="Y"
                            <telerik:RadPanelBar ID="panelMenu" runat="server" PersistStateInCookie="true" Height="100%" Width="225px"
                                    <Items> 
                                        <telerik:RadPanelItem runat="server" Text="Anagrafiche" Value="aaa700b5-012e-413f-9c75-7619f2aca42c"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Soggetti" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Dichiaranti" NavigateUrl="DichiarantiRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Rappresentanti Legali" NavigateUrl="RappresentantiLegaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="CentriAziendali" NavigateUrl="CentriAziendaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Tecnici" NavigateUrl="TecniciRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Convenzioni" NavigateUrl="ConvenzioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Altri Soggetti" NavigateUrl="AnagraficheRicerca.aspx?Da=ASo"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                 
                                                <telerik:RadPanelItem runat="server" Text="Produzione" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Specie Vegetali" NavigateUrl="SpecieVegetaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Varietà Vegetali" NavigateUrl="VarietaSpecieVegetaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Aggregazioni Specie Vegetali" NavigateUrl="AggregazioniSpecieVegetaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Orientamenti Produttivi" NavigateUrl="OrientamentoProduttivoRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/>                                                     
                                                    </Items> 
                                                </telerik:RadPanelItem> 
     
                                                <telerik:RadPanelItem runat="server" Text="Trasformazione/Altri Schemi" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Comparti Produttivi" NavigateUrl="CompartiProduttiviRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Nature Operazioni" NavigateUrl="NatureOperazioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Prodotti Trasformati" NavigateUrl="ProdottiTrasformatiRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Prodotti Chimici" NavigateUrl="ProdottiChimiciRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
     
                                                <telerik:RadPanelItem runat="server" Text="Zootecnia" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Specie Bestiame" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Razze Bestiame" NavigateUrl="RazzeBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Sotto Razze Bestiame" NavigateUrl="SottoRazzeBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Analisi" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="?" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Amministrazione" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="?" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Sanzioni" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="?" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Localizzazioni" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Nazioni" NavigateUrl="NazioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Regioni" NavigateUrl="RegioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Province" NavigateUrl="ProvinceRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Comuni" NavigateUrl="ComuniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Uffici Territoriali" NavigateUrl="UfficiTerritorialiRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Varie" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Modulistica" NavigateUrl="ModulisticaRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                 
                                            </Items> 
                                        </telerik:RadPanelItem> 
                                         
                                        <telerik:RadPanelItem runat="server" Text="Messaggistica/Scadenziario" NavigateUrl="ScadenziarioElenco.aspx" Value="d00af494-a694-4833-92f9-5822645da6f1"
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="Operatività" Value="d00af494-a694-4833-92f9-5822645da6f1"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Primi Contatti" NavigateUrl="" Value="4b8fd513-aba5-4fae-8a8e-f58c42b17cd3"/> 
                                                <telerik:RadPanelItem runat="server" Text="Ricezione Documenti" NavigateUrl="RicezioneDoc.aspx" Value="4b8fd513-aba5-4fae-8a8e-f58c42b17cd3"/> 
                                                <telerik:RadPanelItem runat="server" Text="Invio Documenti" NavigateUrl="" Value="4b8fd513-aba5-4fae-8a8e-f58c42b17cd3"/> 
                                            </Items> 
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="Ruoli Di Certificazione"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="834"
                                                <Items> 
                                                    <telerik:RadPanelItem runat="server" Text="Notifica" Navigateurl="CambiaPwd.aspx?form=pwd"/> 
                                                    <telerik:RadPanelItem runat="server" Text="Programmi Annuali" NavigateUrl="~/Login.aspx?logout=1"/> 
                                                </Items> 
                                                 
                                              </telerik:RadPanelItem> 
                                             </Items> 
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="Mio Profilo"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Cambia password" Navigateurl="CambiaPwd.aspx?form=pwd"/> 
                                                <telerik:RadPanelItem runat="server" Text="Esci" NavigateUrl="~/Login.aspx?logout=1"/> 
                                            </Items> 
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="MultiLingue"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Gestione Esc"
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Menu" NavigateUrl="ElencoESCMenu.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Pagine" NavigateUrl="ElencoESCPagine.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Campi" NavigateUrl="ElencoESCCampi.aspx" /> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Gestione Utente"
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Menu" NavigateUrl="ElencoUTEMenu.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Lingue" NavigateUrl="ElencoUTELingue.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Pagine" NavigateUrl="ElencoUTEPagine.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Campi" NavigateUrl="ElencoUTECampi.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Errori" NavigateUrl="ElencoUTEErrori.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="ProcessiTestataLingua" NavigateUrl="ElencoProcessiTestataLingua.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="ProcessiDettaglioLingua" NavigateUrl="ElencoProcessiDettaglioLingua.aspx" /> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                            </Items> 
                                        </telerik:RadPanelItem>      
                                        <telerik:RadPanelItem runat="server" Text="Gestione Ruoli e Utenti"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Ruoli" NavigateUrl="ElencoRuoli.aspx" /> 
                                                <telerik:RadPanelItem runat="server" Text="Utenti" NavigateUrl="ElencoUtenti.aspx" /> 
                                                <telerik:RadPanelItem runat="server" Text="Utenti Schemi" NavigateUrl="ElencoSchemi.aspx" /> 
                                                <telerik:RadPanelItem runat="server" Text="Utenti Uffici" NavigateUrl="ElencoUffici.aspx" /> 
                                            </Items> 
                                        </telerik:RadPanelItem>                                                              
                                    </Items>                         
                            </telerik:RadPanelBar> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" /> 
                        <telerik:RadPane ID="RadPane1" runat="server"
                            <asp:ContentPlaceHolder ID="cphMain" runat="server"></asp:ContentPlaceHolder> 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </div> 
        </form> 
    </body> 
     
    </html> 
     


  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 18 Jan 2010 Link to this post

    Hello Webster,

    I examined your code and I assume that your splitter is actually always 800px due to the used configuration and having a parent DIV element with such height. In order to make the spliter always occupy 100% of the page you should set such height to all its parent elements including the body, form and as shown in the demo  below:

    http://demos.telerik.com/aspnet-ajax/splitter/examples/resizewithwindow/defaultcs.aspx

    This being said, you will get the desired behavior by adding the following style to your page:

    <style type="text/css">   
      html, body, form   
      {   
        height: 100%;   
        margin: 0;   
        padding: 0;   
      }   
           
      </style>

    and also set 100% to the DIV:

    <div style="width:100%;height:100%">  
           <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
           </telerik:RadScriptManager>  
           <telerik:RadSplitter ID="splitterMain" runat="server" Orientation="Horizontal" Width="100%" Height="100%">  
               


    On a side note, I also suggest to set VisibleDuringInit=false for the splitter - this will hide the initial resizing of the splitter from the end user and you will get a better behavior.

    I hope that my explanations and suggestions are helpful  - let me know how it goes or in case you need further assistance.



    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 19 Jan 2010 Link to this post

    it doest really work.. here is my edited code and the embbed file code and ccs code

    main master code
    <%@ Master Language="vb" AutoEventWireup="false" CodeBehind="Main.Master.vb" Inherits="WebBIODemo.Main" %> 
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
     
    <!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 runat="server"
        <title>WebBIO Demo</title> 
        <link rel="shortcut icon" href="_img/logoSito.ico" /> 
        <link href="../_styles/main.css" type="text/css" rel="stylesheet" /> 
    </head> 
     
    <body scroll="no"
        <form id="form2" runat="server" method="post"
        <div style="width:100%;height:100%"
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
            </telerik:RadScriptManager> 
            <telerik:RadSplitter ID="splitterMain" runat="server" Orientation="Horizontal" Width="100%" Height="100%"
                <telerik:RadPane ID="paneTitle" runat="server" Width="100%" Height="74px" BackColor="#438BCA" Locked="true" Scrolling="None"
                        <table width="100%" cellspacing="0" cellpadding="0"
                            <tr> 
                                <td class="titleCell"
                                    <asp:Label Text="WEBBIO - PORTALE ICEA" runat="server"  CssClass="titleLabel" ID="lblTitolo"></asp:Label> 
                                </td> 
                            </tr> 
                        </table> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="splitTitle" runat="server" CollapseMode="None" Visible="false" /> 
                 
                <telerik:RadPane runat="server" ID="paneContent" Scrolling="none" MinWidth="500"
                    <telerik:RadSplitter runat="server" ID="splitterContent" LiveResize="true"
                        <telerik:RadPane ID="paneMenu" runat="server" Width="230" MinWidth="220" MaxWidth="400"
                            <telerik:RadPanelBar ID="panelMenu" runat="server" PersistStateInCookie="true" Height="100%" Width="225px"
                                    <Items> 
                                        <telerik:RadPanelItem runat="server" Text="Anagrafiche" Value="aaa700b5-012e-413f-9c75-7619f2aca42c"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Soggetti" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Dichiaranti" NavigateUrl="DichiarantiRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Rappresentanti Legali" NavigateUrl="RappresentantiLegaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="CentriAziendali" NavigateUrl="CentriAziendaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Tecnici" NavigateUrl="TecniciRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Convenzioni" NavigateUrl="ConvenzioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Altri Soggetti" NavigateUrl="AnagraficheRicerca.aspx?Da=ASo"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                 
                                                <telerik:RadPanelItem runat="server" Text="Produzione" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Specie Vegetali" NavigateUrl="SpecieVegetaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Varietà Vegetali" NavigateUrl="VarietaSpecieVegetaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Aggregazioni Specie Vegetali" NavigateUrl="AggregazioniSpecieVegetaliRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Orientamenti Produttivi" NavigateUrl="OrientamentoProduttivoRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/>                                                     
                                                    </Items> 
                                                </telerik:RadPanelItem> 
     
                                                <telerik:RadPanelItem runat="server" Text="Trasformazione/Altri Schemi" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Comparti Produttivi" NavigateUrl="CompartiProduttiviRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Nature Operazioni" NavigateUrl="NatureOperazioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Prodotti Trasformati" NavigateUrl="ProdottiTrasformatiRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Prodotti Chimici" NavigateUrl="ProdottiChimiciRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
     
                                                <telerik:RadPanelItem runat="server" Text="Zootecnia" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Specie Bestiame" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Razze Bestiame" NavigateUrl="RazzeBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Sotto Razze Bestiame" NavigateUrl="SottoRazzeBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Analisi" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="?" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Amministrazione" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="?" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Sanzioni" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="?" NavigateUrl="SpecieBestiameRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Localizzazioni" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Nazioni" NavigateUrl="NazioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Regioni" NavigateUrl="RegioniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Province" NavigateUrl="ProvinceRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Comuni" NavigateUrl="ComuniRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                        <telerik:RadPanelItem runat="server" Text="Uffici Territoriali" NavigateUrl="UfficiTerritorialiRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Varie" > 
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Modulistica" NavigateUrl="ModulisticaRicerca.aspx?Da=Main"  Value="3ececc88-e934-44de-a1d0-37c8c4edd6e2"/> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                 
                                            </Items> 
                                        </telerik:RadPanelItem> 
                                         
                                        <telerik:RadPanelItem runat="server" Text="Messaggistica/Scadenziario" NavigateUrl="ScadenziarioElenco.aspx" Value="d00af494-a694-4833-92f9-5822645da6f1"
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="Operatività" Value="d00af494-a694-4833-92f9-5822645da6f1"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Primi Contatti" NavigateUrl="" Value="4b8fd513-aba5-4fae-8a8e-f58c42b17cd3"/> 
                                                <telerik:RadPanelItem runat="server" Text="Ricezione Documenti" NavigateUrl="RicezioneDoc.aspx" Value="4b8fd513-aba5-4fae-8a8e-f58c42b17cd3"/> 
                                                <telerik:RadPanelItem runat="server" Text="Invio Documenti" NavigateUrl="" Value="4b8fd513-aba5-4fae-8a8e-f58c42b17cd3"/> 
                                            </Items> 
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="Ruoli Di Certificazione"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="834"
                                                <Items> 
                                                    <telerik:RadPanelItem runat="server" Text="Notifica" Navigateurl="CambiaPwd.aspx?form=pwd"/> 
                                                    <telerik:RadPanelItem runat="server" Text="Programmi Annuali" NavigateUrl="~/Login.aspx?logout=1"/> 
                                                </Items> 
                                                 
                                              </telerik:RadPanelItem> 
                                             </Items> 
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="Mio Profilo"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Cambia password" Navigateurl="CambiaPwd.aspx?form=pwd"/> 
                                                <telerik:RadPanelItem runat="server" Text="Esci" NavigateUrl="~/Login.aspx?logout=1"/> 
                                            </Items> 
                                        </telerik:RadPanelItem> 
                                        <telerik:RadPanelItem runat="server" Text="MultiLingue"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Gestione Esc"
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Menu" NavigateUrl="ElencoESCMenu.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Pagine" NavigateUrl="ElencoESCPagine.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Campi" NavigateUrl="ElencoESCCampi.aspx" /> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                                <telerik:RadPanelItem runat="server" Text="Gestione Utente"
                                                    <Items> 
                                                        <telerik:RadPanelItem runat="server" Text="Menu" NavigateUrl="ElencoUTEMenu.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Lingue" NavigateUrl="ElencoUTELingue.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Pagine" NavigateUrl="ElencoUTEPagine.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Campi" NavigateUrl="ElencoUTECampi.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="Errori" NavigateUrl="ElencoUTEErrori.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="ProcessiTestataLingua" NavigateUrl="ElencoProcessiTestataLingua.aspx" /> 
                                                        <telerik:RadPanelItem runat="server" Text="ProcessiDettaglioLingua" NavigateUrl="ElencoProcessiDettaglioLingua.aspx" /> 
                                                    </Items> 
                                                </telerik:RadPanelItem> 
                                            </Items> 
                                        </telerik:RadPanelItem>      
                                        <telerik:RadPanelItem runat="server" Text="Gestione Ruoli e Utenti"
                                            <Items> 
                                                <telerik:RadPanelItem runat="server" Text="Ruoli" NavigateUrl="ElencoRuoli.aspx" /> 
                                                <telerik:RadPanelItem runat="server" Text="Utenti" NavigateUrl="ElencoUtenti.aspx" /> 
                                                <telerik:RadPanelItem runat="server" Text="Utenti Schemi" NavigateUrl="ElencoSchemi.aspx" /> 
                                                <telerik:RadPanelItem runat="server" Text="Utenti Uffici" NavigateUrl="ElencoUffici.aspx" /> 
                                            </Items> 
                                        </telerik:RadPanelItem>                                                              
                                    </Items>                         
                            </telerik:RadPanelBar> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" /> 
                        <telerik:RadPane ID="RadPane1" runat="server"
                            <asp:ContentPlaceHolder ID="cphMain" runat="server"></asp:ContentPlaceHolder> 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </div> 
        </form> 
    </body> 
     
    </html> 
     


    embbed code
    <%@ Page Language="vb" MasterPageFile="~/Main.Master" AutoEventWireup="false" CodeBehind="SpecieVegetali.aspx.vb" Inherits="WebBIODemo.SpecieVegetali" %> 
     
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
     
     
    <asp:Content ID="conSpecieVegetali" ContentPlaceHolderID="cphMain" Runat="Server"
     <div style="height:100%">           
            <table width="90%" align="center" class="tbContorno" border="0"
                <tr> 
                    <th colspan="4"><asp:label ID="lblTitoloElenco" runat="server" Text="Anagrafica Specie Vegetali" /></th
                </tr> 
                <tr><td colspan="4">&nbsp;</td></tr
            </table> 
            <table width="90%" align="center" class="tbContorno" border="0"
                <tr><td colspan="4">&nbsp;</td></tr>               
                <tr>             
                    <td align="left"  width="10%"
                        <asp:Label runat="server" ID="lblCODICE" Text="Codice: " /> 
                    </td> 
                    <td align="left"
                        <telerik:RadTextBox ID="txtCODICE" runat="server" ToolTip="Codice" MaxLength="10" Width="100" /> 
                        <asp:Label ID="lblRFerrorMsg" runat="server" CssClass="ErrMsg" Text="" />                  
                    </td>                                 
                    <td align="left" width="10%"
                        <asp:Label runat="server" ID="lblDESCRIZIONE" Text="Descrizione: " /> 
                    </td> 
                    <td> 
                        <telerik:RadTextBox ID="txtDESCRIZIONE" runat="server" MaxLength="100" ToolTip="Descrizione" Width="300" /> 
                    </td>                                            
                </tr> 
                <tr>    
                    <td align="left" width="10%"
                        <asp:Label runat="server" ID="lblFAMIGLIABOTANICA" Text="Famiglia Botanica: " /> 
                    </td> 
                    <td> 
                        <telerik:RadTextBox ID="txtFAMIGLIABOTANICA" runat="server" MaxLength="2" ToolTip="Famiglia Botanica" Width="50" /> 
                    </td>                       
                    <td align="left"  width="10%"
                        <asp:Label runat="server" ID="lblNOMEBOTANICO" Text="Nome Botanico: " /> 
                    </td> 
                    <td align="left"
                        <telerik:RadTextBox ID="txtNOMEBOTANICO" runat="server" ToolTip="Nome Botanico" MaxLength="100" Width="300" /> 
                    </td>                                                                           
                </tr>   
                <tr>    
                    <td align="left" width="10%"
                        <asp:Label runat="server" ID="lblCODICEBIOL" Text="Codice Biol: " /> 
                    </td> 
                    <td> 
                        <telerik:RadTextBox ID="txtCODICEBIOL" runat="server" MaxLength="5" ToolTip="Codice Biol" Width="50" /> 
                    </td>                       
                    <td align="left"  width="10%"
                        <asp:Label runat="server" ID="lblANNOTAZIONI" Text="Annotazioni: " /> 
                    </td> 
                    <td align="left"
                        <telerik:RadTextBox ID="txtANNOTAZIONI" runat="server" ToolTip="Annotazioni" MaxLength="255" Width="300" /> 
                    </td>                                                                           
                </tr>            
            </table> 
            <br /> 
            <hr /> 
            <br /> 
            <table width="90%" align="center" class="tbContorno" border="0"
                <tr><td colspan="2"></td></tr
                <tr> 
                    <td width="50%"  align="center"
                        <asp:Button runat="server" Text="Conferma" ID="CmdSalva" OnClick="cmSave_Click" /> 
                    </td> 
                 
                    <td width="50%" align="center"
                        <asp:Button runat="server" Text="Annulla" ID="cmdAnnulla" OnClick="cmdAnnulla_Click" /> 
                    </td> 
                </tr> 
                <tr><td>&nbsp;</td></tr>                
                <tr> 
                    <td colspan="2"><asp:Label runat="server" ID="lblErrorMsg" Text="" CssClass="ErrMsg"></asp:Label></td
                </tr>         
                 
            </table>         
             
        </div>   
                <input type="hidden" id="lblHelpPagina" runat="server"/> 
        </asp:Content> 


    css
    html,  form      
        height: 100%; 
        margin: 0px; 
        padding: 0px; 
        overflow: hidden; 
    }  
    BODY 
        FONT-SIZE: 11px; 
        padding:0px; 
        MARGIN: 0px; 
        COLOR: #333; 
        FONT-FAMILY: Arial, Helvetica, Verdana, sans-serif; 
        BACKGROUND-COLOR: #fff; 
     
    .titleCell 
        font-weight: bolder; 
        font-size: 12pt; 
        background-color: transparent; 
        padding-left: 10px; 
        text-align: center; 
        border-bottom: none; 
        border-top: none; 
        padding-top: 20px; 
     
    .subTitleCell 
        padding-left: 20px; 
        text-align: left; 
        border-bottom: #cc0000 3px double; 
     
    .titleLabel 
        font-weight: bolder; 
        font-size: 18pt; 
        text-align: center; 
        color: #FFFFFF; 
     
    .subTitleLabel 
        font-weight: bold; 
        font-size: 12pt; 
     
    .gridTitleCell 
        padding-right: 0px; 
        padding-left: 0px; 
        padding-bottom: 0px; 
        margin: 0px; 
        border-top-style: none; 
        padding-top: 0px; 
        border-right-style: none; 
        border-left-style: none; 
        background-color: #FFFFFF; 
        border-bottom-style: none; 
     
    .ctrlLabel 
        font-weight: bolder; 
        font-size: 9pt; 
        font-family: Arial, Verdana, Tahoma, Sans-Serif; 
     
    .ctrlMessageLabel 
        font-weight: bolder; 
        font-size: 9pt; 
        font-family: Arial, Verdana, Tahoma, Sans-Serif; 
     
    .ctrlErrorMessageLabel 
        font-weight: bolder; 
        font-size: 9pt; 
        font-family: Arial, Verdana, Tahoma, Sans-Serif; 
        color: red; 
     
    .divScroll 
        overflow: auto; 
     
    .tbContorno TABLE 
        font-size: 14px; 
        vertical-align: baseline; 
        color: #002C82; 
        letter-spacing: normal; 
        line-height: normal; 
        border: solid 2px #002C82; 
        background-color: transparent; 
        padding: 5px 5px 5px 5px; 
        margin: 2px 2px 2px 2px; 
    .tbContorno td 
        vertical-align: baseline; 
        color: #002C82; 
        padding: 5px 5px 5px 5px; 
        margin: 2px 2px 2px 2px; 
     
    .tbContorno TH 
        font-size: 18px; 
        vertical-align: baseline; 
        color: #002C82; 
        background-color: #ffffff; 
         
    .ErrMsg  
        color:Red; 

  5. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 19 Jan 2010 Link to this post

    here is the screen shot too
  6. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 22 Jan 2010 Link to this post

    Hi Webster,

    In order to get the desired result you should set 100% height to the body as well, e.g as shown below:

    html,  form, body       
    {  
        height: 100%;  
        margin: 0px;  
        padding: 0px;  
        overflow: hidden;  
    }   

    I also suggest to set VisibleDuringInit="false" for the splitter in order to hide the initial resize of the splitter and to get a better result.

    Regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 22 Jan 2010 Link to this post

    where shud i put this (VisibleDuringInit="false") exactly?


  8. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 26 Jan 2010 Link to this post

    Hello Webster Velasco,

    The VisibleDuringInit property is a server property which belongs to the splitter and can be set in its markup declaration as shown below:

    <telerik:RadSplitter ID="splitterMain" runat="server" Orientation="Horizontal" Width="100%" Height="100%" VisibleDuringInit="false">  
               <telerik:RadPane ID="paneTitle" runat="server" Width="100%" Height="74px" BackColor="#438BCA" Locked="true" Scrolling="None">  
                       <table width="100%" cellspacing="0" cellpadding="0">  
                           <tr>  


    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  9. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 27 Jan 2010 Link to this post

    i did what u said but didnt change the result here is the screen shot
  10. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 29 Jan 2010 Link to this post

    Hello Webster,

    Your screenshot shows that there is a parent element of the splitter which does not have explicit height set. Can you please provide a live url that I can examine? Once I receive it, I will find the problematic parent and help you fix the issue.


    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  11. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 04 Feb 2010 Link to this post

    here the link:
    http://10.95.10.101:8080/

    user: whebz
    password: webster

    btw atm i set it with 800px fixed sized..
  12. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 05 Feb 2010 Link to this post

    Hi Webster Velasco,

    I am afraid that the link you have posted is not the correct one or there is some problem with the site - please examine the attached screenshot which I see when I open the page.

    Please, fix the problem and send me an actual live url and I will do my best to help.

    Sincerely yours,
    Svetlina
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017