Problem of Refreshing Changes from Property window

H

HipHopper

Hi,

When I do some changes to the control properties it doesn't refresh it's
child controls.

For Example, I have a composite control with child controls a TextBox
and a RequireFieldValidator.

I expose the whole RequiredFieldValidator as a property with
DesignerSerializationVisibility attribute.

public RequiredFieldValidator RequiredFieldValidatorControl

The property window now displays all the RequiredFieldValidatorControl
properties. The problem is it did not work if I made change to CssClass
property in property window. However, it works only if I typed in source
like <RequiredFieldValidatorControl-CssClass="BigFont">

Is there a way to force a refresh of the child controls at design time???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top