Radconfirm return value

4 posts, 0 answers
  1. Swapna M
    Swapna M avatar
    21 posts
    Member since:
    Dec 2009

    Posted 06 Apr 2010 Link to this post

    Hi,
        Please let me know how to get the return value from radconfirm.

    radconfirm(

    "Are you sure you want to change the value?", null, 400, 150, null, "Title");

    I dont want to use call back function.


    Thank You.

     

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 06 Apr 2010 Link to this post

    Hello Swapna,

    In your case, one sugegstion would be using standard confirm and replacing the default confirm dialog with RadWindow confirm as described in the KB Article.
    Replacing the default confirm dialog for RadGrid with RadWindow confirm

    Thanks,
    Princy.
  3. Swapna M
    Swapna M avatar
    21 posts
    Member since:
    Dec 2009

    Posted 06 Apr 2010 Link to this post

    Princy,
            Any other better solution?
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Apr 2010 Link to this post

    Hi Swapna,

    The ClientCallBack function is mandatory if you are using radconfirm(). As noted in the documentation and the demos, RadWindowManager's popups (radconfirm, radprompt, radalert) cannot block the execution thread like the standard browser popups (confirm, prompt, alert) - this is something that cannot be done with JavaScript. That is why with radconfirm and radprompt, we use a ClientCallBack function in which (after user's input) the logic should continue.


    Greetings,
    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