I have the following UniGrid on a module page:
<cms:UniGrid ID="ugResponses" runat="server">
<ug:Column Source="UserID" Caption="User" Wrap="false"></ug:Column>
If I put this in the Page_Load:
ugResponses.DataSource = CMS.SiteProvider.UserInfoProvider.GetAllUsers();
... it loads the data to the grid as you would expect. If I put the exact same line in a button click handler, it does nothing. I even tried adding ugResponses.DataBind() in the click handler and still nothing.
Any thoughts on why this is happening?
Found the answer here:
In my click handler, I had to add ugResponses.ReloadData() in addition to ugResponses.DataBind().
Please, sign in to be able to submit a new answer.