473,385 Members | 1,342 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.

DIV wrapped around hidden fields?

In ASP.NET 2.0, it seems to wrap a div around the hidden form fields such as
__ViewState. How do you override this rendering? I have VS.NET 2005 Beta 2
and will not have a new release until after the launch. I have a site that
is close to deploying, but it does not have any top margin or spacing. This
is find in FireFox and IE, but Opera drops the top of the page for that
wrapping div, leaving a blank line at the time.

Need some method to eliminate the wrapping div or at least set a style on it
so that it is not shown.

Also, I am having a problem with Opera being detected as a IE browser and it
is being fed the active-x client side scripting callback not working.

At times I wish Opera would just fall off the ends of the earth :)

Any help would be appreciated!
Nov 19 '05 #1
2 899
the rc has the same bug. report it. we will proably have to write a filter
that removes them

-- bruce (sqlwork.com)

"Rocky Moore" <gR*********@hintsandtips.com> wrote in message
news:O1****************@TK2MSFTNGP09.phx.gbl...
In ASP.NET 2.0, it seems to wrap a div around the hidden form fields such
as __ViewState. How do you override this rendering? I have VS.NET 2005
Beta 2 and will not have a new release until after the launch. I have a
site that is close to deploying, but it does not have any top margin or
spacing. This is find in FireFox and IE, but Opera drops the top of the
page for that wrapping div, leaving a blank line at the time.

Need some method to eliminate the wrapping div or at least set a style on
it so that it is not shown.

Also, I am having a problem with Opera being detected as a IE browser and
it is being fed the active-x client side scripting callback not working.

At times I wish Opera would just fall off the ends of the earth :)

Any help would be appreciated!

Nov 19 '05 #2
>Also, I am having a problem with Opera being detected as a IE browser and it
is being fed the active-x client side scripting callback not working.


AFAIK, Opera sends a user agent that includes "MSIE" by default. That is
to allow the (sadly huge) number of sites that treat anything non-IE as
downlevel to be shown properly.

You can change the user agent Opera sends, but it won't help as most
people don't do this.

HTH

--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #3

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

Similar topics

4
by: Ryann | last post by:
Hello. I am creating a form that has 5 steps/pages. Each page contains about 20 fields. But I don't want to write them until they submit on the last page. I figured out that I can use hidden...
1
by: mark.reichman | last post by:
First off.. Thanks to Grant Wagner for help in a previous thread related to this one. I am at a total loss... I have multiple fields in a form with the same name. Lets call the fields with the...
1
by: Bob Rock | last post by:
Hello, in the last few days I've made my first few attempts at creating mixed C++ managed-unmanaged assemblies and looking aftwerwards with ILDASM at what is visible in those assemblies from a...
1
by: Sam Wuebben | last post by:
I would like to add a few hidden field values to a form as it is submited via JavaScript. I have a static page shopping site that uses MIVA shopping cart. Some of the pages are getting quite...
1
by: Roy Adams | last post by:
Hi Group I'm trying to write from dynamically created hidden fields to a txt field in the onchange event handler within a select. basically the number for the for loop is generated by a field...
10
by: Mark McLellan | last post by:
Dear all Following the oft-repeated advice here and ciwas I have made my site nearly 4.01 strict (working on it). There are some items on which I would appreciate your advice: 1. Hidden...
5
by: Roshawn Dawson | last post by:
Hi, Are hidden fields passed in the querystring when a form is posted back? If they are, must the hidden fields be server controls in order to access them from .net code? Thanks, Roshawn
5
by: Thor W Hammer | last post by:
In ASP.NET 2.0, it seems to wrap a div around the hidden form fields such as __ViewState. How do you override this rendering?
8
by: Jonathan Sachs | last post by:
I'm trying to compose a list of items, each of which consists of text that wraps around a picture at the left margin. The examples I have seen tell me to do it like this: <p><img src="xxxx.jpg"...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.