Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
132 views
We are using raddocks reading content from database and displaying on webpages, such pages load 5X slower than a normal page.
The docks on your website load fast, Is this an issue with improper implmenting on our code ?

Here's our code. Please let us know how we can improve performance. Thanks, Shubod



DEFAULT.ASPX

<telerik:raddocklayout runat="server" id="RadDockLayout25">
  <telerik:raddockzone runat="server" id="RadDockZone251" FitDocks="true" width="90%" MinHeight="200px" BackColor="Transparent" BorderWidth="1px" BorderStyle="1" BorderColor="Transparent" style="float:left;margin-right:15px; margin-bottom:15px;" HighlightedCssClass="MyHighlight">
   <telerik:raddock runat="server" id="RadDock2511" title="PageContent defined"  text="" Width="100%" EnableEmbeddedSkins="true" Skin="Hay" DockMode="Docked" Resizable="true">
    <contenttemplate>
    </contenttemplate>
   </telerik:raddock>
   <telerik:raddock runat="server" id="RadDock2512" title="Content defined"  text="" Width="100%" EnableEmbeddedSkins="true" Skin="Hay" DockMode="Docked" Resizable="true">
    <contenttemplate>
    </contenttemplate>
   </telerik:raddock>
  </telerik:raddockzone>
 </telerik:raddocklayout>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DEFAULT.ASPX.VB

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  CMSLibrary.DockContentReader.GetContent(RadDock2512,"Content defined","Newclient",ConString,"../../","stage03.tsunami.aptinet.com")
  CMSLibrary.DockContentReader.GetPageContent(RadDock2511,"PageContent defined","Newclient",ConString)
End Sub
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LIBRARY.VB

    Public Shared Sub GetPageContent(ByRef PlaceContentTo As RadDock, ByVal DockName As String, ByVal ClientName As String, ByVal ConString As String)
        Dim Odb As New CMSDatabase(ConString)
        Dim lblContent As New Label
        Dim StructureID As String = Odb.ExecuteScaler("SELECT DockDataID FROM [" & ClientName & "].[dbo].[DockContentData] WHERE [DockContentName] like '" & DockName & "' and Type = " & DockType.PageContent)
        Dim PageDockContent As String = Odb.ExecuteScaler("SELECT ISNULL([InnerHTML], '') FROM [" & ClientName & "].[dbo].Content WHERE [StructureId] = " & StructureID)
        lblContent.ID = "DockText_" & PlaceContentTo.ID & "_" & DockType.PageContent.ToString
        lblContent.Attributes.Add("name", Replace(Replace(DockName, "_", "__"), " ", "_"))
        'lblContent.Width = Unit.Percentage(100)
        lblContent.Style("padding") = "10px"
        If Not PageDockContent Is Nothing Then
            lblContent.ID = lblContent.ID & StructureID
            PageDockContent = Text.RegularExpressions.Regex.Replace(PageDockContent, "\[DockPlaceHolder[^\]]+?]", "")
            lblContent.Text = PageDockContent
        Else
            lblContent.ID = lblContent.ID & "0"
            lblContent.Text = " "
        End If
        PlaceContentTo.ContentContainer.Controls.Add(lblContent)
    End Sub
