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
write2jey
NA
69
0
TabPage Component Duplication
Feb 8 2005 2:16 PM
I've a TabControl, with multiple TabPages. Each TabPage has a ListView. The ListView displays files from a remote system. So, each TabPage will contain different files/folders from various remote systems in the ListView. I want to duplicate the Attributes of this ListView to all the TabPages. I'm trying to solve this problem with Inhertiance, but I'm running into problems such as the ListView events not working and such..... I can't call the constructor with "new", because it's creates a compeletely new ListView object and I've to set all the properties of it and EVENTS as well... That's why I was trying to Implement ICloneable......... I was also suggested to make the ListView.Parent = TabControl.SelectedTab in the TabSelelctedIndexChanged event handler and switch the ListView and Update the Contents of the ListView. In that, I am pretty much stuck with "preserving the state/data" of each ListView and Retrieving them accordingly. Is there any way out? JJ
Reply
Answers (
0
)
Duplicating a Form Component? Cloning etc...
TextBox not reflecting changes made to it