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
Post a Comment