can't see have which have been set in the client side

  • Thread starter Thread starter okaminer
  • Start date Start date
O

okaminer

Hi
I have hiden fields which are been set in the client side, using
jscript functions.

The problem is that when I move to the server side the values of those
fields are empty in every step of the page lifecycle

The hiden fields are set to runat = server (so I can see them)


If you have any idea what can cuase this please let me know
 
Probably at your page load event u may empty them. Ensure that u checked
IsPostBack..
If u are sure there is nothing wrong with this, u can check Request.Params
collection. If it contains them with empty values, u should check if u set
the values correctly. If it has exact values, u should recheck if u empty
them @ page_load or any where before accessing them..

It is hard to guess what is wrong with your code, if u still have problems
please post a code snippet...
--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 
Make sure you are not resetting them in the code on every postback

Eliyahu
 
Thanks
The problem was in the client side function
but your advices where very helpful
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top