Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
364 views

Hi team,

I have a doubt in radgrid, Is there any chance to hide header and paging row in detail table of hierarchical
grid.

For quick idea please view the below url, which i am expecting
http://picasaweb.google.com/lh/photo/ef77PtMyZe6xC35UHUHAFg?feat=directlink

But Currently using telerik i m able to get like below image(Url)
http://picasaweb.google.com/lh/photo/-qzk-asxoAWVlajOY0f8wg?feat=directlink

If, please send an example it's very urgent!!!!!!!!!!

Thanks for any advance help.....

Princy
Top achievements
Rank 2
 answered on 12 May 2011
1 answer
85 views
Hi,
I needs to save radgrid criteria. While searching i got the link
 "http://demos.telerik.com/aspnet-ajax/grid/examples/programming/savinggridsettingsonperuserbasis/defaultcs.aspx"


but "GridSettingsPersister " is not seems to be working on my app. Any idea on this

Thanks
Jobin
Shinu
Top achievements
Rank 2
 answered on 12 May 2011
2 answers
60 views
Hi,

May I know why some funny stuffs appeared at the title of the Telerik Windows? Please view the attachment as your reference.

Thanks
Jacob
Top achievements
Rank 1
 answered on 12 May 2011
3 answers
315 views
Hi every one,

I want the grid bound column value when it is in edit mode
Here is my code.....In the following code the SERVICETYPE Grid boun colim is editable text box.When the user enters  some value to update it I need to get the text the user entered and validate it


<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ServiceType.ascx.cs" Inherits="Desktop_Modules_Service_Type_ServiceType" %>
<asp:Panel ID="pnlCompanyType" runat="server">
    
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

            <script type="text/javascript">
                function RowDblClick(sender, eventArgs) {
                    sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
                }
            </script>

        </telerik:RadCodeBlock>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rgServiceType">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgServiceType" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />     
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server"></telerik:RadWindowManager>
        <br />       
        <telerik:RadGrid ID="rgServiceType" runat="server" DataSourceID="sdsServiceType"  Skin="Outlook" Width="97%"
            ShowStatusBar="True" AllowSorting="True" PageSize="10" GridLines="None" AllowPaging="True"
            AllowAutomaticUpdates="True" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
            OnItemUpdated="rgCompanyType_ItemUpdated" OnItemDeleted="rgCompanyType_ItemDeleted"
            OnItemInserted="rgCompanyType_ItemInserted" OnDataBound="rgCompanyType_DataBound" AutoGenerateColumns="False">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" DataKeyNames="nSERVICEID,nSERVICETYPE"
                DataSourceID="sdsServiceType" HorizontalAlign="NotSet" EditMode="InPlace">
              <Columns>
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                        <ItemStyle/>
                    </telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn UniqueName="SERVICEID" DataField="nSERVICEID" HeaderText="SERVICEID" ReadOnly="True" HeaderStyle-Width="10%" />
                    <telerik:GridBoundColumn DataField="nSERVICETYPE" HeaderText="SERVICETYPE" SortExpression="nSERVICETYPE"
                        UniqueName="SERVICETYPE" ColumnEditorID="GridTextBoxColumnEditor1">
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow"
                        ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                        UniqueName="DeleteColumn">
                        <ItemStyle HorizontalAlign="Center"/>
                    </telerik:GridButtonColumn>
              </Columns>
              <EditFormSettings ColumnNumber="2" CaptionDataField="SEVICETYPE" CaptionFormatString="Edit Company {0}" InsertCaption="New SERVICETYPE">
                   <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                    <FormCaptionStyle></FormCaptionStyle>
                    <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"
                        Width="100%" />
                    <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" />
                    <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                    <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record"
                        UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                    </EditColumn>
                    <FormTableButtonRowStyle HorizontalAlign="Right"></FormTableButtonRowStyle>
                </EditFormSettings>
            </MasterTableView>
            <ClientSettings>
                <ClientEvents  OnRowDblClick="RowDblClick" />
            </ClientSettings>
        </telerik:RadGrid>
        <telerik:GridTextBoxColumnEditor ID="GridTextBoxColumnEditor1" runat="server" TextBoxStyle-Width="180px" />
        <br />
        <asp:Label ID="lblMessage" runat="server" EnableViewState="false" />
        <br />
        <asp:SqlDataSource ID="sdsServiceType" runat="server"
            ConnectionString="<%$ ConnectionStrings:DotNetNukeConnectionString2 %>"
            SelectCommand="sp_ServiceTypeSelect" SelectCommandType="StoredProcedure"
            DeleteCommand="sp_ServiceTypeDelete" DeleteCommandType="StoredProcedure"
            InsertCommand="sp_ServiceTypeInsert" InsertCommandType="StoredProcedure"  
            UpdateCommand="sp_ServiceTypeUpdate" UpdateCommandType="StoredProcedure">
            <DeleteParameters>
                <asp:Parameter Name="nSERVICEID" Type="Int32" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="nSERVICEID" Type="Int32" />
                <asp:Parameter Name="nSERVICETYPE" Type="String" />
            </UpdateParameters>
            <InsertParameters>
                <asp:Parameter Name="nSERVICETYPE" Type="String" />
            </InsertParameters>
        </asp:SqlDataSource>

        
        <!-- content end -->

