Frage

In asp.net website page i have a frame. I want to load the frame with a html page. But not by specifying frame source as html file,instead by using html source. The source may be varying and i will be fetching it from my database.

So how to load a frame with html source in ASP.net?

War es hilfreich?

Lösung

Encode the HTML document as a data: scheme URI and set it as the src to the frame.

Andere Tipps

The source may be varying and i will be fetching it from my database.

Then link the frame to a page that pulls and prints the HTML, giving the primary key as query string parameter.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top