Conversion of html page to aspx page
-
Hello All, I have got a web design template in .HTML format. I want to parse the html file and convert that into .Aspx format programatically and then add to my ASP.Net project and start coding that. for e.g. if i have tag in my html page, i want this to be converted as an asp.net control programatically I want for all the html controls to be converted into asp.net controls. Is there any tool available for this. Thanx in Advance
-
Hello All, I have got a web design template in .HTML format. I want to parse the html file and convert that into .Aspx format programatically and then add to my ASP.Net project and start coding that. for e.g. if i have tag in my html page, i want this to be converted as an asp.net control programatically I want for all the html controls to be converted into asp.net controls. Is there any tool available for this. Thanx in Advance
No, there is not.
Christian Graus Driven to the arms of OSX by Vista.
-
Hello All, I have got a web design template in .HTML format. I want to parse the html file and convert that into .Aspx format programatically and then add to my ASP.Net project and start coding that. for e.g. if i have tag in my html page, i want this to be converted as an asp.net control programatically I want for all the html controls to be converted into asp.net controls. Is there any tool available for this. Thanx in Advance
REGEX is a regular expression tool that can perform string substitutions, which is basically what you are looking for. It might take a couple of passes through an HTML document in order to get the conversion done, but it should help.
-
REGEX is a regular expression tool that can perform string substitutions, which is basically what you are looking for. It might take a couple of passes through an HTML document in order to get the conversion done, but it should help.
-
No, there is not.
Christian Graus Driven to the arms of OSX by Vista.
-
Is there any other way to do it, if tool is not available? Give me some sample example. Thanks in advance
Imran. Mohammed wrote:
Is there any other way to do it
Yes, it's called typing. As someone else said, you could use regex, or even just plain old search and replace in the IDE. If you don't know how to do these things, I'm left wondering what you hope to do with this page after you convert it to ASP.NET. You can actually just specify runat="server" and an id, and use the input tags, etc, as server controls, although using full ASP.NET controls is probably better, if all you need to do is access their values, that will work.
Christian Graus Driven to the arms of OSX by Vista.
-
Imran. Mohammed wrote:
Is there any other way to do it
Yes, it's called typing. As someone else said, you could use regex, or even just plain old search and replace in the IDE. If you don't know how to do these things, I'm left wondering what you hope to do with this page after you convert it to ASP.NET. You can actually just specify runat="server" and an id, and use the input tags, etc, as server controls, although using full ASP.NET controls is probably better, if all you need to do is access their values, that will work.
Christian Graus Driven to the arms of OSX by Vista.