Page 1 of 1

DbLinqDataSource issue when on Master page

Posted: Sat 01 Jan 2011 00:22
by DocDweeb
Hi,

I have dotConnect for MySql, and LinqConnect, the latest releases from December 2010.

When I add a DbLinqDataSource to a plain ASPX page it works fine. In Design Mode I can click the smart tag and select 'Configure Data Source'. In the 'Choose your context object' drop-down I can find the .LQML models I built, and proceed from there.

However, when I try the same steps with an ASPX page that uses a Master page, this does not work. I add the DbLinqDataSource into the asp:Content section. In Design Mode I click the smart tag, select 'Configure Data Source'. The 'Choose your context object' drop-down does not contain my models!

Can anybody help?

-Doc

Posted: Sat 01 Jan 2011 05:03
by DocDweeb
Maybe it's not tied to a Master page...
I keep trying different things... sometimes my model appears in the 'Choose your context object' drop-down, and sometimes not.
Can't figure it out!

Maybe I have a corrupted install?
The checkbox that's supposed to say 'Show only data context objects' only says "Show only" with nothing else. The checkbox does seem to do what it's supposed to do, though...

Frustrating...

Posted: Mon 03 Jan 2011 15:20
by StanislavK
Such issue may occur with just created DataContexts; it is necessary to re-compile the application after creating a new DataContext class so that this class will be available in the DbLinqDataSource configuration dialog.

If the problem persists after re-building the application, please send us a test project with which it can be reproduced.