..........................................................................................................................................................................................................................................................................................................................................................................................

    Public Shared Sub GetContent(ByRef PlaceContentTo As RadDock, ByVal DockName As String, ByVal ClientName As String, ByVal ConString As String, ByVal PagePosition As String, ByVal WebsiteURL As String)
        Dim Odb As New CMSDatabase(ConString)
        Dim lblContent As Label
        Dim SqlString As String = ""
        Dim odt As DataTable
        Dim odr As DataRow

        SqlString = "SELECT CD.ContentDocksID, CD.Description FROM DockContentData AS DC INNER JOIN ContentDocksData AS CD ON DC.DockDataID = CD.ContentDocksID WHERE DC.DockContentName like '" & DockName & "' and DC.Type = " & DockType.Content & " and CD.Status = " & DockContentStatus.Enabled & " and CD.Show = " & DockContentShow.Yes & " order by CD.Created desc"

        'SqlString = "select ContentDocksID, Title, description from [" & ClientName & "].[dbo].ContentDocksData where (convert(datetime,convert(varchar(12),Expiry)) >= convert(datetime,convert(varchar(12), getdate())) or convert(datetime,convert(varchar(12),Expiry))='1900-01-01 00:00:00.000') "
        'SqlString &= " and Status=" & DockContentStatus.Enabled & " and Show=" & DockContentShow.Yes & " order by Created desc"

        If Odb.IsExist(SqlString) Then
            odt = Odb.GetDataTable(SqlString)
            For Each odr In odt.Rows
                Dim GetFullPageDockContent As String = Trim("" & odr.Item("Description"))
                If GetFullPageDockContent <> "" Then
                    'GetFullPageDockContent = Replace(GetFullPageDockContent, "../UserControls/Handler.ashx?path=" & ClientName & "/", PagePosition, , , CompareMethod.Text)
                    GetFullPageDockContent = Replace(GetFullPageDockContent, "../UserControls/Handler.ashx?path=" & ClientName, "http://" & WebsiteURL, , , CompareMethod.Text)
                    lblContent = New Label
                    lblContent.ID = "DockText_" & PlaceContentTo.ID & "_" & DockType.Content.ToString & "_" & odr.Item("ContentDocksID")
                    lblContent.Attributes.Add("name", Replace(Replace(DockName, "_", "__"), " ", "_"))
                    'lblContent.Width = Unit.Percentage(98)
                    lblContent.Style.Add("padding", "10px")
                    lblContent.Text = GetFullPageDockContent
                    PlaceContentTo.ContentContainer.Controls.Add(lblContent)
                End If
            Next
        Else
            lblContent = New Label
            lblContent.ID = "DockText_" & PlaceContentTo.ID & "_" & DockType.Content.ToString & "_0"
            lblContent.Attributes.Add("name", Replace(Replace(DockName, "_", "__"), " ", "_"))
            'lblContent.Width = Unit.Percentage(98)
            lblContent.Style.Add("padding", "10px")
            lblContent.Text = " "
            PlaceContentTo.ContentContainer.Controls.Add(lblContent)
        End If
    End Sub

Petko
Telerik team
 answered on 19 Jun 2009
4 answers
108 views

When I use a RadTimePicker in a table, the text after the RadTimePicker will wrap.  How can I prevent the text from wrapping?


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
        <table border="1">  
            <tr> 
                <td>Time: </td> 
                <td style="white-space:nowrap;"><telerik:RadTimePicker runat="server" ID="TimePicker" /> Some random text.</td> 
            </tr> 
        </table> 
    </form> 
</body> 
</html> 

Paul.

Paul
Top achievements
Rank 2
 answered on 19 Jun 2009
1 answer
240 views
I have created a RadGrid with 4 columns and grouping enabled.  The last two columns have a width specified using the ItemStyle-Width property.  When the grid renders the width's are not honored and end up drawing wider than the specified width.  Using the IE development toolbar I found the <p> tag that renders in the GridGroupHeaderItem and set the css attribute display:none.  As soon as I do that the widths are rendered correctly.

There appears to be an issue with having a <p> tag inside of the <td> tag of the group header row.  However, I do not know how to prevent this <p> tag from rendering.

I am using the default skin and 2009.1.402.35 version of the controls.
<rad:RadGrid ID="rgBuySell" runat="server" Width="100%" AutoGenerateColumns="false" onitemdatabound="rgBuySell_ItemDataBound" onneeddatasource="rgBuySell_NeedDataSource" onitemcommand="rgBuySell_ItemCommand" onprerender="rgBuySell_PreRender">  
    <MasterTableView ShowGroupFooter="true" DataKeyNames="fkAssetFrom">  
        <Columns> 
            <rad:GridBoundColumn DataField="ProductToName" HeaderText="Product" UniqueName="Product" /> 
            <rad:GridBoundColumn DataField="ProductToTicker" HeaderText="Ticker" /> 
            <rad:GridBoundColumn DataField="Percent" HeaderText="Percent" ItemStyle-Width="55px" HeaderStyle-Width="55px" /> 
            <rad:GridBoundColumn DataField="Amount" HeaderText="Amount" ItemStyle-Width="55px" HeaderStyle-Width="55px" /> 
        </Columns> 
    </MasterTableView> 
