3 Answers, 1 is accepted
0
Accepted
Hi vipin,
To remove the default padding of cell use following CSS:
Please read here how easy to override styles:
http://blogs.telerik.com/dimodimov/posts/08-06-17/how_to_override_styles_in_a_radcontrol_for_asp_net_ajax_embedded_skin.aspx
Also I highly recommend you to use web tools like Firebug for Firefox / IE developer tool. Shortcut F12 activates both and with them is very easy to inspect the elements and to see the styles that they have. After researching the styles of elements you can add or edit their CSS rules.
All the best,
Galin
the Telerik team
To remove the default padding of cell use following CSS:
div.RadGrid .rgRow td,
div.RadGrid .rgAltRow td
{
padding
:
0
;
}
Please read here how easy to override styles:
http://blogs.telerik.com/dimodimov/posts/08-06-17/how_to_override_styles_in_a_radcontrol_for_asp_net_ajax_embedded_skin.aspx
Also I highly recommend you to use web tools like Firebug for Firefox / IE developer tool. Shortcut F12 activates both and with them is very easy to inspect the elements and to see the styles that they have. After researching the styles of elements you can add or edit their CSS rules.
All the best,
Galin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

vipin
Top achievements
Rank 1
answered on 02 May 2011, 10:31 AM
Thanks for your support
it's working now
can you please provide any idea about item template style
eg:-
GridTemplateColumn GridTemplateColumNegotiation = new GridTemplateColumn();
GridTemplateColumNegotiation.ItemStyle.CssClass = "NegotiationClass";
<style type="text/css">
.NegotiationClass
{
padding-left:0px !important;
padding-right:0px !important;
padding-top:0px !important;
padding-bottom:0px !important;
}
</style>
its working fine in Mozilla firefox, but its not working in IE8 (this issue gets in microsoft sharepoint and this issue resolved after pasting this style css in master file)
it's working now
can you please provide any idea about item template style
eg:-
GridTemplateColumn GridTemplateColumNegotiation = new GridTemplateColumn();
GridTemplateColumNegotiation.ItemStyle.CssClass = "NegotiationClass";
<style type="text/css">
.NegotiationClass
{
padding-left:0px !important;
padding-right:0px !important;
padding-top:0px !important;
padding-bottom:0px !important;
}
</style>
its working fine in Mozilla firefox, but its not working in IE8 (this issue gets in microsoft sharepoint and this issue resolved after pasting this style css in master file)
0
Hello Vipin,
I cannot reproduce the issue and I am not exactly sure I understand what exactly is happening in IE. The details that you provided to us are not sufficient. Can you elaborate?
Kind regards,
Galin
the Telerik team
I cannot reproduce the issue and I am not exactly sure I understand what exactly is happening in IE. The details that you provided to us are not sufficient. Can you elaborate?
Kind regards,
Galin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.