468,107 Members | 1,393 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

Ajax - Master Pages - ScriptManager - Web User Controls

I have an app using Ajax. The scriptmanager is within the form that is
within the master page. I also have web user controls that are doing partial
rendering and are "borrowing" or "inheriting" the scriptmanager from the
master page. Heck, when they're rendered, the scriptmanager is on all the
pages and it works.
However, in the VS2005 designer, I constantly see "Can't render image"
errors, and it's nearly impossible to effectively use the WYSIWYG designer
with those errors.

Is there some way to increase the intelligence of the contained objects so
they know that THERE IS a scriptmanager control on the page, but that it's in
the master page?

Feb 23 '07 #1
1 7374
Hi Larry,

I cannot seem to reproduce the issue you're experiencing. This is probably
because I'm only testing with a simple UpdatePanel and some basic server
controls. If you could elaborate more about your master page and content
page, I can verify that again on my side.

However, please note that since AJAX is just released recently and even our
latest SP1 of VS2005 doesn't have much support for the AJAX. We plan to add
full support for AJAX in next version of Visual Studio -- code named Orcas.
Therefore, we might see currently VS2005 has some limitations here
regarding AJAX designer.

Regarding the intellisense related to Master Pages, there's one directive
might help you here: in your content page, you could use the directive "<%
@ MasterType" to explicitly let the designer know which exact master page
the content page is using, and then the "Master" property of the page will
point to the strong-typed master page class:

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<%@ MasterType VirtualPath="~/MasterPage.master" %>
Hope this helps.

Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Get notification to my posts through email? Please refer to
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at

This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 26 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by =?Utf-8?B?SGFyZHkgV2FuZw==?= | last post: by
6 posts views Thread by mike | last post: by
2 posts views Thread by Paras | last post: by
2 posts views Thread by =?Utf-8?B?REo=?= | last post: by
1 post views Thread by Mark B | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.