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

Alert / Confirm Templates

1 Answer 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 07 Oct 2010, 03:57 PM
Dear Telerik Team,

I add during the page cycle (page_load event) templates for the alert and confirm dialog. This works good and I can use my own templates.

But how can I set the width and height properties for this windows? I try it by looking into the windowsCollection in debug time, but this templates aren't a part of it. If I try to set the first div in my templates to a width for example 600px the design of window corners/boarders are broken.

Thanks for your help.

Kind regards
Christian

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 08 Oct 2010, 12:25 PM
Hello Uwe,

The size of the popups can be controlled by the arguments in the radalert() and radconfirm() functions:
e.g.
radalert(text, width, height,title);
radconfirm(text, callBackFn, oWidth, oHeight, callerObj, oTitle)

Best wishes,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Christian
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or