We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

After adding Update panel webgrid not working properly

Hi Amjad,

I have placed the grid into the update panel. Firstly it loads properly and also command buttons are also working. But after pressing the button the grid distorts and becomes long and also commnad button stops working.

Please suggest

Regards,

Nikhil

Hi,


Could you create a sample project with v2.7.x of GridWeb, zip it and post it here, we will evaluate it soon.

Thank you.

Hi Amjad,

please find the attached zip with added update panel.

Issues:

First time loaded properly but after pressing the button the WebGrid control destorted and also no command button works

Regards,

Nikhil

Hi,


Thanks for the project.

I have logged a ticket for your issue with an id: CELLSNET-40100. We need to investigate the issue thoroughly, we will do it. We will get back to you in the next week.

Thank you.

Hi,


We have tested the test project, it works fine, please add the following code to page_load event:

ScriptManager1.RegisterPostBackControl(GridWeb1);

So, the similar code would be like following:

protected void Page_Load(object sender, EventArgs e)

{

ScriptManager1.RegisterPostBackControl(GridWeb1);

// Put user code to initialize the page here

if (!IsPostBack)

{

LoadGrid();

}

}

Thank you.