On Postback Gridview not persist data on WEBUSER CONTROL in KEntico Wabpart

seasia infotech asked on May 2, 2014 00:30

Hi Team,

I have a list page on which I have used asp.Gridview control. My Code like protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { GridView.datasource=Table; ''// Providing datasource } }

But on Rowcommand event my task not performing and grid gets blank means not persisting data.
If I put datasource on each IsPostBack then it working fine you know this not right way to do work

Please help me in this scenario


   Please, sign in to be able to submit a new answer.