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
tormods
NA
4
0
Control persistence/ custom properties. Active-X functionality.
Sep 22 2004 8:26 AM
Hi, I am making some general .NET window controls. I wish to implement persistence so that it is used if the parent allows it, so the control can be used both in my application and outside it (but when outside it may not support persistence for the control). In ActiveX this was solved by retrieving property bag from the parent. What options are there to implement such persistence using dotnet in general window controls? Are there ways of querying the parent for known property names? Can the control send/receive properties for persistent storage with the parent in other ways without stopping being a general dotnet control? Also wonder if my application can implement general persistence/serialization for third party controls somehow. I'm currently thinking of using attributes to mark some properties for serialization and then serialize the controls using reflection. Sounds a bit tedious when it's just one or two strings which shall be preserved by the server. Thank you for your help.
Reply
Answers (
2
)
Trapping backspace character key presses?
licence key in usercontrol