Reputation: 3304
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?
Upvotes: 0
Views: 577
Reputation: 151594
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.
Upvotes: 0
Reputation: 943569
Encode the HTML document as a data:
scheme URI and set it as the src
to the frame.
Upvotes: 1