or
Any other suggestions?
Hi,
I have taken a Radgrid, in which in one column cell, I have 2 controls. I want to remove margin between table border and control.
In RadGrid, I have applied following properties.
<telerik:RadGrid . . . . .
CellSpacing="0" cellpadding="0" . . . . . >
<
ItemTemplate
>
<
table
border
=
"1"
cellpadding
=
"0"
cellspacing
=
"0"
width
=
"100%"
>
<
tr
>
<
td
style
=
"border: 1;"
>
<
asp:TextBox
ID
=
"txtTest"
runat
=
"server"
TextMode
=
"multiline"
Width
=
"100%"
Rows
=
"2"
Text='<%#DataBinder.Eval(Container.DataItem, "Test")%>'>
</
asp:TextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"border: 1;"
align
=
"right"
>
<
asp:ImageButton
class
=
"clsbuttonsize"
ID
=
"btnDotsTest"
runat
=
"server"
ImageUrl
=
"~/Images/btn_Test.gif"
ToolTip
=
"Click to view and update the Test."
/>
</
td
>
</
tr
>
</
table
>
<
asp:HiddenField
ID
=
"hdnTest"
runat
=
"server"
Value='<%#DataBinder.Eval(Container.DataItem, "Test")%>' />
</
ItemTemplate
>
Still I am not able remove margin between border and control.
I have attached the screenshot.
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
/>
</
Scripts
>
</
asp:ScriptManager
>
<
telerik:RadFormDecorator
ID
=
"RadFormDecorator1"
runat
=
"server"
Skin
=
"Default"
DecoratedControls
=
"All"
/>
<
div
id
=
"d"
></
div
>
</
form
>
<
script
type
=
"text/javascript"
>
window.onload = function () {
var cb = document.createElement('input');
cb.type = 'checkbox';
document.getElementById('d').appendChild(cb);
var decorator = $find("<%= RadFormDecorator1.ClientID %>");
if (decorator) {
decorator.decorate(cb, true);
}
}
</
script
>
<
img
title
=
""
class
=
"rrbButtonImage"
style
=
"visibility:visible;"
alt
=
"Item Image"
src
=
"/Project/WebResource.axd?d=aiNB5OmQeNHVf5XWk97-tMFIIzmuwsC9HNSxCKe1M4-JmQYIEnPBVjt7MpL3voxN3azNeKtr7v83kvmeXWrcYGa5IwnR-ZE6EJPsGTC97bU1&t=634849188040000000"
complete
=
"complete"
/>