Example for set_eventArgument() in OnRequestStart event

4 posts, 1 answers
  1. Sunil
    Sunil avatar
    230 posts
    Member since:
    Jan 2004

    Posted 25 Dec 2010 Link to this post

    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
  2. Answer
    Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 28 Dec 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sunil
    Sunil avatar
    230 posts
    Member since:
    Jan 2004

    Posted 30 Dec 2010 Link to this post

    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
  5. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 03 Jan 2011 Link to this post

    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.
Back to Top