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

Resize radwindow in user control

2 Answers 78 Views
Window
This is a migrated thread and some comments may be shown as answers.
Eva
Top achievements
Rank 1
Eva asked on 08 Jan 2009, 06:52 PM
Hi ,

Could you please provide some sample code for resize radwindow in user control.

Also i need to resize in codebehind.
like after button click in radwidow ,resize the radwindow.

Thanks.
Eva 

2 Answers, 1 is accepted

Sort by
0
Accepted
Fiko
Telerik team
answered on 10 Jan 2009, 04:44 PM
Hello Eva,

If I understand you correctly, you need to set the size of RadWindow in the code behind of the content page. Since the resizing of the window can be done on the client only, you could do this by calling a JavaScript function from server code by registering it with the RegisterStartupScript() function.

You can find a simple demonstration of this approach in the attached archive file.

I hope this helps.

Sincerely yours,
Fiko
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eva
Top achievements
Rank 1
answered on 13 Jan 2009, 12:49 AM

That works.

Thanks Fiko.




Tags
Window
Asked by
Eva
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Eva
Top achievements
Rank 1
Share this question
or