I Couldn't Retrieve my Arguments 'OnClientClose()'

4 posts, 0 answers
  1. Prince M. Premnath
    Prince M. Premnath avatar
    32 posts
    Member since:
    Oct 2009

    Posted 02 Dec 2009 Link to this post

    Hello all ,

     Am experiencing a strange experience , things was good until i used Telerik UI RadWindow 2008 now ive upgraded my app to 2009 which doesn't support the 'ClientCallBackFunction' property so ive replaced with OnClientClose ="CallBackFunction" and the definition looks like

    function CallBackFunction(radWindow, returnValue)
    {
        var arg = returnValue;

    I got only null in 'arg' ????

    Note:

    ive used my ClientShow function as

    function OnClientShow(radWindow)
    {
        var arg = new Object();        
        arg.Type = document.getElementById("<%= Type.ClientID %>").value;
        arg.Node = document.getElementById("<%= NodeName.ClientID %>").value;
        arg.Link = document.getElementById("<%= Link.ClientID %>").value;
        arg.Value = "";
        radWindow.Argument = arg;
    }


    Any suggestions ??







  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 02 Dec 2009 Link to this post

    Hi Prince,

    You need to change your logic according to the Using RadWindow as a Dialog article.


    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Prince M. Premnath
    Prince M. Premnath avatar
    32 posts
    Member since:
    Oct 2009

    Posted 02 Dec 2009 Link to this post

    Yeah i went through that demo earlier , but certainly i dunno where i need to update my logic could you please help me out in this respect ?
    -Prince
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 03 Dec 2009 Link to this post

    Hello Prince,

    How do you send the argument back to the parent page?


    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top