</rad:RadGrid> 
Dimo
Telerik team
 answered on 19 Jun 2009
1 answer
122 views
When is this product going to come out. i'm looking foward to the radlistbox control. being able to move item up, down, sort etc is going to be pretty need. One more question is that will i be able to upgrade to q2 if i just purchased q1 on monday?

Developer License with Subscription and Priority Support this is the one i bought but i'm not sure if i will be able to get major upgrade. please let me know. thanks
Ivo
Telerik team
 answered on 19 Jun 2009
1 answer
177 views

The tooltip works but its not displaying any dynamic data.   i converted from csharp to vb.net.  perhaps i messed up something.
let me know if you spot any errors

page with radgrid code_________________

<

 

asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">

 

 

<ContentTemplate>

 

 

<telerik:RadToolTipManager ID="RadToolTipManager1" OffsetY="-1" HideEvent=ManualClose

 

 

Width="250" Height="350" runat="server" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Element"

 

 

Position="MiddleRight">

 

 

</telerik:RadToolTipManager>

 

 

<div class="title">For Sale by <br />

 

 

<telerik:RadComboBox ID="RadComboBox1" Runat="server" AutoPostBack="True">

 

 

<Items>

 

 

<telerik:RadComboBoxItem runat="server" Text="By Woodmizer" Value="1" />

 

 

<telerik:RadComboBoxItem runat="server" Text="By Owner" Value="2" />

 

 

</Items>

 

 

</telerik:RadComboBox>

 

 

<br />

 

By Group

<br /><telerik:RadComboBox ID="RadComboBox2" AutoPostBack="True" Runat="server">

 

 

<Items>

 

 

<telerik:RadComboBoxItem runat="server" Text="Select All" Value="%" />

 

 

<telerik:RadComboBoxItem runat="server" Text="Manual Feed"

 

 

Value="Manual Feed" />

 

 

<telerik:RadComboBoxItem runat="server" Text="Power Feed" Value="Power Feed" />

 

 

<telerik:RadComboBoxItem runat="server" Text="Hydraulic" Value="Hydraulic" />

 

 

<telerik:RadComboBoxItem runat="server" Text="High Production"

 

 

Value="High Production" />

 

 

 

</Items>

 

 

</telerik:RadComboBox>

 

 

<br />

 

 

<br />

 

 

<br />

 

 

<telerik:RadGrid ID="RadGrid1" Width="600" runat="server" DataSourceID="SqlDataSource1"

 

 

GridLines="None" OnItemDataBound="RadGrid1_ItemDataBound" AllowPaging="true" OnItemCreated="RadGrid1_ItemCreated"

 

 

AllowSorting="true" PageSize="10" OnItemCommand="RadGrid1_ItemCommand">

 

 

<MasterTableView

 

 

AutoGenerateColumns="False"

 

 

CommandItemDisplay="None"

 

 

CurrentResetPageIndexAction="SetPageIndexToFirst"

 

 

DataKeyNames="ProductID"

 

 

ClientDataKeyNames="ProductID"

 

 

DataSourceID="SqlDataSource1"

 

 

Dir="LTR"

 

 

Frame="Border"

 

 

TableLayout="Auto">

 

 

<Columns>

 

 

<telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="ProductID" Display="false"

 

 

DataType="System.Int32" FilterListOptions="VaryByDataType" ForceExtractValue="None"

 

 

HeaderText="ProductID" ReadOnly="True" SortExpression="ProductID" UniqueName="ProductID">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Product">

 

 

<ItemTemplate>

 

 

<asp:HyperLink ID="targetControl" runat="server" NavigateUrl="#" Text='<%# Eval("item") %>'></asp:HyperLink>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridBoundColumn DataField="grp" HeaderText="Group" SortExpression="grp"

 

 

UniqueName="grp">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="manuf_year" DataType="System.Int32"

 

 

HeaderText="Yr." ReadOnly="True" SortExpression="manuf_year"

 

 

UniqueName="manuf_year">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="mill_hours" HeaderText="Hrs."

 

 

