Dynamically changing an asp.net control's property
<p>I'm using two components from <a href="http://www.essentialobjects.com" rel="nofollow">Essential Objects</a> namely the downloader and file explorer.
However that doesn't matter.</p>

<p>The file explore (similar to window's file explorer) has a client API that can fire an event when I select a file using it. The event I fire uses a javascript function:</p>

<p><code>function file_selected(fe)
{<br>
  var filename = fe.getSelectedFile();
  foo(filename);
}</code></p>

<p>The downloader has a property I want to update using the filename.
How can I do this from the client side?
In the code-behind it's easy: <code>downloader.FilePath = "";</code>
However the event only fires client side.
I heard something about ajax but as I have no experience with it, I'm struggling to find a solution.</p>
