PC Review


Reply
Thread Tools Rate Thread

Can only have 1 ProvidePropertyAttribute on ExtenderProvider ?

 
 
Ed West
Guest
Posts: n/a
 
      26th Sep 2005

I can't get this to work with more than 1 provideproperty attributes...
only the first one is showing up on the properties tab in a form... any
ideas? thanks

ie

[ProvideProperty("PropertyName", typeof(ComboBox)),
ProvideProperty("PropertyName", typeof(TextBox)),
ProvideProperty("PropertyName", typeof(CheckBox)),
ProvideProperty("SettingComboBoxValueType", typeof(ComboBox))]
public class AppSettingsProvider : Component, IExtenderProvider

nor

[ProvideProperty("PropertyName", typeof(TextBox))]
[ProvideProperty("PropertyName", typeof(CheckBox))]
[ProvideProperty("SettingComboBoxValueType", typeof(ComboBox))]
public class AppSettingsProvider : Component, IExtenderProvider
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ProvidePropertyAttribute JC Voon Microsoft VB .NET 2 13th Dec 2004 09:22 AM
Question: How do you retrieve Properties provided by an ExtenderProvider through reflection? Jason Microsoft Dot NET Framework 0 13th Sep 2003 10:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:01 PM.