Hello,
Maybe its a bug, but i can't solve the following problem.
I have a window, with a Multipage, and in the multipage a RadSplitter, with two Radpanes.
In the upper Radpane i have a Radgrid.
Something like this:
If i set the Radgrid clientsetting 'Scrolling-AllowScroll="true"', the Radgrid is throwing a error, when i change from multipage. (by a tabstrip)
The error that is thrown is in the following code section of the scriptresource.axd:
For a workaround i use now the scrolling in the RadPane, but it will look better if i can use the client scroll of the RadGrid (and the static headers), inside the multipage.
I hope you have a solutions for this.
Thanks
Marco
Maybe its a bug, but i can't solve the following problem.
I have a window, with a Multipage, and in the multipage a RadSplitter, with two Radpanes.
In the upper Radpane i have a Radgrid.
Something like this:
<rad:RadMultiPage ID="rmpPostvak" runat="server" CssClass="mpwindow" SelectedIndex="0"> |
<rad:PageView ID="PageView1" runat="server"> |
<telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal" VisibleDuringInit="true" |
Width="100%" Height="360px"> |
<telerik:RadPane ID="RadPane1" runat="server" Scrolling="None" BackColor="White"> |
<telerik:RadGrid ID="rgBerichtenIn" runat="server" Style="width: 100%; cursor: pointer;" |
Skin="Office2007" AutoGenerateColumns="False" GridLines="None" Height="100%"> |
<ClientSettings Scrolling-UseStaticHeaders="true" Scrolling-AllowScroll="true" ApplyStylesOnClient="true"> |
<Selecting AllowRowSelect="true" /> |
<ClientEvents OnRowSelected="RowSelectedIn" /> |
</ClientSettings> |
<MasterTableView TableLayout="Fixed" NoMasterRecordsText="Geen berichten aanwezig" |
ClientDataKeyNames="VolgNummer"> |
<Columns> |
<telerik:GridTemplateColumn HeaderText="" UniqueName="Bericht"> |
<HeaderStyle Width="40px" /> |
<ItemStyle HorizontalAlign="Center" /> |
<ItemTemplate> |
<asp:Label ID="lblBerichtID" runat="server" Text='<%# Bind("VolgNummer") %>' Style="display: none;"></asp:Label> |
<asp:Image ID="Image7a" runat="server" ImageUrl='<%# "images/Overige/ber_soort" & Eval("Soort") & ".gif" %>'> |
</asp:Image> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridTemplateColumn HeaderText="Datum" UniqueName="Datum"> |
<HeaderStyle Width="90px" /> |
<ItemTemplate> |
<asp:Label ID="Label7" runat="server" Text='<%# Bind("AanmaakDatum", "{0:d}") %>'></asp:Label> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridTemplateColumn HeaderText="Naam" SortExpression="Naam" UniqueName="Naam"> |
<HeaderStyle Width="150px" /> |
<ItemTemplate> |
<asp:Label ID="Label8a" runat="server" Text='<%# Bind("AfzenderNaam") %>'></asp:Label> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridTemplateColumn HeaderText="Onderwerp" SortExpression="Onderwerp" UniqueName="Onderwerp"> |
<ItemTemplate> |
<asp:Label ID="Label8b" runat="server" Text='<%# Bind("KopTekst") %>'></asp:Label> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
</Columns> |
</MasterTableView> |
</telerik:RadGrid> |
</telerik:RadPane> |
<telerik:RadPane ID="RadPane2" runat="server" Scrolling="None" Height="160px" BackColor="WhiteSmoke"> |
.......... |
</telerik:RadPane> |
</telerik:RadSplitter> |
</rad:PageView> |
If i set the Radgrid clientsetting 'Scrolling-AllowScroll="true"', the Radgrid is throwing a error, when i change from multipage. (by a tabstrip)
The error that is thrown is in the following code section of the scriptresource.axd:
Telerik.Web.UI.GridScrolling.callBaseMethod(this,"dispose"); |
},_initializeDimensions:function(){ |
var _1=this; |
this.applyFrozenScroll(); |
this.onWindowResize(); |
this.initializeAutoLayout(); |
this._owner.get_element().RadResize=function(){ |
_1.onWindowResize(); |
}; |
if(navigator.userAgent.toLowerCase().indexOf("msie")!=-1){ |
this._onResizeDelegate=Function.createDelegate(this,this.onWindowResize); |
setTimeout(function(){ |
$addHandler(window,"resize",_1._onResizeDelegate); |
},0); |
}else{ |
this._onResizeDelegate=Function.createDelegate(this,this.onWindowResize); |
$addHandler(window,"resize",this._onResizeDelegate); |
} |
this._owner.get_element().RadShow=function(){ |
_1.OnWindowResize(); <----- here the error is thrown ------- |
For a workaround i use now the scrolling in the RadPane, but it will look better if i can use the client scroll of the RadGrid (and the static headers), inside the multipage.
I hope you have a solutions for this.
Thanks
Marco