L
Lan H. Nguyen
I used the technique from this article
http://msdn.microsoft.com/asp.net/u...l=/library/en-us/dnaspp/html/usercontrols.asp,
that set the properties to ViewState but I have 2 problems:
1. An object reference error when I tried to set user control's property
like the article did ( the sample code from the article actually worked )
2. When I created an instance of that user control to solve the problem from
#1, then set its property but it didn't take. ( I also tried to not use
ViewState but no work either )
The aspx file inherits Page and ascx file inherits UserControl like the
article has.
Anybody has this same problem or knows what I am doing wrong?
Thanks,
Lan
http://msdn.microsoft.com/asp.net/u...l=/library/en-us/dnaspp/html/usercontrols.asp,
that set the properties to ViewState but I have 2 problems:
1. An object reference error when I tried to set user control's property
like the article did ( the sample code from the article actually worked )
2. When I created an instance of that user control to solve the problem from
#1, then set its property but it didn't take. ( I also tried to not use
ViewState but no work either )
The aspx file inherits Page and ascx file inherits UserControl like the
article has.
Anybody has this same problem or knows what I am doing wrong?
Thanks,
Lan