473,324 Members | 2,417 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,324 software developers and data experts.

disable asp.net characteristics

How do I turn off things in an asp.net generated html source that shows it
is generated by asp.net? things like viewstate and others i don't know of.
people can tell if a html is generated by asp.net just by looking at the
source, how can i prevent that so my asp.net generated pages just look like
pages generated by php or static html.

Thanks in advance
Aaron
Nov 19 '05 #1
2 1067
Try :

Response.ClearHeaders();

Al

"Aaron" wrote:
How do I turn off things in an asp.net generated html source that shows it
is generated by asp.net? things like viewstate and others i don't know of.
people can tell if a html is generated by asp.net just by looking at the
source, how can i prevent that so my asp.net generated pages just look like
pages generated by php or static html.

Thanks in advance
Aaron

Nov 19 '05 #2
to remove asp.net header, remove the custom header generated by iis (see you
site setup in iis manger). you can delete the <meta> comments in the source
easily enough.

asp.net requires the __viewstate hidden field. to get rid of it, you need to
write an httpmodule that parases the output heml and changes the name, it
will also need to parse the postback data and do a matching rename.

-- bruce (sqlwork.com)
"Aaron" <ku*****@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
| How do I turn off things in an asp.net generated html source that shows it
| is generated by asp.net? things like viewstate and others i don't know of.
| people can tell if a html is generated by asp.net just by looking at the
| source, how can i prevent that so my asp.net generated pages just look
like
| pages generated by php or static html.
|
| Thanks in advance
| Aaron
|
|
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: PAUL GROSSMAN | last post by:
Hello everyone. I am working with a DataGrid using VB .Net (Windows Forms). I want to make one of the columns un-editable. I was able to do that by setting the ...
5
by: Bob Bedford | last post by:
I create checkboxes using datas from a database (with PHP). I store all values in an array, as I must pass this value like a Form value. Now, in some cases, when a checkbox is selected, I must...
2
by: WoodBeeProgrammer | last post by:
Given a server and an internet client, can the server (or client) determine the characteristics of the connection? for instance, whether it's running through a proxy, what the connection speed is,...
19
by: G.Ashok | last post by:
Hi All, What is your weightage of the 3 characteristics of Object-Oriented Programming i.e. Inheritance, Encapsulation and Polymorphism. for a total of 100% Please quote your values and let's...
4
by: Chris | last post by:
I have an asp.net page say page1.aspx. The form in html code is <form id = "Form1"> And i want to disable all the fields of the form after some code steps. I had created a javascript funct: ...
3
by: AA Arens | last post by:
I have two databases, one to manage customers and another is the Help Desk database. How can I easily copy the button characteristics (like pattern, color) from one database to the other? Where...
0
by: Ahmad Jalil Qarshi | last post by:
Hi! I have a problem while developing some webpages.The Problem is that:- How We Can Disable The Controls Of One Web Form From Other Web Form In Asp.net? Explanation:- There Should Be Two...
1
by: Peter Olcott | last post by:
What is a method or set of methods that can determine all of the font characteristics of any web page? By font characteristics I mean typeface name, point size, foreground color, background color,...
4
by: Phoe6 | last post by:
Hi all, I am trying to disable the NIC card (and other cards) enabled in my machine to test diagnostics on that card. I am trying to disable it programmatic using python. I checked python wmi and...
6
by: mikaeri | last post by:
Hello everyone, I have two different tables:Products&Variations. One of them is for product characteristics and the other is for keeping the track of any variations made on proucts. I have a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.