I've dumbed down my page about as much as I can.
I'm setting the DataSource of my RadGrid to the EL4 Database.ExecuteReader result.
Then I'm calling DataBind.
When I have EnableViewstate=true all works fine.
When I set EnableViewstate=false it fails (error below).
Any thoughts? Anyone seen this before?
Thanks,
Kevin
I'm setting the DataSource of my RadGrid to the EL4 Database.ExecuteReader result.
Then I'm calling DataBind.
When I have EnableViewstate=true all works fine.
When I set EnableViewstate=false it fails (error below).
Any thoughts? Anyone seen this before?
Thanks,
Kevin
Server Error in '/InternalAspx' Application.
Invalid attempt to call FieldCount when reader is closed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Invalid attempt to call FieldCount when reader is closed.
Source Error:
|
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082