| View previous topic :: View next topic |
| Author |
Message |
vzander Novice
Joined: 11 Aug 2010 Posts: 1
|
Posted: Wed Aug 11, 2010 12:56 am Post subject: QueryPanel1.Model is read-only? |
|
|
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 |
|
 |
Admin Site Admin
Joined: 07 Nov 2005 Posts: 272
|
Posted: Wed Aug 25, 2010 8:45 pm Post subject: |
|
|
We have already fixed this issue.
You may download an updated version from our web-site. |
|
| Back to top |
|
 |
CedricL Veteran
Joined: 28 May 2008 Posts: 11
|
Posted: Tue Oct 05, 2010 7:11 am Post subject: |
|
|
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 |
|
 |
Sergiy Guru
Joined: 07 Nov 2005 Posts: 389
|
Posted: Wed Oct 13, 2010 1:43 pm Post subject: |
|
|
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 |
|
 |
|