How to pass parameters from a radwindow to an aspx page

2 posts, 0 answers
  1. Manesh
    Manesh avatar
    24 posts
    Member since:
    Feb 2012

    Posted 10 Feb 2012 Link to this post

    Hello there,

    I'm unable to sort out how to pass the parameters from a selecte item in radwindow to a textbox.

    means we have a textbox and a small button, so if we click it it opens a small radwindow and if we select any item or anything so how to pass it from the window to the textbox. means how to do it using the "Request.QueryString"............

    please help my friends
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Feb 2012 Link to this post


    Try the following javascript to pass selectedvalue to TextBox in aspx.
    <script type="text/javascript">
     function OnClientClick()
       window.radopen(null, "RadWindow1");
     function OnClientSelectedIndexChanged(sender, args)
       var textbox = document.getElementById("TextBox1");     
       var itm=args.get_item().get_text();
       textbox .value=itm;
    Note: I am using RadCombobBox inside RadWindow.
    Also take a look into the following demo.
    Window / Returning Values from a Dialog

Back to Top