all groups > asp.net building controls > march 2006 >
You're in the

asp.net building controls

group:

Webcontrol nulls values?


Webcontrol nulls values? DrBytes
3/13/2006 1:32:28 AM
asp.net building controls:
Guys,

I have a problem.
I have an ASCX I created with listbox on it. this ascx also exposes a
SortedList property called Values.
THis property is read on CreateChildControls in the ascx and populates the
listbox with it.
I set the the Values property of the ascx in the OnLoad of the hosting page.
But by the time the CreateChildControls fires in the ascx the Values
property is NULL again,.. What am I missing ?

Re: Webcontrol nulls values? Teemu Keiski
3/18/2006 2:39:44 PM
Hi,

post some code.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

[quoted text, click to view]

AddThis Social Bookmark Button