TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tushar Malhotra
NA
10
0
To display a list of strings in the property window of a custom control and to map the selected item of the list in the property window
Feb 12 2011 9:17 AM
I'm creating a custom control in ASP.NET suing C#.NET
The control has a property say Drive, that shows the list of all drives in the property window.
If I select any drive from the "Drive" Property of that control then how can i map the selected Item in the code behind.
public List<string> allDrives = new List<string>();
Public List<string> Drive
{
get
{
return allDrives;
}
set
{
allDrives = value;
}
}
Now, this property of my custom control helps to load the list of drives in the "Drive" property and shows all the list of drives as a collection.
If I select any drive then there is another property that loads the list of directories in the another property
in that selected drive.
Reply
Answers (
1
)
Grid of Custom Controls??
DevExpress Controls for an Open Source project