I'm not sure to understand your design.
Either you are confusing what works where (if you meant you want to create
client side HTML tags with a runat="server" attribute). The principle is
that a runat="server" tag creates an object that allows to ease server side
programming. Ultimately this is just rendered as HTML code to the browser..
The browser doesn't known at all how the markup was created (and never how
the markup was changed client side, it just gets values posted inside
fields)...
Else you can just use the ClientID property to generate javascript code
(server side) that will use the dynamically generated control.
Some more details could be usefull as well as you preferred language (in
case you would need a code snippet to see if we are on the right track about
what you are trying to do).
OK, thanks.
The big picture is this:
I have a datagrid that is rendered completely in Javascript (I
inherited it and, to date, there are no plans to change this design).
The JS-rendered datagrid has fields Number, File, & Status
When the user clicks "upload" the Status field should show some sort
of a animated gif showing that the file is being uploaded. When the
upload is complete the animated gif is hidden and the new file's
status field does the same thing.
Since we know the name of the file on the server-side, my thinking was
that it wouldn't be hard to associate the correct status column/row
and unhide/hide the animated gif.
That brought me to a new challenge.
Since the entire grid is JS-rendered HTML, how do I search for where
in the grid the file name exists to get the correct status row/column?
I need to be able to access objects from the server to do this. Hence,
my post.
Assuming that the JS-rendered grid isn't going away, how would you
suggest that I go about this?
Thanks for your help.