RadCombo : populate from a window

3 posts, 0 answers
  1. sreedhar ambati
    sreedhar ambati avatar
    36 posts
    Member since:
    Aug 2009

    Posted 16 Jun 2010 Link to this post

    Hi

    I have a Country radcombo in a page. I have a anchor link to open a new window where we can a new country.
    On close of  the window the newly added country should present in the radcombo and it should be in selected state.
    Can you please a small sample to achieve this?

    Thanks
    Sreedhar Ambati
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Jun 2010 Link to this post

    Hello Sreedhar,

    Invoke an ajaxRequest() in the OnClientClose event handler, and databind the combo in 'RadAjaxManager1_AjaxRequest' event. I hope the following forum explains more.
    Rebind RadComboBox when RadWindow Closed

    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 14 Jan 2011 Link to this post

    Hello,
    See here on how to add items by code:
    http://demos.telerik.com/aspnet-ajax/combobox/examples/programming/addremovedisableitemsclientside/defaultcs.aspx

    Then here to see how to return values from a dialog.
    http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx

    I prefer that solution to avoid having to use a postback,
    John.
Back to Top