Hi there,
i'm new in Telerik framework.
I've a problem with radgrid control, In my grid there are unwanted gray bars.
Please take a look at attached screenshot (screenshot barre grigie.png).
I've tryed to change many attributes of radgrid but the gray bars are always there!
The portion of rendered html regarding the gray bar is in the second attached file (screenshot barre grigie html code.png)
This is my code:
Can some one help me? Thanks.
Davide.
i'm new in Telerik framework.
I've a problem with radgrid control, In my grid there are unwanted gray bars.
Please take a look at attached screenshot (screenshot barre grigie.png).
I've tryed to change many attributes of radgrid but the gray bars are always there!
The portion of rendered html regarding the gray bar is in the second attached file (screenshot barre grigie html code.png)
This is my code:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StayDay.ascx.cs" Inherits="WebTickets.SubModules.StayDay" %>
<
div
id
=
"dayStay"
style
=
"width:100px;padding:3px;"
>
<
asp:Panel
runat
=
"server"
ID
=
"container"
meta:resourcekey
=
"containerResource1"
>
<
asp:Label
ID
=
"day"
runat
=
"server"
height
=
"10px"
Font-Size
=
"Smaller"
meta:resourcekey
=
"dayResource1"
></
asp:Label
>
<
br
/>
<
br
/><
span
class
=
"description"
>Disponibilità</
span
>
<
telerik:RadGrid
ID
=
"rgDays"
runat
=
"server"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
OnItemDataBound
=
"rgDataBound"
OnItemCreated
=
"rgItemCreated"
CellPadding
=
"0"
Width
=
"68px"
BorderStyle
=
"None"
BorderColor
=
"Transparent"
meta:resourcekey
=
"rgDaysResource1"
BackColor
=
"#FFFFFF"
>
<
AlternatingItemStyle
Width
=
"67px"
CssClass
=
"RadGrid_Default"
BorderStyle
=
"None"
BorderColor
=
"Transparent"
/>
<
MasterTableView
DataKeyNames
=
"Id"
ShowHeader
=
"False"
BorderWidth
=
"0px"
BorderStyle
=
"None"
BorderColor
=
"Transparent"
style
=
"padding:2px"
CellPadding
=
"0"
CellSpacing
=
"0"
Width
=
"68px"
CssClass
=
"RadGrid_Default"
>
<
NoRecordsTemplate
>
<
asp:Label
ID
=
"lblQuantity"
runat
=
"server"
meta:resourcekey
=
"lblQuantityResource1"
></
asp:Label
> ingressi
<
asp:HiddenField
Id
=
"hfmax"
runat
=
"server"
/>
<
table
width
=
"60px"
border
=
"0"
>
<
tr
>
<
td
style
=
"height:14px;width:14px"
">
<
telerik:RadComboBox
ID
=
"rTB"
runat
=
"server"
OnClientSelectedIndexChanging
=
"setTotal"
EnableScreenBoundaryDetection
=
"false"
DropDownWidth
=
"48px"
AllowCustomText
=
"false"
MaxHeight
=
"180px"
EnableVirtualScrolling
=
"True"
Width
=
"48px"
AutoPostBack
=
"false"
meta:resourcekey
=
"rTBResource1"
ChangeTextOnKeyBoardNavigation
=
"false"
> <%-- OnClientItemsRequested="ClientLoadItem"OnItemsRequested="LoadItem"OnClientLoad="LoadFirst10"--%>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"0"
Value
=
"0"
/>
</
Items
>
</
telerik:RadComboBox
>
</
td
>
</
table
>
</
NoRecordsTemplate
>
<
Columns
>
<
telerik:GridTemplateColumn
meta:resourcekey
=
"GridTemplateColumnResource1"
UniqueName
=
"TemplateColumn"
>
<
ItemTemplate
>
<
table
cellspacing
=
"1px"
cellpadding
=
"1px"
>
<
tr
>
<
td
style
=
"height:12px;width:12px;padding:0px"
><
asp:Label
ID
=
"fromHour"
runat
=
"server"
Text='<%# Eval("fromHour") %>'
meta:resourcekey="fromHourResource1"></
asp:Label
>-<
asp:Label
ID
=
"toHouor"
runat
=
"server"
Text='<%# Eval("toHour") %>' meta:resourcekey="toHouorResource1"></
asp:Label
></
td
>
<
td
style
=
"height:10px;padding:2px;padding:0px"
>
<
telerik:RadComboBox
ID
=
"rTB"
Width
=
"40px"
runat
=
"server"
ChangeTextOnKeyBoardNavigation
=
"false"
EnableScreenBoundaryDetection
=
"false"
OnClientSelectedIndexChanged
=
"setTotal2"
DropDownWidth
=
"20"
MaxHeight
=
"180px"
EnableVirtualScrolling
=
"True"
AllowCustomText
=
"false"
AutoPostBack
=
"false"
meta:resourcekey
=
"rTBResource2"
><%-- OnItemsRequested="LoadItem"OnClientLoad="LoadFirst10"OnClientItemsRequested="ClientLoadItem"--%>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"0"
Value
=
"0"
/>
</
Items
>
</
telerik:RadComboBox
>
</
td
></
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
<
ItemStyle
Height
=
"12px"
Width
=
"95px"
/>
<
AlternatingItemStyle
BackColor
=
"White"
BorderWidth
=
"0px"
/>
</
MasterTableView
>
</
telerik:RadGrid
>
</
asp:Panel
>
</
div
>
Can some one help me? Thanks.
Davide.