Using VS 2008 / .NET 3.5 / C#.
To load an external control I have to add an object tag to the body of my pages (<object classid=......>).
However, I do not want this tag to be on all pages, just the one aspx where it is needed. Since all my aspx files use the MasterPage, the only body section is in the MasterPage. Is there a programmatic way to add the object tag only in one aspx file at run time?
I know I can add an Id and runat=server in the body tag of the MasterPage, and refer to the body by its Id, but do not know how to add the object tag.
Thanks in advance.
View Complete Post