Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Harold Uitslag 2 posts 22 karma points
    Feb 10, 2012 @ 13:05
    Harold Uitslag
    0

    Refresh tab in adminpanel

    I have created 2 IDataEditor usercontrols and added these on 2 different tabs on a DocumentType. 1 usercontrol inserts rows in the database. The other tab shows an overview of the rows in the database.

    I added the insert functionality in an update panel. The problem is, when the rows is inserted, it is not shown on the other tab. There have to be a postback to refresh the rows.

    I have found some methods to refresh the treenode (BasePage.Current.ClientTools.SyncTree), but I can't find a method to refresh the overview tab, after I inserted a row in de insert tab.

    Is there an api method to do this?

  • Harold Uitslag 2 posts 22 karma points
    Feb 10, 2012 @ 15:06
    Harold Uitslag
    0

    I found a solution to my problem. I placed an updatepanel in both. When the insertion is done, I find the other usercontrol. I load the data from the database and bind it to the Repeater. Then I call the update method on the updatepanel.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies