Monday, March 26, 2012

WEB Controls Collection

I'm used to spinning through contorl collections in VB6 to set contorl properties on the form load event. Now I would like to do the same thing in the page_load event. However, it appears that the .NET framework does not support contorl collections. I am wondering if there are any snippets out there of how I can spin through the webcontrols in a page so that I can set properties som sort of looping routine.http://www.aspnet101.com/aspnet101/tips.aspx?id=97

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"ALPO" <anonymous@.discussions.microsoft.com> wrote in message
news:18A651A8-6C34-48BF-B9FB-D6B379C282C0@.microsoft.com...
I'm used to spinning through contorl collections in VB6 to set contorl
properties on the form load event. Now I would like to do the same thing in
the page_load event. However, it appears that the .NET framework does not
support contorl collections. I am wondering if there are any snippets out
there of how I can spin through the webcontrols in a page so that I can set
properties som sort of looping routine.

0 comments:

Post a Comment