Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
UltraGridRow will not instantiate in code-behind page in SharePoint application
posted

I'm developing a SharePoint application, using code-behind aspx pages. I've managed to get a WebGrid displaying data from a SharePoint list. When I try to instantiate an UltraGridRow, SharePoint throws an 'unknown error' exception. I've tried the identical code in a regular ASP.NET page with no problem.

I'm running NetAdvantage 2008 V 3, CLR 2.0

 Here's the declaration of my variable:

protected UltraGridRow MyActiveRow;

Here's the line of code that works in the ASP.NET app but crashes the SharePoint app:

this.MyActiveRow = new UltraGridRow();

Any ideas on what's causing the problem and what might be the cure?