Sunday, March 11, 2012

Is it possible to use JavaScript to create server-aware html element?

You'd have to set up some kind of pagemethod or other callback mechanism that tells the server object to update itself. If you want that to persist to other users, you'd also have to have the server save it to a file or db in some fashion..

Hi,

Add runat="server" at client side won't make it an control accessible on the server.

You'd better add new items via server-side code, and place the table in a UpdatePanel to avoid flicker.

Hope this helps.

No comments:

Post a Comment