devxlogo

Pass PARAM to OCX From ASP

Pass PARAM to OCX From ASP

Question:

How do I pass a login ID from my ASP page to my OCX? I created a public property in the OCX, but it is not getting the data when I do:

What should the code look like in Visual Basic?

Answer:

Remember that you can use ASP to generate any of the HTML that will be displayed in your browser, including any HTML, client-side script, PARAM tags, and so forth. This is a powerful and often overlooked aspect of ASP. You could pass the value from ASP to your tag simply by writing the value of an ASP variable in the place where you want the value to appear in the page. You can modify this example code to suit your specific application:

devx-admin

Share the Post: