Hi.
I tested the RadRating with a RadGrid and the time to show
results displays two lines of RadRating to select and the other with the assigned value.
As I show only the value of RadRating?
Thanks.
I tested the RadRating with a RadGrid and the time to show
results displays two lines of RadRating to select and the other with the assigned value.
As I show only the value of RadRating?
Thanks.
<
telerik:RadGrid
runat
=
"server"
ID
=
"gridResults"
AllowPaging
=
"true"
GridLines
=
"None"
OnItemDataBound
=
"ResultsItemDataBound"
AutoGenerateColumns
=
"false"
PageSize
=
"10"
Width
=
"570px"
AllowSorting
=
"true"
>
<
ItemStyle
BackColor
=
"White"
BorderColor
=
"White"
BorderWidth
=
"0px"
/>
<
AlternatingItemStyle
BackColor
=
"White"
BorderColor
=
"White"
BorderWidth
=
"0px"
/>
<
MasterTableView
TableLayout
=
"Fixed"
BackColor
=
"White"
BorderColor
=
"White"
BorderStyle
=
"None"
BorderWidth
=
"0px"
AllowCustomSorting
=
"true"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblId"
Visible
=
"false"
Text='<%#Eval("Id")%>' runat="server" />
<
div
class
=
"itemGrid"
>
<
div
class
=
"cadena"
>
<
asp:Image
runat
=
"server"
ID
=
"imgCadena"
Visible
=
"true"
Height
=
"75px"
Width
=
"75px"
style
=
"margin-left:12px;"
ImageAlign
=
"Left"
ImageUrl='<%#Eval("thumb") %>'/><
br
/>
</
div
>
<
div
class
=
"hotel"
>
<
asp:Label
ID
=
"lblHotel"
runat
=
"server"
Text='<%#Eval("name") %>'></
asp:Label
>
<
br
/>
<
asp:Label
ID
=
"lblDesc"
runat
=
"server"
Font-Size
=
"XX-Small"
ForeColor
=
"Silver"
Text='<%#Eval("desc") %>'>
</
asp:Label
>
</
div
>
<
div
class
=
"Stars"
>
<
br
/>
<
div
style
=
"text-align:center; float:left;"
>
<
telerik:RadRating
ID
=
"RadRating1"
runat
=
"server"
DBValue='<%#Eval("starsLevel")%>' />
</
div
>
<
asp:Label
ID
=
"lblStars"
runat
=
"server"
></
asp:Label
> <
br
/>
</
div
>
<
div
class
=
"precio"
>
<
br
/>
<
asp:Label
ID
=
"lblFare"
runat
=
"server"
style
=
"font-weight:bold"
/>
<
br
/>
<
div
id
=
"divComprar"
runat
=
"server"
clientidmode
=
"Static"
>
<
telerik:RadButton
ID
=
"btnComprar"
runat
=
"server"
Height
=
"56px"
Width
=
"75px"
Text
=
"Comprar"
ForeColor
=
"White"
OnClick
=
"BtnComprar_OnClick"
Image-IsBackgroundImage
=
"true"
Image-HoveredImageUrl
=
"~/Images/btnBuscarHovered.png"
Image-ImageUrl
=
"~/Images/btnBuscar.png"
>
</
telerik:RadButton
>
</
div
>
</
div
>
</
ItemTemplate
>
<
Columns
>
//etc.
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>