Async-ASP.NET icon indicating copy to clipboard operation
Async-ASP.NET copied to clipboard

bind gridview in Page_Load

Open omarmallat opened this issue 3 years ago • 0 comments

Hi. I noticed all your examples are binding the gridview within the Page_Load by using RegisterAsyncTask. is this a better way that defining async select method for each gridview? <asp:GridView ID="GridView1" SelectMethod="GridView1_GetData" runat="server"></asp:GridView> and in code behind: public async Task<IQueryable> GridView1_GetData()

omarmallat avatar Mar 28 '21 06:03 omarmallat