Hi All,
I am attaching an object to my aspx page. Since the object's type is determined at runtime, I want to be able to set the value of this object's type parameter to a hiddenfield value which I set when I run my web application.
<asp:HiddenField ID="hiddenField1" runat="server" />
<object id="myObject"
type="hiddenfield1.value???">
</object>
As you can see in the code snippet above, I need to set the type to the hiddenfield's value. How do I go about this.
Thanks.