hello i want to add new .aspx page at runtime by clicking one button !
how to do that?
Thanx!!
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
keshav singhRank #3,113 · 460 reputationPosted Nov 18, 2009, 5:50 PM EST
code
if this helps you, Mark it as Accepted
Thanks
keshav
Lalit MRank #1,186 · 1.5K reputationPosted Nov 18, 2009, 7:40 PM EST
More info.
Please If Help you then accept my answer..
Kirtan PatelRank #292 · 8.6K reputationPosted Nov 19, 2009, 3:16 AM EST
i know you are building e commerce website so i think no need in that web :)
its hard to build aspx page with code behind file becaus after creating the aspx page you also need to think about
writing related code for codebehind of that page .
if its simple HTML then you can build it using
System.IO;
StreamWriter class use write method to create a file .
But i will not recommend this ..
in which senario you need this ??
Dipa AhujaRank #1,168 · 1.5K reputationPosted Nov 20, 2009, 5:22 AM EST
To Kirtan.
hi i have catagories lyk "tv, laptop, ipods, dvd,phone etc"
n in admin part i have page jz to update existing products
i want to add facality to add new catagories of product suppose if i dont have mobile product n i want to add the page for that then i have to add new .aspx page for mobile rite?
so thats y i want
Kirtan PatelRank #292 · 8.6K reputationPosted Nov 20, 2009, 4:59 PM EST
Just build One Page That will Display Data From Database According to Query String of Category ...
like when Some one Click on Category TV as all sites do like ebay.com etc
Response.Redirect("DisplayData.aspx?q=TV");
and retrieve that Query String And Show it in Some DataBound Controls like GridView / Whatever you have Used to Show Data .
No need to create Manually New pages Just One Page Will do the work :)