473,396 Members | 2,068 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,396 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
Jul 21 '05 #1
2 1279
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

Jul 21 '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
|
|
Jul 21 '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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.