View Single Post
  #3 (permalink)  
Old February 16th, 2007, 09:58 AM
angshujit angshujit is offline
Authorized User
Points: 308, Level: 6
Points: 308, Level: 6 Points: 308, Level: 6 Points: 308, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2006
Location: Kolkata, West Bengal, India.
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,
Thank you for your reply.
I have created a hidden field...

      <input type="hidden" id="action" runat="server" />

Then I have changed the value of the field from javascript(According to my choice). Then I have tried to access the value of the field from C# (on a button click event) ...

      string actn = Request.Form("action").Value;

But it is showing a error...
'System.Web.HttpRequest.Form' is a 'property' but is used like a 'method'

What to do?
Angshujit

Reply With Quote