I have the following UniGrid on a module page:@cms:UniGrid ID=@ugResponses@ runat=@server@@
@GridColumns@
@ug:Column Source=@UserID@ Caption=@User@ Wrap=@false@@@/ug:Column@
@/GridColumns@
@/cms:UniGrid@
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?Thanks!
↧