My website produces and object that I would like to allow my users to "embed" - I have an api url for retrieving parameters etc. - however, when I try to write the embed code to a label it simply shows an embed object, rather than the code.
How can I just return the html code as a string, rather than as html so the user sees the code, not the object? (Using c#)
edit
Just clarifying per the request - I am expecting the user to see embed code: i.e. the string: "<" embed src='myAPIURL?thispageID' height='300' width='800'>" but instead that object is being embedded in the page.
I'm writing to to a label at present.