Pass param to page

2 posts, 0 answers
  1. Mehrdad
    Mehrdad avatar
    17 posts
    Member since:
    Jan 2011

    Posted 07 Feb 2011 Link to this post

    Hi,
    How can I pass a parameter to in javascript request of RadAjax and get it in form_Load of page?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Feb 2011 Link to this post

    Hello,


    You could pass the parameter (when invoking ajaxRequest) from client side as shown below.

    Client code:
    var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
    ajaxManager.ajaxRequest(arguments); // pass arguments

    Now access the parameter passed from the  e.Argument value in the AjaxManager_AjaxRequest event.

    More information will be available here: OnAjaxRequest event , ajaxRequest(arguments)



    -Shinu.
Back to Top