More in this section

Forums / Developing with Sitefinity / RefreshUi: reload whole control?

RefreshUi: reload whole control?

2 posts, 0 answered
  1. Jeff
    Jeff avatar
    6 posts
    Registered:
    30 Nov 2011
    06 Jan 2012
    Link to this post
    Hey guys, I feel like there must be a simple way to do this, but I can't come up with it at the moment.  I have a widget that is built from a listview.  In my designer.js, I would like to be able to refresh the whole control when somebody makes new selections in the designer.  The only way I can think of to do this is to make an ajax call to a method which generates the new html and returns it, but it seems like I'd be breaking the "Don't Repeat Yourself" rule of programming.  Any more elegant or simpler suggestions would be appreciated.

    I'm new to sitefinitiy so it just may be a lack of understanding of the basics.
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    06 Jan 2012
    Link to this post
    Like you want the widget in the background behind the modal window to update?
2 posts, 0 answered