6 Answers, 1 is accepted
0
Hi, Marty.
Unfortunately, we do not have such example. I can very well see the use of such example, but we don't have one.
Unless you are using "StaticId" properties to any col / row, you should not have any issues.
Regards,
Ivan Zhekov
Telerik
Unfortunately, we do not have such example. I can very well see the use of such example, but we don't have one.
Unless you are using "StaticId" properties to any col / row, you should not have any issues.
Regards,
Ivan Zhekov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Here is a very quick example of Repeater + PageLayout
Regards,
Ivan Zhekov
Telerik
<%@ Page Language="C#" AutoEventWireup="true" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
>Repeater + PageLayout</
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
runat
=
"server"
/>
<
asp:Repeater
ID
=
"Repeater1"
runat
=
"server"
DataSourceID
=
"SqlDataSource1"
>
<
ItemTemplate
>
<
telerik:RadPageLayout
runat
=
"server"
>
<
Rows
>
<
telerik:LayoutRow
>
<
Columns
>
<
telerik:LayoutColumn
span
=
"2"
>
Name
</
telerik:LayoutColumn
>
<
telerik:LayoutColumn
span
=
"4"
>
<%# Eval("CategoryName") %>
</
telerik:LayoutColumn
>
<
telerik:LayoutColumn
span
=
"2"
>
Description
</
telerik:LayoutColumn
>
<
telerik:LayoutColumn
span
=
"4"
>
<%# Eval("Description") %>
</
telerik:LayoutColumn
>
</
Columns
>
</
telerik:LayoutRow
>
</
Rows
>
</
telerik:RadPageLayout
>
</
ItemTemplate
>
</
asp:Repeater
>
<
asp:SqlDataSource
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
ID="SqlDataSource1" runat="server"
SelectCommand="SELECT [CategoryID], [CategoryName], [Description] FROM [Categories]" />
</
form
>
</
body
>
</
html
>
Regards,
Ivan Zhekov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0

moegal
Top achievements
Rank 1
answered on 19 May 2015, 05:56 PM
Ivan,
Thanks. Sorry I was not more clear. I want to have each ITEM as a column not a row.
Marty
0
At it's current state RadPageLayout does not support this functionality.
You could use a column with content and repeater to manually render the markup for columns. Would something like this suffice?
Regards,
Ivan Zhekov
Telerik
You could use a column with content and repeater to manually render the markup for columns. Would something like this suffice?
Regards,
Ivan Zhekov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0

moegal
Top achievements
Rank 1
answered on 08 Jun 2015, 05:51 PM
I would hope you are working on a better solution for this. Here is what I have done in the mean time.
I have a RadPageLayout around the repeater and then in the ItemTemplate I have the following div:
<div class="t-col t-col-6 t-col-xs-12 t-col-sm-12 t-col-md-6 t-col-lg-6 t-col-xl-6">
my content
</div>
The end result is the same I suppose, jut not very elegant. Can you make a stanalone LayoutColumn control?
Marty
0
Hi Marty,
You could add your suggestion to our feedback portal and vote for it.
Regards,
Peter Filipov
Telerik
You could add your suggestion to our feedback portal and vote for it.
Regards,
Peter Filipov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items