Ajax - Master Pages - ScriptManager - Web User Controls

G

Guest

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?

Thanks,
Larry
 
W

Walter Wang [MSFT]

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.

Sincerely,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
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
promptly.

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
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top