</asp:Panel>


Please help me thanks
Mira
Telerik team
 answered on 12 May 2011
1 answer
277 views
Hi,
I'm fighting with a problem for over one week that sounds very easy:
Click a button, open a modal dialog with a grid, select a row of this grid and return the selected value back to the textbox of the parent form.
I started with a demo from telerik demos section (http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx).
This works fine when the textbox and button are placed directly on a form. But I need them inside an user control. This is because I need the popup functionality more than once on one webform. It should be a kind of standard search that i can use for different textboxes.

The problem is that when returning the value to the parent page javascript does not know which user control (textbox) called the dialog and writes the returned value to the textbox of the first user control.

Can anybody please help me to solve that problem? Maybe with an running example? :-)

Thanks,
Uwe


Marin Bratanov
Telerik team
 answered on 12 May 2011
3 answers
184 views
Hello guys.

I'm using this example with my grid:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx

but my columns are disrupted when you put a child row. I only wish to change the first column and nothing else, as the example.

How can I do this?

My problem today:
 with no child rows:
http://imageshack.us/f/39/griderro1.png/

with child rows:
http://imageshack.us/f/808/griderror.png/

Regards.
Daniel
Telerik team
 answered on 12 May 2011
1 answer
148 views

 

Hi, I have a display issue I hope someone can help me with.

When I apply a class to a block of text in the editor, it creates a span tag surrounding the text and assigns
its class attribute properly.  The problem is when I highlight that same block of text and apply
a specific font, the font from the CSS class is displayed in the editor, not the inline style font
value.

The HTML resulting from this is :

<P> <SPAN style="FONT-FAMILY: Times; FONT-SIZE: 24pt" 
class=Headline>This is a test</SPAN></P>

The HTML is what I expect, but the editor displays the font as Verdana (which is specified in the Headline class), not Times. If I paste this HTML into a browser, the font displays as times. Does the editor handle style inheritance differently than the browser?
Rumen
Telerik team
 answered on 12 May 2011
1 answer
123 views
Hi

I have a treelist with a column holding datetime values. In edit mode I need to show the datetime selection control. But the problem I am facing is that the width of the column is not wide enough to make the  datetime selection cotrol visible.

Now my question is, how can I manipulate the width of the auto generated column

Any help on the regard will be highly appreciated.

Thanks
Tsvetina
Telerik team
 answered on 12 May 2011
7 answers
882 views
Hi!

Can somebody help me!
I have webpage with three nested radgrids in one radGrid, I want to select the second nested radgrid out of the three and make the height the same as the window height, via javascript. Is this possible?
I've tried to put something together but it doens't seem to be working.
My code is attached, hope someone can help me!

