Hi,
I have RadGrid in RadPane in scenario same like this demo: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=grid
When I put this code to Content Page (under Master Page), RadGrid will shrink itself, ignoring its Height=100% parameter. This problem is reproductable when:
When I shut off Ajax, everything is fine. I have only one RadAjaxManager in MasterPage in ContentPages I use RadAjaxManagerProxy. I send sample as attachment,
Code:
Thank you for help!
I have RadGrid in RadPane in scenario same like this demo: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=grid
When I put this code to Content Page (under Master Page), RadGrid will shrink itself, ignoring its Height=100% parameter. This problem is reproductable when:
- RadGrid is in ContentPage
- RadGrid is in RadPane
- RadGrid's height is set to 100%
- RadGrid's Scrolling is on (
<Scrolling AllowScroll="true" UseStaticHeaders="true" />) - RadGrid is Ajaxified by RadAjaxManager (RadAjaxManagerProxy)
When I shut off Ajax, everything is fine. I have only one RadAjaxManager in MasterPage in ContentPages I use RadAjaxManagerProxy. I send sample as attachment,
Code:
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> |
| <script type="text/javascript"> |
| function ClientResized(sender, eventArgs) { |
| $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest('ChangePageSize'); |
| } |
| </script> |
| <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadGrid1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
| <telerik:RadSplitter ID="RadSplitter1" Width="100%" Height="100%" runat="server" Orientation="Horizontal" BorderSize="0" BorderStyle="None" PanesBorderSize="0" VisibleDuringInit="false"> |
| <telerik:RadPane ID="gridPane" runat="server" Width="100%" Height="60%" Scrolling="None" OnClientResized="ClientResized"> |
| <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" GridLines="None" Width="100%" Height="100%" UseStaticHeaders="true" Style="border: 0; outline: none"> |
| <ClientSettings><Scrolling AllowScroll="true" UseStaticHeaders="true" /></ClientSettings> |
| <MasterTableView> |
| </MasterTableView> |
| </telerik:RadGrid> |
| </telerik:RadPane> |
| <telerik:RadSplitBar CollapseMode="Both" ID="RadSplitBar2" runat="server" EnableResize="True"></telerik:RadSplitBar> |
| <telerik:RadPane ID="listBoxPane" runat="server" BackColor="#d9eeff" Height="40%"> |
| Bottom Pane |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
| </asp:Content> |
Thank you for help!
