CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 1/31/2007 10:48:16 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 29 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"pzolja2" <>
NewsGroup User
HTML view intellisense support1/31/2007 10:48:16 PM

0

I have a custom control that links to other controls on the same container. To link to other controls I have a LinkID string property. Implementing a custom TypeConverter class allowed me to show a list of valid IDs. All this works fine in the design view using the property editor. What I would like is to offer the same drop down list I have in design view in HTML / source view.

I've searched quite a bit on the net but haven't even come close to an answer -- most likely I'm not searching for what I'm supposed to.

Any suggestions are welcome, thank you...

Peter.

"albertpascual"
NewsGroup User
Re: HTML view intellisense support2/1/2007 4:03:41 AM

0

You should have intellisense while using HTML designer for controls. If you have any problems this post can help you. The problem is when you installed AJAX

http://weblogs.asp.net/scottgu/archive/2005/12/02/432077.aspx


Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
"Mikhail Arkhip
NewsGroup User
Re: HTML view intellisense support2/1/2007 4:23:51 AM

0

There are no live control instances in Source view as designer is closed. Therefore code in the control is not running and type convertors / editors won't work. Intellisense is driven from XML schemas that are produced from the control via reflection. Unfortunately, this is not a dynamic mechanism, therefore dynamic discovery of available values is not supported. Intellisense is technically extensible, but you have to be familiar with Visual Studio Extensibility (VSIP) architecture to be able to customize it successfully.

Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"pzolja2" <>
NewsGroup User
Re: HTML view intellisense support2/1/2007 1:06:36 PM

0

I was debugging the designer and I've noticed that the TypeConverter wasn't called, so I figured there must be a different way. Most dropdowns are static (like true/false or a list of colors), but in one case I found that they are dynamic (when working with a MasterPage from source view the "client" can give you a list of valid ContentPlaceHolder IDs for ContentPlaceHolderID in Content) which made think it's possible.

The question now is: has this been done before (outside of the people from the VS team) and is there a tutorial out there to guide me through this or am I asking too much? Smile 

Thank you,
Peter.
 

"Mikhail Arkhip
NewsGroup User
Re: HTML view intellisense support2/5/2007 4:53:00 AM

0

Yes, there are plenty of products that extend VS functionality, including intellisense, such as Whole Tomato for C++, Resharper for C#, RefactorASP.

http://msdn2.microsoft.com/en-us/vstudio/aa700819.aspx 

VSIP free DVD: http://msdn.microsoft.com/vstudio/extend/partnerdvd/ 


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"ZibkoffM" <>
NewsGroup User
Re: HTML view intellisense support2/8/2007 7:05:02 PM

0

I have 2 similar problems:

 

1 - I created my own datasource class that has a public parameters collection on it. I can use the designer perfectly to create new parameter objects for the collection, however in html edit mode, intellisense isn't able to let me select known parameter types, and they have to be keyed in manually.

2 - I'm having a similar problem with the gridview control that I subclassed when adding to the columns collection.

 

Any help would be appreciated
 

6 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT