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

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

3 Answers 39 Views
Window
This is a migrated thread and some comments may be shown as answers.
Prince M. Premnath
Top achievements
Rank 2
Prince M. Premnath asked on 02 Dec 2009, 01:49 PM
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 ??







3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Dec 2009, 01:56 PM
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.
0
Prince M. Premnath
Top achievements
Rank 2
answered on 02 Dec 2009, 02:44 PM
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
0
Georgi Tunev
Telerik team
answered on 03 Dec 2009, 09:06 AM
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.
Tags
Window
Asked by
Prince M. Premnath
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Prince M. Premnath
Top achievements
Rank 2
Share this question
or