By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,909 Members | 1,288 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,909 IT Pros & Developers. It's quick & easy.

Request.Form contents are renamed while using masterpage.

P: n/a
Hi all,
I am very new to ASP.net. As I was going through new features of asp.net, I
came across Masterpage and I tried to use it. But when the form is posted to
another page, the key names of the controls are pretended with the
masterpage content place holder's name. Is there any way how can I get the
value of a control from the request.form?
Thanks in advance

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You should be accessing the post data via the reference to the control on
your page (or in your master), not via the Request.Forms collection. You're
losing out on the object model by going directly to the Forms collection.
Can you not use the controls in the page for some reason?

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi all,
I am very new to ASP.net. As I was going through new features of
asp.net, I
came across Masterpage and I tried to use it. But when the form is
posted to
another page, the key names of the controls are pretended with the
masterpage content place holder's name. Is there any way how can I get
the
value of a control from the request.form?
Thanks in advance


Nov 19 '05 #2

P: n/a
Thanks for your time Allen,
No problem with controls in master page (so far). Can you point me where I
can find an example of accessing the post data via the reference to the
control please!
Thanks in advance
Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.