RenderMode Error?

Feb 17, 2010 at 4:16 AM

Thanks for this exciting component.

However, when I setup the RenderMode just following the instruction, I get an Error:

"

A ScriptManager with RenderMode set to Master is not present. Such ScriptManager must precede one with RenderMode set to Slave."

 

I added a scriptmanager with master-rendermode in master page, and a slave in content page. when i try to run the application, it failed.

So, can i have a further support? Thanks!

Coordinator
Feb 17, 2010 at 5:30 AM

Please see the sample web site included in the source code for examples of using different render modes together with master page.

/Home/About.aspx - uses master mode

/Home/Index.aspx - uses slave mode

 

Feb 17, 2010 at 1:47 PM

My Environment: ASP.NET MVC 2 RC2

Application Structure:

Site.Master - uses master mode

/App_Code/Com_SortCaptcha.ascx - uses slave mode

 

I tried to open the solution inside the source code package, however, I was prompted that Visual Studio 2008 can't load the project file "Sample".....

Coordinator
Feb 17, 2010 at 7:05 PM

You will want to upgrade your VS2008 to SP1 in order to open the sample project.

You can migrate your project to web application project and it should work.

 

Feb 18, 2010 at 1:13 AM

Um....my VS2008 is SP1, and I can't open the sample project still.

I've also installed the DotNetOpenAuth Project Template (MVC), and it fails to create a project of this kind....