New to WindowsForms

S

Sam

Hi I am learning windows fomrs and started with the sample in the quickstart
tutorials and I am not able to display the control on my aspx page.
I created a control library with one simple control having a panel and a
button. panel's visible property is false by default and I added color to
panel.
On the button press event , I set the visible property of the panel to true
to show the panel.
This control is created as test1.dll and then added to a web application and
added to aspx page as an object and calling with the classid property to
display the control. I have also set the objects property "VIEWASTEXT' .

The problem is that the aspx page does show the placeholder but does nto
display the control.
what am I doing wrong?

Please advice.

thanks
sam
 
M

Michel Prévost

Would that be possible that you mixed up Windows Forms and Web Forms?

The subject talks about windows forms but your message seems to talk about
web forms (aspx).
 
S

Sam

I don't think so.

I went to Quickstart tutorials and there is a main menu section called
winforms.
I started reading that and there is section called "Controls in Internet
Explorer" in the left hand menu.
and if I understand it correctly, they do the exactly same thing as I did
but I am still facing issues and it does not work for me.

Also I went through lot of other sites related to smart client application
development and use in web browser.
I think I am in right track but need some help to get success.

Please guide me if i am doing any thing wrong.

Sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top