Wednesday, March 28, 2012

Ajax Update Panel

I have used a Multiview. In that I have used 2 views. In first view, i have a gridview in update panel with Id-'UpdatePanel4'

In second view, i have another gridview in update panel with Id-'UpdatePanel5'

First datagrid displays Header and second datagrid displays details.

In first Datagrid, I have used link buttons in one column. I have used rowcommand event for that column. So when i click on that linkbutton, I want Details in another datagrid in another view.

But I m getting error when i click on linkbutton of datagrid. The error is :

"Sys.InvalidOperationException: Could not find UpdatePanel with Id 'UpdatePanel5'. If it is being updated dynamically then it must be inside another update panel"

Please reply me with appropriate answer very soon...

Hiral

Hi,

Even I am facing the same problem of "Could not find UpdatePanel with Id ' --' .If it is being updated dynamically then it must be inside another update panel"

Swapy


I'm having exactly the same problem! It'd be nice if someone actuallly responded!!!!!

Karen


I am also facing the same problem. Is there a expert out there who can solve this??


if gridview is inside any container control(lk panel), then apply updatepanel to container contro
if gridview is inside any container control(lk panel), then apply updatepanel to container control

Multiviews are dynamic controls. Hence the views inside of the multiviews are rendered on runtime. Therefore you cannot put updatepanel's inside of the views because they won't be able to be referenced by the ScriptManager on page load.

View the following forum post:http://forums.asp.net/thread/1349392.aspx

JoeWeb

No comments:

Post a Comment