HighTechTalks DotNet Forums  

Problem of Refreshing Changes from Property window

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Problem of Refreshing Changes from Property window in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
HipHopper
 
Posts: n/a

Default Problem of Refreshing Changes from Property window - 11-13-2007 , 03: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???

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.