i need to use the variables declared in javascript in asp.net
saw a thread suggesting hidden textfields
but that wud help in request or query strings
what if i needed to use the value of a variable declared in javascript by fulfilling some condition into an INSERT COMMAND.
the page will not be posted back
n the client side script sets the value for the variable
how do i incorporate the value in asp.net
adnan1888 0 Newbie Poster
Recommended Answers
Jump to PostA web browser, regardless of which, can only communicate to a web server via an HTTP REQUEST, which come in two flavors: POST, and GET.
POST = A form.
GET = A querystring.That's all.
A server-side language, such as ASP.NET or any other, can only generate …
Jump to PostIt's not going to post back? Yeah, that's a loaded term. He could be saying that he's testing for "IsPostBack" on Page_Load, and not seeing the value there. If that's the case:
Of course you wouldn't. Only server-controls have their values from the Form stored with them. If you're …
Jump to Postadnan: if there is no language barrier, please do us the favor of posting real, complete English sentences, using punctuation and capital letters where appropriate, and which don't contain non-English words such as "wud" and "n".
Thank you.
All 10 Replies
campkev 0 Posting Pro in Training
adnan1888 0 Newbie Poster
campkev 0 Posting Pro in Training
adnan1888 0 Newbie Poster
campkev 0 Posting Pro in Training
tgreer 189 Made Her Cry Team Colleague
campkev commented: Well put +1
campkev 0 Posting Pro in Training
tgreer 189 Made Her Cry Team Colleague
adnan1888 0 Newbie Poster
tgreer 189 Made Her Cry Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.