[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.buildingcontrols

Problem of Refreshing Changes from Property window

HipHopper

11/13/2007 8:01:00 PM

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???