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

Detailed Client Side documentation?

1 Answer 78 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 20 Mar 2009, 10:53 AM
I am still a bit confused by the documentation as it's a bit like launching an R & D project just to get to know the Telerik documentation (IMHO).

I have not done much javascript in the last few years and I find it quite difficult to differentiate between what is "normal" javascript/dhtml functions from the Telerik specific.
For instance,
windows.Close() does not take arguments, as clearly described in http://msdn.microsoft.com/en-us/library/ms536367(VS.85).aspx

If I look for the arguments that RadWindow.close() take (on the client side), where do I find out?

The documentation does not say anything http://www.telerik.com/help/aspnet-ajax/window_programmingradwindowmethods.html other than the function exists... and I have just been lucky to find the answer in RadControlsAjaxCourseware.pdf towards p257 with the project \VS Projects\RealEstate\HowToModalDialog

Is there a less "lucky" way of finding these sort of answers?

Thanks


Eric



1 Answer, 1 is accepted

Sort by
0
Accepted
Fiko
Telerik team
answered on 20 Mar 2009, 01:41 PM
Hi Eric,

The parameter of the RadWindow's close() function is optional. It is used when you need to pass arguments to the OnClientClose event handler of the control ( to return some revalue to the parent page). In this event handler you can get the value of the argument by using the following approach :

function OnClientClose(oWnd,args) 
   //get the transferred arguments 
   var arg = args.get_argument(); 
   alert(arg); 

More information about our products and the way they work is available in the followings resources :


I hope this helps.

Kind regards,
Fiko
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Documentation and Tutorials
Asked by
Eric
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or