Public Property ViewSource() As System.Data.DataView
Get
If m_ViewSource Is Nothing Then
m_ViewSource = CType(Session(Me.UniqueID), Data.DataView)
End If
Return Me.m_ViewSource
End Get
Set(ByVal Value As System.Data.DataView)
Session.Add(Me.UniqueID, Value)
m_ViewSource = Value
End Set
End Property
Private Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
Me.RadGrid1.DataSource = Me.ViewSource
End Sub
The grid is populated like this:
Public Sub LoadView(ByVal viewtable As DataTable)
Try
Dim view As New Data.DataView
view.Table = viewtable
Me.ViewSource = view
Me.RadGrid1.DataSource = Me.ViewSource
Me.RadGrid1.Rebind()
Catch ex As Exception
RaiseEvent ErrorEvent(Me, New ErrorEventArgs(ex))
End Try
End Sub
Any help would be highly appreciated
(Q3) I put a Splitter inside an update panel and then use a button to set one of its' RadPane's ContentURL to a different URL
| <asp:UpdatePanel ID="udpMenu" runat="server"> |
| <ContentTemplate> |
| <telerik:RadSplitter SkinID="Default" Height="100%" Width="100%" ID="rspContent" |
| runat="server" Orientation="Vertical"> |
| <telerik:RadPane ID="RadPane1" runat="server" Width="175" MaxWidth="175" Scrolling="Y"> |
| NavBar |
| </telerik:RadPane> |
| <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" /> |
| <telerik:RadPane ID="rpnContent" ContentUrl="http://www.yahoo.com" runat="server" Scrolling="None"> |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
| </ContentTemplate> |
| <Triggers> |
| <asp:AsyncPostBackTrigger ControlID="btn" /> |
| </Triggers> |
| </asp:UpdatePanel> |
In Firefox, no Error, just 4 Warnings:
Warning: Error in parsing value for property 'top'. Declaration dropped.
Source File: http://localhost:2188/WebSite1/Default.aspx
Line: 0
also for property left, height, and width
Other than that, it works really nice. I know most users have their IE7 JS error switched off, but that yellow triangle warning icon at bottom left means imperfection, and Telerik != Imperfection. Hope it's fixed in the next release
Thanks

Hi,
I'm having some problem with the RadGrid grouping.
I want to group the data like this.
|
Country |
City |
Description |
|
Austria |
|
|
|
|
Vienna |
|
|
|
|
Desc1 |
|
|
|
Desc2 |
|
|
Linz |
|
|
|
|
Desc1 |
|
Germany |
|
|
|
|
Berlin |
|
|
|
|
Description1 |
|
|
Munich |
|
|
|
|
Description1 |
|
|
|
Description2 |
Currently it comes like this.
|
Country |
City |
Description |
|
Austria |
Vienna |
Desc1 |
|
Austria |
Vienna |
Desc2 |
|
Austria |
Linz |
Desc1 |
|
Germany |
Berlin |
Description1 |
|
Germany |
Munich |
Description1 |
|
Germany |
Munich |
Description2 |
It's very urgent.
Regards,
Ganeshpandi.M
_1.OnWindowResize is not a function
Also, I used a skin in the previous version and it worked but doesn't anymore. I can't seem to fix any height to the grid. I suppose it is because of the javascript error. Any workaround for this?
Thank you
__doPostBack(
"<%= this.UniqueID %>", "GridExpand:" + i + ":" + j);
Where "this" is the current user control where the grid is located, "i" is the current detail view and "j" is the current row. This is caught successfully on the server "RaisePostBackEvent(string eventArgument)".