Creating complete HTML Page on the Fly
-
Hello i want to do that: you call the aspx like that: http://localhost/dummy/dummy.aspx?parameter=hello and the ASP.NET WebApplication should create a HTML Page and let the Browse Display it like that: ..blah... HELLO ! As you can see the HTML Page that is created by the WebApplication and later-on displayed by the Browser. in the future i will create Frame-Sets with this WebApplication - but all ways i tried ended in the fact that the webapplication-HTML-Output is always encapsulated into a form... but i need to output plain HTML Source that does have NO form at all.. (like for a frame-set). Any suggestions ? mfG. Daniel Kirstenpfad
-
Hello i want to do that: you call the aspx like that: http://localhost/dummy/dummy.aspx?parameter=hello and the ASP.NET WebApplication should create a HTML Page and let the Browse Display it like that: ..blah... HELLO ! As you can see the HTML Page that is created by the WebApplication and later-on displayed by the Browser. in the future i will create Frame-Sets with this WebApplication - but all ways i tried ended in the fact that the webapplication-HTML-Output is always encapsulated into a form... but i need to output plain HTML Source that does have NO form at all.. (like for a frame-set). Any suggestions ? mfG. Daniel Kirstenpfad
You can parse the querystring using the
Request
object, and write to the page using theResponse
object. Something like the following:void Page_Load(object sender, EventArgs e) { string s = Request.QueryString["parameter"]; Response.Write(s.ToString()); }
You might want to check out ASP.NET QuickStart Tutorial[^] for more information on learning ASP.NET. -Nick Parker
-
You can parse the querystring using the
Request
object, and write to the page using theResponse
object. Something like the following:void Page_Load(object sender, EventArgs e) { string s = Request.QueryString["parameter"]; Response.Write(s.ToString()); }
You might want to check out ASP.NET QuickStart Tutorial[^] for more information on learning ASP.NET. -Nick Parker
well i´ve managed it by overrideing the Page-Render-Method.... and it works
-
well i´ve managed it by overrideing the Page-Render-Method.... and it works
:) -Nick Parker
-
:) -Nick Parker
sometimes the harder way is the better way ;)
-
sometimes the harder way is the better way ;)
Daniel Kirstenpfad wrote: sometimes the harder way is the better way Sometimes, however that's not necessarily the 'harder' way. :) -Nick Parker