In the client.js file i declare the
following variable.
...
var str = "info";
...
In the corresponding ASP file called
server.aspx.cs i declare two following
methods.
...
protected void Page_Load (
object sender, EventArgs e){...}
public void SomeThing () {
...
String data;
...}
...
The objective is to _SOMEHOW_ ensure
that the value of data (in the CS file)
is obtained from str (in the JS file).
Note that i don't need data to be
dynamically updated as soon as str is
changed. It's sufficient to call the
method SomeThing each time we pass the
part of code where we assign the value
"info" to str.
Note also that i need to notify
SomeThing about the value of str.
Of course, the actual situation is far
more complicated but my problem can be
boiled down to this simple case.
How should SomeThing be designed? How
need i to reconstruct the lines after
the assignment to str?
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy