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

Example for set_eventArgument() in OnRequestStart event

3 Answers 58 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
SUNIL
Top achievements
Rank 2
Iron
SUNIL asked on 25 Dec 2010, 10:30 PM
I am looking for an example on using 'set_eventArgument()' in OnRequestStart event. I see no documentation on how to use it,
When I tried to use it in following manner, I get an error. So some documentation would help.
function OnRequestStart(sender, args) {
                //get a reference to the current RadWindow
                var oWnd = GetRadWindow();
                args.set_eventArgument(oWnd["EmailAddress"]);
            }

Thanks
Sunil

3 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 28 Dec 2010, 02:52 PM
Hi Sunil,

The OnRequestStart and OnResponseEnd event argument does not have a property set_eventArgument(). You can only get the event argument throug the get_eventArgument() property. And it should return the value of the postback event argument, e.g. the __EVENTARGUMENT of the post.

Greetings,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
SUNIL
Top achievements
Rank 2
Iron
answered on 30 Dec 2010, 08:34 PM
Hi Iana,

I came across your documentation that said there is a method called 'set_eventArgument' for the event 'OnRequestStart'. Please see attached documentation from Telerik that clearly says this method exists. It seems your documentation is incorrect, and it needs to be modified.

Thanks
Sunil
0
Iana Tsolova
Telerik team
answered on 03 Jan 2011, 12:41 PM
Hi Sunil,

Thank you for bringing us to this issue. The information in the preceding help article is worng and we will fix it for the next version of the control documentation.
Additionally, I have updated your Telerik points.

Regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Ajax
Asked by
SUNIL
Top achievements
Rank 2
Iron
Answers by
Iana Tsolova
Telerik team
SUNIL
Top achievements
Rank 2
Iron
Share this question
or