SortExpression="mill_hours" UniqueName="mill_hours">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="destination" HeaderText="Location"

 

 

SortExpression="destination" UniqueName="destination">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="price" DataType="System.Decimal"

 

 

HeaderText="Price" ReadOnly="True" SortExpression="price" DataFormatString="{0:C}"

 

 

UniqueName="price">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridTemplateColumn

 

 

UniqueName="TemplateEditColumn">

 

 

<ItemTemplate>

 

 

<asp:HyperLink ID="EditLink" runat="server" Text="View Details"></asp:HyperLink>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

<Windows>

 

 

<telerik:RadWindow ID="UserListDialog" runat="server" Title="Editing record" Height="800px"

 

 

Width="800px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" />

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 

 

 

</ContentTemplate>

 

 

</asp:UpdatePanel>

code behind________

 

Protected

 

Sub OnAjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs)

 

 

Me.UpdateToolTip(args.Value, args.UpdatePanel)

 

 

End Sub

 

 

 

 

 

Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel)

 

 

Dim ctrl As Control = Page.LoadControl("ProductDetails.ascx")

 

panel.ContentTemplateContainer.Controls.Add(ctrl)

 

Dim details As ProductDetails = DirectCast(ctrl, ProductDetails)

 

details.ProductID = elementID

 

End Sub

 

 

 

 

 

Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs)

 

 

If TypeOf e.Item Is GridDataItem Then

 

 

 

 

 

Dim editLink As HyperLink = DirectCast(e.Item.FindControl("EditLink"), HyperLink)

 

editLink.Attributes(

"href") = "#"

 

 

 

 

editLink.Attributes(

"onclick") = [String].Format("return ShowEditForm('{0}','{1}');", e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("ProductID"), e.Item.ItemIndex)

 

 

End If

 

 

 

 

 

End Sub

 

 

 

 

 

Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As GridItemEventArgs)

 

 

If e.Item.ItemType = GridItemType.Item OrElse e.Item.ItemType = GridItemType.AlternatingItem Then

 

 

 

 

 

Dim target As Control = e.Item.FindControl("targetControl")

 

 

If Not [Object].Equals(target, Nothing) Then

 

 

 

 

 

If Not [Object].Equals(Me.RadToolTipManager1, Nothing) Then

 

 

 

 

 

Dim currentRow As DataRowView = DirectCast(e.Item.DataItem, DataRowView)

 

 

Me.RadToolTipManager1.TargetControls.Add(target.ClientID, currentRow.Row("ProductID").ToString(), True)

 

 

End If

 

 

 

 

 

End If

 

 

 

 

 

End If

 

 

 

 

 

End Sub

 

 

 

 

 

Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs)

 

 

If e.CommandName = "Sort" OrElse e.CommandName = "Page" Then

 

 

 

 

RadToolTipManager1.TargetControls.Clear()

 

End If

 

 

 

 

 

End Sub

 

 

 

_____________________________________________________________________

ProductDetails.ascx__________________

 

<%

@ Control Language="vb" AutoEventWireup="false" CodeBehind="ProductDetails.ascx.vb" Inherits="UsedMills.ProductDetails" %>

 

 

 

<

 

table runat="server" style="width: 100%" id="ProductWrapper" border="0" cellpadding="2"

 

 

 

 

 

cellspacing="0">

 

 

 

 

 

<tr>

 

 

 

 

 

<td style="text-align: center;">

 

 

 

 

 

<asp:FormView ID="ProductsView" DataSourceID="ProductDataSource" DataKeyNames="ProductID"

 

 

 

 

 

runat="server" OnDataBound="ProductsView_DataBound">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:Label ID="Category" runat="server"><%#Eval("ITEM")%></asp:Label>

 

 

 

 

 

<hr />

 

 

 

 

 

<asp:Image ID="image" Width="200" Height="200" runat="server" ImageUrl='<%# Eval("ProductID", "../../../Img/Northwind/Products/{0}") %>' />

 

 

 

 

 

<br />

 

 

 

 

 

<span >Units On Order:</span>

 

 

 

 

 

<asp:Label ID="Label4" runat="server"><%#Eval("description")%></asp:Label>

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

</asp:FormView>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

</

 

table>

 

<

 

