I have designed my web page in asp.net its in aspx page. i need to covert it into html page .Because my server not support .aspx page help me to solve this issue
Open it on your local machine in a browser, view the source (View | Source in IE, View | Page Source in Firefox etc ), then save that page source as pagename.html.
Obviously you'll lose any asp.net page methods etc.
or
put it on a server that supports asp, and then view the source and copy to a static html file
That is not a good idea, if I understand you right.
HTML files are static - the only processing allowed is on the client machine, via javascript.
ASPX files are dynamic, there is processing on the server each time the page is loaded or interacted with by the user, and this generates HTML which is passed to the client browser.
If you convert your ASPX to HTML you will lose all the dynamic elements of the page. Try it: Load your ASPX page in the browser and right click. Select "View Page Source (or whatever your browser calls it) and save that to you local HDD. You can load it, and it will look like your page, but nothing will actually work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With