Control.PreRender

  • Thread starter Thread starter Adrijan Josic
  • Start date Start date
A

Adrijan Josic

Am I right to think that PreRender event on web controls
doesn't trigger if the control is invisible?
 
Yeah, it goes pretty much like that. Internal recursive method of base
Control class does not call the actual OnPreRender method (which raises
corresponding event) when Control's Visible property is False.
 
Back
Top