Thursday, March 29, 2012

misterious problem ..

Hi all. I have one quite bizzare problem ..
In a ASP.NET (C#) application, I have an input field in a form which value
is set by a client-side script.
I trace the field content with the "alert()" function before the postback
action and it looks fine, but then, in the code behind, this field is empty.
I'm sure that my client-side actions are doing well and on the server this
field is not set with a wrong value. In fact this hidden field comes with an
empty value in the very initialization of the page.
What might happen with the value of the field. It worked before I add a
table and some styles.
Please advise.
Best regards.
Nikolay.Show the code. Are you setting it to blank in the page_load?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Nikolay Anestev" <123@.456.com> wrote in message
news:%23BcubVgsEHA.2956@.TK2MSFTNGP12.phx.gbl...
> Hi all. I have one quite bizzare problem ..
> In a ASP.NET (C#) application, I have an input field in a form which value
> is set by a client-side script.
> I trace the field content with the "alert()" function before the postback
> action and it looks fine, but then, in the code behind, this field is
> empty.
> I'm sure that my client-side actions are doing well and on the server this
> field is not set with a wrong value. In fact this hidden field comes with
> an
> empty value in the very initialization of the page.
> What might happen with the value of the field. It worked before I add a
> table and some styles.
> Please advise.
> Best regards.
> Nikolay.

0 comments:

Post a Comment