Add Windows User control in Web User Control
HI,
I am developing C#.NET application in which i have to add windows based user control in my aspx page. My windows based user control contains Scrollbars depending on whose value, the data will vary form DB. For that i added a web based usercontrol. This user control can be directly inherited in my aspx page bt nt the windows based one.
In my web based user control i can c windows based control under separate tab MyUserControl. I dragged it and created an instance of it. Now my problem is tht even after creating an instance of it and loading it i cannot c anything in my aspx page.
This is the code i ahve written on web based user control's page load:
ucProductPriceCalc1=new AdminManager.UCProductPriceCalc();
ucProductPriceCalc1.CreateControl();
ucProductPriceCalc1.Show();
ucProductPriceCalc1.Visible=true;
I dont get any error bt dont c anything on page also
Any help...
Thamkx
|