Re: Wrap a div tag around viewstate output

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Eliyahu Goldin (removemeegoldin_at_monarchmed.com)
Date: 09/19/04


Date: Sun, 19 Sep 2004 10:34:51 +0200

Since these inputs are not in the source page code, it is hard to imagine
how you can affect their generation.

What is the problem in the first place? What do you mean by "destroying the
css code"?

Eliyahu

"Henrik Larsen" <henrik.larsen@nospam.com> wrote in message
news:%23yzhK5cnEHA.2172@TK2MSFTNGP10.phx.gbl...
> Hello!
>
> The hidden controls of asp.net destroys the css code in a page I have
made:
>
> I wonder; how can I change this;
>
> <input type="hidden" name="__EVENTTARGET" value="" />
> <input type="hidden" name="__EVENTARGUMENT" value="" />
> <input type="hidden" name="__VIEWSTATE" value="xxx" />
>
> to
>
> <div>
> <input type="hidden" name="__EVENTTARGET" value="" />
> <input type="hidden" name="__EVENTARGUMENT" value="" />
> <input type="hidden" name="__VIEWSTATE" value="xxx" />
> </div>
>
> Thanks for any help
>
>



Relevant Pages