PDA

Click to See Complete Forum and Search --> : Nested OCX - problem occurs...


tduccuong
Dec 7th, 2005, 08:26 PM
Hi :)
I have created an OCX (OCX1) which contains standard controls textbox and button. I also created my own ASP.NET application (APP1) which will contain the OCX1 in the web form. I compile the application and start to run it by requesting it from a client. Everything is fine! The OCX1 appears in the webform when the application is run.

Now I create another OCX (OCX2) which contains OCX1 and one standard button control within it. This OCX2 will be used in my APP1 instead of OCX1 and the problem occurs here! When I request APP1 from a client, the page is loaded normally except 1 thing: the OCX2 does not appear!.

Can any one tell me what I did wrong? I even created Internet package for OCX2 and placed the code :"codebase=<packagename#version>" in my source code. But the problem is still there!

Thank you.