Korzh.com developer tools forums :: View topic - QueryPanel1.Model is read-only?
Korzh.com
home : Community forums  FAQFAQ   SearchSearch  |  RegisterRegister  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
QueryPanel1.Model is read-only?

 
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery ASP.NET
View previous topic :: View next topic  
Author Message
vzander
Novice


Joined: 11 Aug 2010
Posts: 1

PostPosted: Wed Aug 11, 2010 12:56 am    Post subject: QueryPanel1.Model is read-only? Reply with quote

I've just installed version 2.7 (trial). The sample webpage does not load... I get an error:
QueryPanel1.Model = Session().Item("DataModel")

In VisualStudio, the references and all other code seems to be in place and working. I've tried to re-build the site with no improvement.

Thanks in advance,

VZ
Back to top
View user's profile Send private message
Admin
Site Admin


Joined: 07 Nov 2005
Posts: 272

PostPosted: Wed Aug 25, 2010 8:45 pm    Post subject: Reply with quote

We have already fixed this issue.
You may download an updated version from our web-site.
Back to top
View user's profile Send private message
CedricL
Veteran


Joined: 28 May 2008
Posts: 11

PostPosted: Tue Oct 05, 2010 7:11 am    Post subject: Reply with quote

Hi,

I have just downloaded the latest release available (registered version saying that has been last updated on 27-sept-2010) and I still got this issue (read-only QueryPanel.Model)

This issue needs a quick fix please.
Back to top
View user's profile Send private message
Sergiy
Guru


Joined: 07 Nov 2005
Posts: 389

PostPosted: Wed Oct 13, 2010 1:43 pm    Post subject: Reply with quote

Model property is read-only in the latest version.
You do not need to set it.
Just remove the code which assigns some value to this property.
Now you only need to assign Query object to your QueryPanel and other components. Since Query has a link to DataModel through its Model property - we always know what data model to use.
_________________
With the best regards, Sergiy Korzh.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery ASP.NET All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group