Hi,
I have a radgrid whose css is defined in an external stylesheet. I am mainly looking for the height of the radgrid and the width of each of the columns.
The radgrid remains unaffected inspite of the css. I am adding the external style sheet on the server-side in the Page Load like this:
What am I doing wrong?
I have a radgrid whose css is defined in an external stylesheet. I am mainly looking for the height of the radgrid and the width of each of the columns.
The radgrid remains unaffected inspite of the css. I am adding the external style sheet on the server-side in the Page Load like this:
HtmlLink link =
new
HtmlLink();
link.Attributes[
"href"
] =
"~/Styles/Grids.css"
;
link.Attributes.Add(
"type"
,
"text/css"
);
link.Attributes.Add(
"rel"
,
"stylesheet"
);
Page.Header.Controls.Add(link);
What am I doing wrong?