asp:SqlDataSource ID="ProductDataSource" runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:wmConnectionString %>"

 

 

SelectCommand="wmUMSaleBySearchID" SelectCommandType="StoredProcedure">

 

 

 

 

 

<SelectParameters>

 

 

 

 

 

<asp:Parameter Name="ProductID" Type="Int32" />

 

 

 

 

 

</SelectParameters>

 

</

 

asp:SqlDataSource>

 

 

 


____________________________________________________________________________

code behind____________________

 

 

 

 

 

Public Property ProductID() As String

 

 

 

 

 

 

 

 

 

 

Public

 

Property ProductID() As String

 

 

 

 

 

 

Get

 

 

 

 

 

 

If ViewState("ProductID") Is Nothing Then

 

 

 

 

 

 

Return ""

 

 

 

 

 

 

End If

 

 

 

 

 

 

Return DirectCast(ViewState("ProductID"), String)

 

 

End Get

 

 

 

 

 

 

Set(ByVal value As String)

 

 

ViewState(

"ProductID") = value

 

 

End Set

 

 

 

 

 

 

End Property

 

 

 

 

 

 

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)

 

 

Me.ProductDataSource.SelectParameters("ProductID").DefaultValue = Me.ProductID

 

 

Me.DataBind()

 

 

End Sub

 

 

 

 

 

 

 

Protected Sub ProductsView_DataBound(ByVal sender As Object, ByVal e As EventArgs)

 

 

Dim image As System.Web.UI.WebControls.Image = DirectCast(ProductsView.FindControl("image"), System.Web.UI.WebControls.Image)

 

 

If image Is Nothing Then

 

 

 

 

 

 

Exit Sub

 

 

 

 

 

 

End If

 

 

 

 

 

 

If Not File.Exists(MapPath(image.ImageUrl)) Then

 

 

 

 

 

image.ImageUrl =

"../../Img/Northwind/Products/noimage.jpg"

 

 

 

 

 

 

End If

 

 

 

 

 

 

End Sub

 

 

End

 

Class

 

 

 

 

 









 

Sebastian
Telerik team
 answered on 19 Jun 2009
3 answers
169 views
I use the hierarchy method to create a treeview with nodes that are created from and underlying database.
How can I attach urls to the created nodes?
Thank you very much.
Shinu
Top achievements
Rank 2
 answered on 19 Jun 2009
3 answers
87 views
I have an app based on the Office2007 demo and have an issue with the root sub-menu item.  Does anyone know where the css class Office2007RootItem is located?  Unlike in the demo, in my code the root item in the sub-menu can be selected so I assume that the missing css class is the issue.  The analogous menu item in the demo is Print -> Preview and Print the Document.

Thanks,
Jim
Peter
Telerik team
 answered on 19 Jun 2009
1 answer
124 views
Hi,

    Any Help me, RadGrid Loading twice and it hit the same query

 

<radG:RadGrid ID="radgrdMasterEnv" HorizontalAlign="Center" AllowMultiRowSelection="false"

 

 

Skin="WinXP" runat="server" PageSize="10" AllowPaging="True" ShowStatusBar="true"

 

 

EnableAJAX="false" EnableAJAXLoadingTemplate="true" DataSourceID="objdsMastEnv"

 

 

OnDeleteCommand="radgrdMasterEnv_DeleteCommand" AllowFilteringByColumn="false"

 

 

LoadingTemplateTransparency="50" AllowSorting="true">

 

 

<PagerStyle Mode="NextPrev" />

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="true" />

 

 

</ClientSettings>

 

 

<MasterTableView DataSourceID="objdsMastEnv" CommandItemDisplay="Top" EditMode="EditForms"

 

 

CssClass="HeaderLabelRow" HierarchyDefaultExpanded="true" AutoGenerateColumns="False"

 

 

Width="100%" DataKeyNames="TO_BRANCH_ID" HierarchyLoadMode="ServerBind">

 

im hav 1000 of records and it will tak lot of time to load Grid...
any one tell me why it load twice , is any property i missed out...
Pavlina
Telerik team
 answered on 19 Jun 2009
1 answer
71 views

