• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

c# and javascript

can javascript send a variable value to C#.
the value can not be hardcoded.

0
blue-genie
Asked:
blue-genie
  • 2
1 Solution
 
gregoryyoungCommented:
I assume you mean in asp.net ... the answer is yes you can set a form variable (i.e. hidden field) then you can read it out of the request.
0
 
blue-genieAuthor Commented:
the programmers hear nod in unison.

thanks

:-)
0
 
gregoryyoungCommented:
no problem ...

also if you need to force /  pass it as a parameter to a postback method http://weblogs.asp.net/mnolton/archive/2003/06/04/8260.aspx
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now