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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Nov 20, 2009, 9:59 PM
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 :)
Dipa AhujaPosted Nov 20, 2009, 10:22 AM
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 PatelPosted Nov 19, 2009, 8:16 AM
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 ??
Lalit MPosted Nov 19, 2009, 12:40 AM
More info.
Please If Help you then accept my answer..
keshav singhPosted Nov 18, 2009, 10:50 PM
code
if this helps you, Mark it as Accepted
Thanks
keshav