I am using the Q1 version of the telerik tools.  After upgrading, I'm experiencing an issue with the modal view of the tooltip.  It turns the entire screen solid gray, rather than a transparent gray.    I'm also experiencing this problem with the RadEditor Image Manager.    The tooltip displays fine in IE7.

 

Is there a fix for this?  Is anyone else experiencing this problem?

Thanks.


 

<telerik:RadToolTipManager runat="server" OnAjaxUpdate="RadToolTipManager_AjaxUpdate" ID="ttSigPreview" Width="630px"  ShowEvent="OnClick"   
  ManualClose="true" Modal="true" Position="BottomCenter" OffsetX="-50" AutoCloseDelay="30000" Skin="Default" OnClientBeforeShow="checkSignature"   
> 
    <TargetControls> 
        <telerik:ToolTipTargetControl TargetControlID="btnSigPreview" /> 
    </TargetControls> 
</telerik:RadToolTipManager> 

Svetlina Anati
Telerik team
 answered on 19 Jun 2009
1 answer
137 views
I've used the Nested Splitter sample in order to create a website with three main panes - the top, left (which has an embedded radmenu) and the right which is where I want all of my content to be.  The problem is when the content in the right-pane is lengthly the scrollbar behaves very oddly.  It seems to be not scroll to the bottom of the page and disappears into the bottom of the browser (weirdly enough happens in ie and firefox).  The nested splitter seems to not have the bottom of the page correctly in my sample - particularly noticable in low resolutions. 

I'd like for the contentpane to show a scrollbar when needed (if possible) and for it to actually be valid ;)

Any ideas what's wrong with this code?

Try changing the ContentURL of ContentPane to something lengthy


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">   
<asp:Literal id="Literal1" runat="server"></asp:Literal> 
<head runat="server">  
<title></title>  
<script> 
if (window!=top){top.location.href=location.href;}   
</script>    
<style type="text/css">  
    .style1  
    {  
        font-size: x-small;  
    }  
    .style2  
    {  
        width: 100%;  
    }  
</style> 
<style type="text/css">  
    html, body, form  
    {  
        height: 100%;  
        margin: 0px;  
        padding: 0px;  
        overflow: hidden;  
    }  
    </style> 
    <style type="text/css">     
        .menuPanes     
        {     
            overflow: visible !important;     
        }     
    </style>    
 
</head> 
<body> 
<form id="form1" runat="server">  
<asp:ScriptManager ID="ScriptManager1" runat="server">  
</asp:ScriptManager> 
        <div id="ParentDivElement" style="height: 100%; background-color: #000000;">  
            <telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%" 
                Orientation="Horizontal" Skin="Black">  
                <telerik:RadPane ID="TopPane" CssClass="menuPanes" runat="server" Height="5" MinHeight="5" MaxHeight="5" 
                    Scrolling="none">  
                    <!-- Place the content of the pane here --> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="Forward" /> 
                <telerik:RadPane ID="MainPane" CssClass="menuPanes" runat="server" MinWidth="500">  
                    <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Black" LiveResize="true">  
                        <telerik:RadPane ID="LeftPane" CssClass="menuPanes" runat="server" Width="175" MinWidth="150" MaxWidth="400">  
                            <!-- Place the content of the pane here --> 
                             <telerik:RadMenu EnableOverlay="false" CollapseAnimation-Type="None"  ID="RadMenu2" runat="server" Width="100%"   
                Flow="Vertical" Height="100px" BackColor="White" BorderStyle="None" Skin="Black" ForeColor="Black"   
                                style="background-color: #000000">  
        <Items> 
            <telerik:RadMenuItem Width="100%" id="lblLoginStatus" NavigateUrl="signout.aspx" runat="server">  
                <GroupSettings ExpandDirection="Right"></GroupSettings> 
            </telerik:RadMenuItem> 
        </Items> 
            <CollapseAnimation Type="None" /> 
    </telerik:RadMenu> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" /> 
                        <telerik:RadPane ID="ContentPane" CssClass="menuPanes"   
                            ContentUrl="home.aspx" runat="server">  
                            <!-- Place the content of the pane here --> 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter></div>  
    </form> 
</body> 
</html> 
Svetlina Anati
Telerik team
 answered on 19 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?