I'm used to spinning through contorl collections in VB6 to set contorl prope
rties 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 suppo
rt contorl collections. I
am wondering if there are any snippets out there of how I can spin through t
he webcontrols in a page so that I can set properties som sort of looping ro
utine.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.
Teemu -
I keep getting the control is not a collection error?
Monday, March 26, 2012
WEB Controls Collection
Labels:
asp,
collection,
collections,
contorl,
controls,
event,
form,
load,
net,
properties,
spinning,
vb6,
web
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment