c# - How to validate a user control loaded in the page programatically? -


i want ask how validate client side , server side in following case :

i have web page load user control in programatically :


in page_load :

  if (request.querystring["pagenew"] != null && !string.isnullorempty(request.querystring["pagenew"]))             {                 page_new_name = request.querystring["pagenew"];                 ctrl = (mybasecontrol)loadcontrol("usercontrols/" + page_new_name);             }   if (ctrl != null)             {                 pnl_pagenew_uc.controls.add(ctrl);             } 

this page contains button(confirm) . want button validate controls in user control before confirming ,how ,some explanation please?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -