Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top