Thanks and regards,
LiZ0r

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TEST_ResultsALL.aspx.cs" 
    Inherits="TEST_ResultsALL" %> 
 
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    Namespace="System.Web.UI" TagPrefix="asp" %> 
<%@ 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 id="Head1" runat="server">  
    <title>AIRLINE INCENTIVE TARGET TRACKING - ALL AIRLINES</title> 
    <link href='https://enett99.com/Travel/Styles/CTP.asp' type="text/css" rel="stylesheet">  
    <%--    <LINK href='<%=System.Configuration.ConfigurationSettings.AppSettings["Styles"] + Request.Cookies["Brand"].Value%>.asp' type=text/css rel=stylesheet>--%> 
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
 
        <script type="text/javascript">  
            function ResizeGrid()  
            {  
                var winWidth, winHeight, d = document;  
                var radGrid0 = $find('<%= RadGrid0.ClientID %>'); //outer RadGrid  
                var radGrid1 = $telerik.findControl(radGrid0.get_element(), "RadGrid2"); //get the RadGrid2 client object  
                  
                if (typeof window.innerWidth != 'undefined')  
                {  
                    winWidth = window.innerWidth;  
                    winHeight = window.innerHeight;  
                }  
                else if (d.documentElement && typeof d.documentElement.clientWidth != 'undefined' && d.documentElement.clientWidth != 0)  
                {  
                    winWidth = d.documentElement.clientWidth;  
                    winHeight = d.documentElement.clientHeight;  
                }  
                else if (d.body && typeof d.body.clientWidth != 'undefined')  
                {  
                    winWidth = d.body.clientWidth;  
                    winHeight = d.body.clientHeight;  
                }  
 
                if (winHeight > 800)  
                    radGrid1.set Height(winHeight - 265);  
        else  
                    radGrid1.set Height(winHeight - 20);  
            }  
 
 
            //function findGrid()  
            //{  
            //    var radGrid0 = $find('<%= RadGrid0.ClientID %>'); //outer RadGrid  
            //    var radGrid1 = $telerik.findControl(radGrid0.get_element(), "RadGrid1"); //get the RadGrid1 client object  
            //    alert("RadGrid1 MasterTableView Items count = " + radGrid1.get_masterTableView().get_dataItems().length); //test  
            //}  
        </script> 
 
    </telerik:RadCodeBlock> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <div style="overflow-x: hidden">  
        <table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="0">  
            <tr> 
                <td align="left">  
                    <asp:Label ID="lblReportHeading" runat="server" CssClass="Heading">AIRLINES INCENTIVE TARGET TRACKING (ALL AIRLINES)</asp:Label> 
                </td> 
            </tr> 
            <tr> 
                <td align="left">  
                    <hr size="1" align="left" style="width: 100%">  
                </td> 
            </tr> 
        </table> 
        <asp:Label ID="lblData" runat="server" CssClass="Heading">NOTE: Data available for selection between </asp:Label><br /> 
        <br /> 
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <asp:Button ID="Button1" runat="server" Text="Export" OnClick="Button1_Click" /> 
        <asp:Button ID="Button2" runat="server" Text="PDF" OnClick="Button2_Click" /> 
        //<input type="button" value="Find RadGrid1 w/JS" onclick="findGrid()" /> 
        <telerik:RadGrid ID="RadGrid0" runat="server" Skin="Default" ShowHeader="false" OnNeedDataSource="RadGrid0_NeedDataSource" 
            BorderStyle="None" Width="450px">  
            <MasterTableView> 
                <ItemTemplate> 
                    <telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource" 
                        Skin="Vista" Width="450px">  
                        <MasterTableView AutoGenerateColumns="false">  
                            <Columns> 
                                <telerik:GridBoundColumn HeaderText="Filters" UniqueName="Filters" DataField="Filters" /> 
                                <telerik:GridBoundColumn HeaderText="" UniqueName="MoreFilters" DataField="MoreFilters" /> 
                            </Columns> 
                        </MasterTableView> 
                    </telerik:RadGrid> 
                    <br /> 
                    <br /> 
                    <telerik:RadGrid ID="RadGrid2" runat="server" OnNeedDataSource="RadGrid2_NeedDataSource" 
                        Skin="Vista" Width="1093px">  
                        <MasterTableView AutoGenerateColumns="false" Width="1000px">  
                            <Columns> 
                                <telerik:GridTemplateColumn HeaderText="Airline Name" UniqueName="AirlineName" FooterText="Total">  
                                    <%--                             <ItemTemplate> 
                                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/RevNett_Report_TicketedRevenue_Detailed.aspx?" + Request.QueryString + "&AL2=" + DataBinder.Eval(Container.DataItem,"Airline") %>' Text='<%# DataBinder.Eval(Container.DataItem,"AirlineName") %>' /> 
                                </ItemTemplate>--%> 
                                    <FooterStyle HorizontalAlign="Left" Width="150px" /> 
                                    <HeaderStyle HorizontalAlign="Left" Width="150px" /> 
                                    <ItemStyle HorizontalAlign="Left" Width="150px" /> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridBoundColumn DataField="AirlineName" Display="False" HeaderText="Airline Name" 
                                    UniqueName="AirlineNameForExport" FooterText="Total">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="Airline" HeaderText="Code" UniqueName="column">  
                                    <FooterStyle HorizontalAlign="Right" Width="40px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="40px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="40px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="TicketedRevenue" DataFormatString="{0:C0}" 
                                    HeaderText="Ticketed Revenue" UniqueName="column1" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="110px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="110px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="110px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="TicketedRevenueLY" DataFormatString="{0:C0}" 
                                    HeaderText="Last Month" UniqueName="column2" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="100px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="100px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="100px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TicketedRevenuePcnt" DataFormatString="{0:N2}%" 
                                    HeaderText="% change" UniqueName="column3" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="TicketedRevenueFYDate" DataFormatString="{0:C0}" 
                                    HeaderText="FY YTD" UniqueName="column4" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="100px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="100px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="100px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="TicketedRevenueLFYDate" DataFormatString="{0:C0}" 
                                    HeaderText="Last Year" UniqueName="column5" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="100px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="100px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="100px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TicketedRevenueFYPcnt" DataFormatString="{0:N2}%" 
                                    HeaderText="% change" UniqueName="column6" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="MarketSharePcnt" DataFormatString="{0:N2}%" HeaderText="Market Share" 
                                    UniqueName="column7" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="90px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="90px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="90px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="MarketSharePcntChange" DataFormatString="{0:N2}%" 
                                    HeaderText="% change" UniqueName="column8" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="IncentiveTarget1" DataFormatString="{0:C0}" 
                                    HeaderText="1st Tier" UniqueName="column9" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="80px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="80px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="80px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="IncentiveTargetPcnt1" DataFormatString="{0:N2}%" 
                                    HeaderText="% achieved" UniqueName="column10" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="IncentiveTarget2" DataFormatString="{0:C0}" 
                                    HeaderText="2nd Tier" UniqueName="column11" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="80px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="80px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="80px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="IncentiveTargetPcnt2" DataFormatString="{0:N2}%" 
                                    HeaderText="% achieved" UniqueName="column12" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="IncentiveTarget3" DataFormatString="{0:C0}" 
                                    HeaderText="3rd Tier" UniqueName="column13" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="80px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="80px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="80px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="IncentiveTargetPcnt3" DataFormatString="{0:N2}%" 
                                    HeaderText="% achieved" UniqueName="column14" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="IncentiveTarget4" DataFormatString="{0:C0}" 
                                    HeaderText="4th Tier" UniqueName="column15" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="80px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="80px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="80px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="IncentiveTargetPcnt4" DataFormatString="{0:N2}%" 
                                    HeaderText="% achieved" UniqueName="column16" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="IncentiveTarget5" DataFormatString="{0:C0}" 
                                    HeaderText="5th Tier" UniqueName="column17" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="80px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="80px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="80px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="IncentiveTargetPcnt5" DataFormatString="{0:N2}%" 
                                    HeaderText="% achieved" UniqueName="column18" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn Aggregate="Sum" DataField="IncentiveTarget6" DataFormatString="{0:C0}" 
                                    HeaderText="6th Tier" UniqueName="column19" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="80px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="80px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="80px" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="IncentiveTargetPcnt6" DataFormatString="{0:N2}%" 
                                    HeaderText="% achieved" UniqueName="column20" DataType="System.Decimal">  
                                    <FooterStyle HorizontalAlign="Right" Width="70px" /> 
                                    <HeaderStyle HorizontalAlign="Right" Width="70px" /> 
                                    <ItemStyle HorizontalAlign="Right" Width="70px" /> 
                                </telerik:GridBoundColumn> 
                            </Columns> 
                        </MasterTableView> 
                        <ClientSettings> 
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                        </ClientSettings> 
                    </telerik:RadGrid> 
                    <br /> 
                    <br /> 
                    <telerik:RadGrid ID="RadGrid3" runat="server" OnNeedDataSource="RadGrid3_NeedDataSource" 
                        Skin="Vista" Width="450px">  
                        <MasterTableView AutoGenerateColumns="false">  
                            <Columns> 
                                <telerik:GridBoundColumn HeaderText="Filters" UniqueName="Filters" DataField="Filters" /> 
                                <telerik:GridBoundColumn HeaderText="" UniqueName="MoreFilters" DataField="MoreFilters" /> 
                            </Columns> 
                        </MasterTableView> 
                    </telerik:RadGrid> 
                </ItemTemplate> 
            </MasterTableView> 
        </telerik:RadGrid> 
    </div> 
    </form> 
</body> 
</html> 
 
Kaushal
Top achievements
Rank 1
 answered on 12 May 2011
3 answers
36 views
Hello,

There's a problem when using a SlidingZone inside a Splitter Pane, if the height of the Splitter exceeds 10000.  Our production page includes a RadDockLayout, and we dynamically size the Splitter to the height of the layout, but this simple example demonstrates the problem:

<%@ Page Language="vb" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head id="Head1" runat="server">
    <title>Test</title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" EnablePageMethods="true" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical" Width="100%"
            Height="10050">
            <telerik:RadPane ID="RadPane1" runat="server" Scrolling="None" Width="100%">
            This is the Left pane
            </telerik:RadPane>
            <telerik:RadPane ID="RadPane2" runat="server" Scrolling="None" Width="22px">
                <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" SlideDirection="Left">
                    <telerik:RadSlidingPane ID="RadSlidingPane1" Title="Menu" runat="server" EnableDock="false"
                        BackColor="Red" Width="300px" PersistScrollPosition="False" Scrolling="None">
                    </telerik:RadSlidingPane>
                </telerik:RadSlidingZone>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </form>
</body>
</html>
Dobromir
Telerik team
 answered on 12 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?