Error when using useinsideupdatepanel

Jan 8, 2009 at 4:01 PM
If I add the attribute useinsideupdatepanel and set it to true

I get the error in the line below message below on any acsyncrousposts , so nothing can be used within my page

this._flash.CallFunction("<invoke name=\"cancelAll\" returntype=\"javascript\"></invoke>");

Please can you help!

The error in VS is 'unknown Excpetion'


Jan 9, 2009 at 1:28 PM
OK i managed to get rid of the problem by removing it from inside an <asp:panel>

Is there a way around this as Ideally I want to put it inside this

Jan 9, 2009 at 6:49 PM
From what you are saying I am not sure what the issue is.
Jan 9, 2009 at 6:55 PM
And by the way Update Panels are a good thing if you need to do something quick and dirty but for more stable code they are actually quite bad choice, because if you use them:
- you will send the same HTML over and over back and forth
- you will instanciate a whole bunch of objects for each request event though you need just 10% of them

Consume services instead!