HomeActive Query BuilderBuild ASP.NET with 2010

Build ASP.NET with 2010


Trying to build a new sample application using VS 2010 and ASP.NET control. Followed the steps in the read me and got to a point where the web page will render but says Error during loading SQL! If I step thru the code it when it does the line.

Dim control As QueryBuilderControl = TryCast(sender, QueryBuilderControl)

control is nothing after the step. If I remove the trycast I get

Unable to cast object of type 'ActiveDatabaseSoftware.ActiveQueryBuilder.Web.Server.SessionStoreItem' to type 'ActiveDatabaseSoftware.ActiveQueryBuilder.Web.Control.QueryBuilderControl'.

Any insight on what I am doing wrong?
Bruce Canino | email
June 15 2011, 10:50 PM
Never mind, I tried some other things and got the page to render.
Bruce Canino | email
11 hours, 51 mins since original post
Dear Bruce,

Unfortunately it is not possible to investigate your problem without knowing the context: the event name and preceding code. I can only suggest to use the globally available link to the current QueryBuilder instance:
ActiveDatabaseSoftware.ActiveQueryBuilder.Web.Server.SessionStore.Current.QueryBuilder
Sergey Smagin | email
1 day, 12 hours since original post
This topic is closed