1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / interaction between controls

interaction between controls

2 posts, 0 answered
  1. serge gommers
    serge gommers avatar
    1 posts
    Registered:
    17 Jan 2010
    29 Mar 2011
    Link to this post
    Hi,

    suppose i've created an orders module that defines 2 controls, first an orderview control, and next an orderdetails control. Both of them are placed on the same page. How to update the orderdetails control when a new order is selected in the orderview control?

    In other words, what is the best practice to let controls interact?

    Regards,

    Serge

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    31 Mar 2011
    Link to this post
    Hello serge,

    You can append a query string in the url when you update the order, and the other control will read it and update its content. Another option is using one control and using events inside it, so you will avoid the query string.

    You might find this demo useful

     

    http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/firstlook/defaultcs.aspx


    Best wishes,
    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered