This is a migrated thread and some comments may be shown as answers.

Grid Width Problem

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ajay
Top achievements
Rank 1
ajay asked on 08 Aug 2008, 12:42 PM
Hi
I have a senario , my grid(width=980px) is opening in a iframe (width=100%) ,
now  i want to change screen as per screen resolution (1024,1280,1440) , if i this problem solved if i change grid(width=100%) ,but i got scroll in iframe i don't wamt that i want scroll in  grid  not  in iframe  and  change width according to resolution

I tried to change cssclass(cssclass=gridwidth) according to resolution , but grid is not taking width from css ..................any solution


thanks

ajay tomer

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Aug 2008, 04:07 PM
Hi ajay,

If I understand you correctly, you should do two things to remove the iframe scrollbar:

1) set style="margin:0" to the <body> element inside the iframe.

2) set style="border:0" to the RadGrid inside the iframe.


Greetings,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
ajay
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or