3 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 07 Jun 2012, 10:04 AM
Hello Robert,
You can use RadSplitter control to organize the grid side by side.
aspx:
Thanks,
Shinu.
You can use RadSplitter control to organize the grid side by side.
aspx:
<
telerik:RadSplitter
ID
=
"Splitter1"
runat
=
"server"
Orientation
=
"Vertical"
>
<
telerik:RadPane
ID
=
"RadPane1"
runat
=
"server"
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
DataSourceID
=
"SqlDataSource1"
AutoGenerateColumns
=
"false"
>
....
</
telerik:RadGrid
>
</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"RadPane2"
runat
=
"server"
>
<
telerik:RadGrid
ID
=
"RadGrid2"
runat
=
"server"
DataSourceID
=
"SqlDataSource2"
AutoGenerateColumns
=
"false"
>
....
</
telerik:RadGrid
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
Thanks,
Shinu.
0
Robert
Top achievements
Rank 1
answered on 07 Jun 2012, 10:29 AM
Thanks for your fast reply,
Still not working. Thought it was the orientation property wich was set to vertical, but changing this to horizontal still puts the panels vertically
Still not working. Thought it was the orientation property wich was set to vertical, but changing this to horizontal still puts the panels vertically
0
Shinu
Top achievements
Rank 2
answered on 18 Jul 2012, 11:10 AM
Hi Robert,
Unfortunately I couldn't replicate the issue. Please take a look into the sample code snippet I tried with orientation Horizontal.
aspx:
Attached is the screenshot.
Thanks,
Shinu.
Unfortunately I couldn't replicate the issue. Please take a look into the sample code snippet I tried with orientation Horizontal.
aspx:
<
telerik:RadSplitter
ID
=
"Splitter1"
runat
=
"server"
Orientation
=
"Horizontal"
>
<
telerik:RadPane
ID
=
"RadPane1"
runat
=
"server"
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
DataSourceID
=
"SqlDataSource1"
AutoGenerateColumns
=
"true"
>
</
telerik:RadGrid
>
</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"RadPane2"
runat
=
"server"
>
<
telerik:RadGrid
ID
=
"RadGrid2"
runat
=
"server"
DataSourceID
=
"SqlDataSource2"
AutoGenerateColumns
=
"true"
>
</
telerik:RadGrid
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
<
asp:SqlDataSource
ID
=
"SqlDataSource1"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString3 %>"
SelectCommand="select top 5 * from Employees"></
asp:SqlDataSource
>
<
asp:SqlDataSource
ID
=
"SqlDataSource2"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString3 %>"
SelectCommand="select top 5 * from Orders"></
asp:SqlDataSource
>
Thanks,
Shinu.