Obout Grid in UpdatePanel gets disabled on asynchronous postbacks

1.2k Views Asked by At

I have a Obout Grid inside usercontrol and usercontrol is inside updatepanel. User control is not loaded dynamically. It is registered and a static reference is made. Obout Grid is getting disabled , whenever there is an asynchronous postback from grid or usercontrol.

I cannot select any rown or do anything on the grid. I can see that Obout grid is getting updated or usercontrol is working good, as same usercontrol is referred in many other places.

Help is really appreciated. I really cannot understand why the Obout grid is getting disabled. Initial load is good and also when grid makes a full postback it works good,but not for asynchronous postback ( I think so).

Edit:

Enabled is true. Grid is also not readonly. But i cannot click on grid or any buttons on my grid.

<asp:UpdatePanel ID="uplSelectOwner" UpdateMode="Conditional" runat="server">
   <ContentTemplate> 
      <tuc:selectOwner ID="uclSelectOwner" runat="server"/> </ContentTemplate> 
   <ContentTemplate>
</asp:UpdatePanel> 
2

There are 2 best solutions below

0
On

Try to set CallbackMode property of grid to false (link).

0
On

in pageinit assign:

this.grid.id= this.id +"grid";

The grid id repeat for each user control, then only one funk.