You can't. An object tag renders a control on the client side. I suggest creating an ASP.NET custom control that wraps the parameters received by this object, and render dynamically the object tag with the parameters you pass. However, you'll have limited control over the control. The definite solution, however, is to replace the control with an ASP.NET version of it, instead of an ActiveX or Windows Forms control... You will also save your customers the hassle of downloading and installing the control.
Dig Deeper on Win Development Resources
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ... Continue Reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers. Continue Reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.