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

reading client value from code behind withoout refreshing...

P: n/a
greetings, can someone show me how to read a client side value from code
behind withouth having to resfresh the page? here is the code i've
implemented....

btnSubmission.Attributes.Add("onclick", "return confirm('" &
cboVal.SelectedItem.Value & "');")

cboval.selecteditem.value will read the value when it was 1st loaded. i want
it to dynamiclly read it? without refreshing it of cause. thanks in advance
for your help.

Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can't "pull" a value from the client. The client "pushes" the value to
the server. That is, you can't get a value from the client without a
postback.

You seem to be trying to add some javascript to a button's onclick handler,
but this will only run on the client. It won't return a value to the server.

"Asha" wrote:
greetings, can someone show me how to read a client side value from code
behind withouth having to resfresh the page? here is the code i've
implemented....

btnSubmission.Attributes.Add("onclick", "return confirm('" &
cboVal.SelectedItem.Value & "');")

cboval.selecteditem.value will read the value when it was 1st loaded. i want
it to dynamiclly read it? without refreshing it of cause. thanks in advance
for your help.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.