proy said:
Quote:1. What should I do in my control for creating parameters which are displayed in <param> tag in an ASP or HTML page? For e.g. the TextRTF property of the RichTextBox control is displayed as a parameter in <param> tag when embedded in a HTML/ASP page. This is needed for initalizing the control with some string. The same thing I want in my control.
hmm.... Well, if you expose the TextRTF property, and link it to the richtextbox's textrtf property, then the same thing should happen....
Quote:
2. Do I have to override all the properties of the RichTextBox in my control? Is there any way to map the RichTextBox properties to my control?
The only properties made available are the ones that you write. TextRTF (or anything else) will not be available unless you write a property for it in your control...
Enter your message below
Sign in or Join us (it's free).