Re: Setting HiddenField .Value
- From: Efi Merdler <fooshm@xxxxxxxxx>
- Date: 3 May 2007 12:44:55 -0700
Thanks.
Maybe you can help me solve my problem, in order to decrease the
number of times a user has to fetch data from the server, I'm saving
data in an hidden field, so when the user decides to display the new
data I'm using javascript to display it.
Do you have another idea how can I implement such a behavior ?
Thank you,
Efi
Peter wrote:
That's because the Xml control is specifically designed to render (as HTML)
the result of an XSLT Transform on an XmlDocument. You were talking about a
hidden form field. Two different animals.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Efi Merdler" wrote:
Kevin Spencer כתב:
You can't. The '<' and '>' characters are not legal values in a form field,
or anywhere else in an HTML document except as element brackets. That is why
they are HtmlEncoded when you put the string into the Hidden form field.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Efi Merdler" <fooshm@xxxxxxxxx> wrote in message
news:1178203524.238623.217410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
In my code I'm doing some xml transformation, at the end I receive a
fully transformed html file.
I'm setting the Value property of an hidden field control to have the
content of this html file.
In the debugger I can see that the control contains the value
correctly, however when the page is displayed in a browser all <
symbols are replaced by < .
How can I change this behavior.
Thanks,
Efi
Thanks to both of you,
The Xml control does manage to output my xml as correct html, so why
it can and I can't (I sound like a little boy :-) )
.
- Follow-Ups:
- Re: Setting HiddenField .Value
- From: Peter Bromberg [C# MVP]
- Re: Setting HiddenField .Value
- References:
- Setting HiddenField .Value
- From: Efi Merdler
- Re: Setting HiddenField .Value
- From: Kevin Spencer
- Re: Setting HiddenField .Value
- From: Efi Merdler
- Setting HiddenField .Value
- Prev by Date: Re: how does one websit, the e page class call methods in another page class?
- Next by Date: Re: ASP.NET Class files served via web?
- Previous by thread: Re: Setting HiddenField .Value
- Next by thread: Re: Setting HiddenField .Value
- Index(es):
Relevant Pages
|