javascript - How to access HTML control in C# code behind without "runat=server"? -


i understand can access server-side html control (which has "runat=server") code behind in c# findcontrol. html table dynamic table, can't use server-sided. how can rows.count of html table without "runat=server"? many thanks. update: after around, i've encounter solutions involving postback after assign value hidden field. point is, hidden field must in physical , seperate html form, while i'm developing dotnetnuke module control on ascx file, inherited module form. if add form, says can't have 2 forms runat=server. still looking solution here.

you can access html control code behind if it's server side, i.e. if has runat="server" attribute.

if table filled javascript code, save rows number in form field before postback.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -