473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Convert Page.aspx to Page.html

AmirGhaffary
Hi every body i heard about some technic that we can show Page.aspx in Page.html , i think this technic used in this site (www.thescripts.com) too , i wanna know how we can do that in asp.net ??

it is so important for me !!
Jan 16 '07 #1
16 24087
AricC
1,892 Expert 1GB
TheScripts.com runs on PHP. I'm not really sure what you mean by make an an ASP.Net page an HTML page.
Jan 16 '07 #2
kenobewan
4,871 Expert 4TB
Do want to:
A. Display page.aspx in an html frame?
B. Display .net code in an html page?
C. Re-write the url so that it says that it is an html page?
D. Convert an aspx page into html?
E. All of the above.
Jan 17 '07 #3
the best code is i can convert an aspx page into html , i think "D" thats i want but if not posibel , "C" not bad too
Jan 17 '07 #4
radcaesar
759 Expert 512MB
When the client requests an aspx page, the server responds with an HTML file format only (i.e The page which u seen on ur browser with .aspx extension)

Save that file to HTML

:)


the best code is i can convert an aspx page into html , i think "D" thats i want but if not posibel , "C" not bad too
Jan 17 '07 #5
let me Explian what i want . as my friend says "www.thescript.com" is programing with PHP but when u vist "Discussions" page the address of file in address box are "html" , as u see "Discussions" has Pageing too , also this page is connect to data base , thats means "Discussions" is dynamic page but the file address is "html" , i heard we can use this technic in Asp.Net too,
this technec help "Search Robat" too get all your pages in dynamic site ,
and if you use this technic you can have best result in -for exaple googel search-
Jan 17 '07 #6
radcaesar
759 Expert 512MB
Hi,
There is no techniques involved in this. The page shown to u as an HTML is a static one based on ur thread id. When you go for some actions like DB Access, the at that time PHP script is used.

The basic here is, in an PHP file, the script inside the <?php> was executed by server (Server side script) and others HTMLs are processed by clientside.

The Page u said doesn't has any server scripts so written as HTML

:)




let me Explian what i want . as my friend says "www.thescript.com" is programing with PHP but when u vist "Discussions" page the address of file in address box are "html" , as u see "Discussions" has Pageing too , also this page is connect to data base , thats means "Discussions" is dynamic page but the file address is "html" , i heard we can use this technic in Asp.Net too,
this technec help "Search Robat" too get all your pages in dynamic site ,
and if you use this technic you can have best result in -for exaple googel search-
Jan 17 '07 #7
i dont get it ,
ok , let me explain in this way the Name of the page we are discuss on it already is "thread588855.html" ok !
thats html file , how they add my note im already write in this freetext box on that page , and how they change counter of replay on "Discussions" page , Coz that "Html" file too ?
I just wanna know that ?
Jan 17 '07 #8
ok , do u get my piont ?? how make this html page ? and also mange it ?
as u see in "Disucssions" has Pageing ??? how we can manage it ???
Jan 17 '07 #9
radcaesar
759 Expert 512MB
When u click on Reply or Post Reply, it will redirect to a PHP file.

Instantly after the file displayed is show thread.php

:)

ok , do u get my piont ?? how make this html page ? and also mange it ?
as u see in "Disucssions" has Pageing ??? how we can manage it ???
Jan 17 '07 #10
Ok , i wanna know that how i can make some file like, this file "thread588855.html" , we are discouse on it ?
and also that list on Main Descussion page ??
can u tell me that ?
but in Vb.net , no PHP
Jan 17 '07 #11
radcaesar
759 Expert 512MB
Hi,
I got ur question i think and also a good one i think. Give some time to work around this. Will get back u soon.

:)
Jan 17 '07 #12
Ok , thank you ,
Jan 17 '07 #13
radcaesar
759 Expert 512MB
Hi,
Thats the magic done using javascript. View the source of that file, u will find a line looks like this.

<script type="text/javascript" src="http://www.thescripts.com/forum/clientscript/vbulletin_global.js"></script>

When i seen the js file (code), it contains methods to fetch the records (like list of users, posts etc)

You can achieve this in any of the languages like asp.net, php etc

Clear Now ?

:)
Jan 17 '07 #14
AricC
1,892 Expert 1GB
I still don't understand what the question is
Jan 17 '07 #15
radcaesar
759 Expert 512MB
Hi Aric,
me too tried hard like u only to understand his question.

His question is how an HTML page get updated when a new message (Thread) is posted (check this sight, scripts.com) ????

:)


I still don't understand what the question is
Jan 18 '07 #16
capi
1
Hello,

I think you are reffering to url rewriting. Let me give you an example :

You are accessing http://www.site.com/document1.html
And by url rewriting this is converted (without you seeing in the browser, only on the server) to http://www.site.com/viewdoc.php?id=1

This is language independent and is done by the web server. If you are using Apache then you must document yourself on mod_rewrite. On a windows machine using IIS try using ISAPIRewrite or IISRewrite. For other webservers I don't know.

Hope it helps,
Firan Corneliu
Jan 18 '07 #17

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: David C. Taylor | last post by:
I saw an article that described how to convert the query string into an Url without a query string and return the page. For example, this request: ...
2
by: z. f. | last post by:
Hi, i need to convert a unicode string to ascii string (in order to put it in HTML page url ) right now the string gets to the page, but when the url clicked (with the unicode string in a...
6
by: Tim Cartwright | last post by:
I have a page that has the login control on it, nothing else. This page inherits from a master page, neither page has any code in it. This page works perfectly when running on the WebDev debug web...
7
by: Alan Silver | last post by:
Hello, I have installed the 2.0 framework, and am looking at converting some of my 1.1 pages to use partial classes. I don't (yet) have VS2005, so I'm doing this by hand, but am having problems....
2
by: suji | last post by:
Hai, Are there any 3rd party controls who provide free libraries to convert my html form to pdf in c#? I need to have a button on my form, that should convert my page to pdf format. Can any one...
3
by: Frank | last post by:
Hi, Just wondering how much pain is involved in taking an existing website created with Dreamweaver (mostly just plain HTML + some javascript) then converting each page to ASP.NET with...
2
by: ramya.salva | last post by:
I'm trying to add to my project an html page so that I can add some C# code into it. I would need to 'convert' into aspx so that I can add the code with the IDE. What would I need to do? Thanks.
1
by: bhaveshkrana | last post by:
Dear Sir, It is possible to convert .aspx page into .html page at the time on page render from server to client, if yes then how describe in detail with example?
5
by: Kindler Chase | last post by:
<cross-posted to m.p.d.l.csharp> I'm looking for recommendations on a 3rd party .NET library that will allow me to convert a web page to PDF on the fly. The pdf will be a brochure with images...
3
by: polasrikan | last post by:
iam using asp.net 2.0, and iam trying to convert the aspx page to pdf. aspx page consints of some data comes from the database. i have converter for html2pdf.but not able to use directly the aspx...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.