Alert / Confirm Templates

2 posts, 1 answers
  1. Christian
    Christian avatar
    112 posts
    Member since:
    May 2010

    Posted 07 Oct 2010 Link to this post

    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
  2. Answer
    Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 08 Oct 2010 Link to this post

    Hello Uwe,

    The size of the popups can be controlled by the arguments in the radalert() and radconfirm() functions:
    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
Back to Top