converting aspx page to html?

I am working in an application that generates an html page from an asp

Page 1 of 1

3 Replies - 4692 Views - Last Post: 19 March 2009 - 06:40 PM Rate Topic: -----

#1 ajith1234   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 19-March 09

converting aspx page to html?

Posted 19 March 2009 - 10:19 AM

while converting an aspx page to html the button in the aspx page is copied to the generated html page.how can we prevent the button from appearing in the html page.

can any one give solution for this problem(preferably in c#)?
Is This A Good Question/Topic? 0
  • +

Replies To: converting aspx page to html?

#2 PsychoCoder   User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: converting aspx page to html?

Posted 19 March 2009 - 10:28 AM

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#3 eclipsed4utoo   User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1535
  • View blog
  • Posts: 5,972
  • Joined: 21-March 08

Re: converting aspx page to html?

Posted 19 March 2009 - 10:36 AM

so you don't want an ASP.Net button to show up in the generated HTML? set "Visible" equal to false.

ASP.Net does not generate HTML for controls that are set to invisible.
Was This Post Helpful? 0
  • +
  • -

#4 wydok   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 16-March 09

Re: converting aspx page to html?

Posted 19 March 2009 - 06:40 PM

I don't understand what you are attempting to do. Why would you take an ASP.NET source file and convert it to HTML? Isn't that what IIS is for?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1