J
Jamil
Hello,
I am loading the user control daynamically using
Page.LoadControl('mycontrol.ascx").
But with this i can not get my datamember's properties.
For example i declare a private integer variable
then i write a property to get or set the value of that private integer
variable.
But with the above method i can'nt get that property.
the second way is to create the object of mycontrol class and then add it in
the page.controls collection.
but with this it did not show the controls of user control like textboxes
and buttons.
Reply me soon please....
Regards,
Muhammad Jamil Nawaz
I am loading the user control daynamically using
Page.LoadControl('mycontrol.ascx").
But with this i can not get my datamember's properties.
For example i declare a private integer variable
then i write a property to get or set the value of that private integer
variable.
But with the above method i can'nt get that property.
the second way is to create the object of mycontrol class and then add it in
the page.controls collection.
but with this it did not show the controls of user control like textboxes
and buttons.
Reply me soon please....
Regards,
Muhammad Jamil Nawaz