Variables
-
hello, Is it anyway to share variables or objects between javascript and c# in ASP.net 2.0 application best regards
dghdfghdfghdfghdgh
-
hello, Is it anyway to share variables or objects between javascript and c# in ASP.net 2.0 application best regards
dghdfghdfghdfghdgh
-
hello, Is it anyway to share variables or objects between javascript and c# in ASP.net 2.0 application best regards
dghdfghdfghdfghdgh
Hi buddy, I don't think so that you can share any variable or object with Javascript(ClientSideScript) and C#(ServerSideScript). And if you want to use variable then you can use hidden field server side so both C# and Javascript can access it easily. Hope it will help http://techiefromsurat.blogspot.com/
-
hello, Is it anyway to share variables or objects between javascript and c# in ASP.net 2.0 application best regards
dghdfghdfghdfghdgh
The easiest way is a hidden field on the page, use that to pass values back to C#. An AJAX call works too, but if you're not using AJAX, a hidden field is easier.
Christian Graus Driven to the arms of OSX by Vista. "Iam doing the browsing center project in vb.net using c# coding" - this is why I don't answer questions much anymore. Oh, and Microsoft doesn't want me to.
-
The easiest way is a hidden field on the page, use that to pass values back to C#. An AJAX call works too, but if you're not using AJAX, a hidden field is easier.
Christian Graus Driven to the arms of OSX by Vista. "Iam doing the browsing center project in vb.net using c# coding" - this is why I don't answer questions much anymore. Oh, and Microsoft doesn't want me to.
Hi mmm is it any example in ajax that explain how to do it ? regards
dghdfghdfghdfghdgh