Welcome to MSDN Blogs Sign in | Join | Help

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Tip # 30: Did you know... Ajax Extender controls UI behaves differently in VS 2008 than in VS 2005

In VS 2005, you can drag and drop an extender control anywhere on the design surface. However, in VS 2008, you can drop an extender only on an ASP control which the extender can extend its functionality. When you drag an extender and hover it over a control, if the control can support the extender, you would see the cursor turn into a plus (+) sign. If you hover an extender over the blank design surface, or over a control which is not supported by the extender, the cursor will turn into a stop sign which indicates that it can't be dropped at that position.

Another difference is, in VS 2005, an extender is shown in the design surface after being added to the page. However, at runtime, the extender is not shown at all. This makes it hard for developers to truly know how the page will look like at runtime when designing the page. In VS 2008, we have changed that behavior by completely hiding extenders in the design view. The user can recognize if a control is having an extender by checking if the control's smart tag has a little green icon shown.

ExtenderUI

Anh Phan

SDET, Visual Web Developer

Posted: Wednesday, November 26, 2008 8:12 PM by WebDevTools

Comments

Visual Studio Hacks said:

My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. After an unusually long break between posts due to the spectacular hardware failure of my primary dev box (complete with sparks and

# November 29, 2008 2:26 PM

Schmuli said:

Question:

If I have an ASP project from VS2005 and open it in VS2008, how is this issue handled? Does VS2008 support full backwards-compatibility, or will it raise an error or warning? I would actually rather it raised something.

# November 30, 2008 4:43 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker