jquery - Can I replace all asp controls with simple html controls form with same functionalities? -


i having project asp.net controls in .aspx page , javascript validation , stored procedures databases , asp:gridview , datasource controls display , such things. now, want change old aspx controls :

asp:textbox, asp:dropdownlist

with input, select in html.

how time take develop 100 aspx forms in simple html query, xml datasource, cs file , generic handlers ??

have 1 done before or tried 1 ? idea or bad idea... suggestions welcomed :)

added after mvc suggestions(to make more clear) typically want complete within month. use jquery , cs page connections, create dynamic html , things, handler call 2 files , aspx design , database configuration file (config file connections, security , things )...

my main doubt able obtain perfect functionality ?

this kind of broad question, i'll give shot.

  1. changing asp:textbox input type="text" loses server side functionality. aspx can't access plain html control. add id , runat="server" it, access again server. @ point, there's no reason switch asp:textbox.
  2. i'm not sure mean generic handlers, converting 100 forms depends on how want change. take few weeks or half year.
  3. i may wrong seems me want asp.net mvc. loses whole form / viewstate paradigm , works in simpler more standard html/javascript <-> asp pure view <-> c# controller way. if know html, javascript, , css, , familiar mvc, , able achieve forms. but, know, cleaner.

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -