Hello!
I am trying to remove blank spaces between table rows by overriding embeded radgrid styles. All my efforts has so far been in vain so far. Any help will be very much appreciated!
I am trying to remove blank spaces between table rows by overriding embeded radgrid styles. All my efforts has so far been in vain so far. Any help will be very much appreciated!
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
EnableTheming
=
"false"
CssClass
=
"myClass"
AllowPaging
=
"False"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
BorderStyle
=
"None"
style
=
"outline:none;"
EnableEmbeddedSkins
=
"false"
>
<
MasterTableView
DataKeyNames
=
"ID"
ShowHeader
=
"false"
ShowFooter
=
"false"
HierarchyDefaultExpanded
=
"true"
CommandItemDisplay
=
"None"
>
<
ItemTemplate
>
</
ItemTemplate
>
<
NestedViewTemplate
>
<
telerik:RadGrid
ID
=
"RadGrid2"
runat
=
"server"
EnableTheming
=
"false"
CssClass
=
"myClass"
EnableEmbeddedSkins
=
"false"
AllowPaging
=
"False"
OnNeedDataSource
=
"RadGrid2_NeedDataSource"
BorderStyle
=
"None"
OnItemDataBound
=
"RadGrid2_ItemDataBound"
style
=
"outline:none;"
>
<
MasterTableView
ShowHeader
=
"false"
ShowFooter
=
"false"
ShowGroupFooter
=
"false"
HierarchyDefaultExpanded
=
"false"
CommandItemDisplay
=
"None"
>
<
ItemTemplate
>
<
table
style="font-size:11px; width:100%;border: .1em solid #000000;table-layout: fixed; padding-left: 0px;
padding-right: 0px;">
<
tr
>
<
td
align
=
"center"
style
=
"width:40px;border: .1em solid #000000;"
">
<
asp:Label
ID
=
"lblRowNumber"
runat
=
"server"
/></
td
>
<
td
align
=
"center"
style
=
"width:70px;border: .1em solid #000000;"
>
<%# DataBinder.Eval(Container.DataItem,"CreationDate") %></
td
>
<
td
align
=
"center"
style
=
"width:50px;border: .1em solid #000000;"
>
<%# DataBinder.Eval(Container.DataItem, "Number")%></
td
>
<
td
align
=
"center"
style
=
"width:150px;border: .1em solid #000000;"
>
<
asp:Repeater
ID
=
"Repeater3"
runat
=
"server"
DataSource='<%# Eval("Owners") %>'>
<
ItemTemplate
>
<%# DataBinder.Eval(Container.DataItem, "CertificateNumber")%>
<%# DataBinder.Eval(Container.DataItem, "IssuedBy")%>
<%# DataBinder.Eval(Container.DataItem, "WhenIssued")%>
<%# DataBinder.Eval(Container.DataItem,"LegalObject")%>
<%# DataBinder.Eval(Container.DataItem, "individual.FIO")%>
<%# DataBinder.Eval(Container.DataItem, "legalEntity.Title")%>
<%# DataBinder.Eval(Container.DataItem, "legalEntity.INN")%>
<%# DataBinder.Eval(Container.DataItem, "legalEntity.OGRN")%>
<%# DataBinder.Eval(Container.DataItem, "legalEntity.Address")%>
<%# DataBinder.Eval(Container.DataItem, "legalEntity.LegalAddress")%>
</
ItemTemplate
>
<
SeparatorTemplate
>
,
</
SeparatorTemplate
>
</
asp:Repeater
>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
MasterTableView
>
<
ClientSettings
EnableAlternatingItems
=
"false"
>
<
Selecting
AllowRowSelect
=
"False"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
</
NestedViewTemplate
>
</
MasterTableView
>
<
ClientSettings
EnableAlternatingItems
=
"false"
Scrolling-AllowScroll
=
"false"
>
<
Selecting
AllowRowSelect
=
"False"
/>
</
ClientSettings
>
</
telerik:RadGrid
>