The following code allows you to easilly loop thru all webpage controls and change their settings. For example change all ToolTips of the existing Textboxes: Code into PageLoad: Dim strToolTip = "HELP" FindToolTipControl(Page.Controls, strToolTip) ' or: FindToolTipControl(mainTable.Controls, strToolTip...
Posted to
Tips & Tricks
(Forum)
by
DennisBetten
on
01-24-2007, 12:00 AM
Filed under: Page.FindControl, Web Controls, .net, ASP.NET 2.0, ASP.NET 2.0 VB.NET, Controlparameter, controls, FindControl, Master Pages, masterpage usercontrol, MasterPages