سؤال

I have a FormView control and html and server control in it. i can find my server control by

frm.FindControl("myContorlName");

but how get html controls? i know i have html controls in Request object but how get them?

thanks

هل كانت مفيدة؟

المحلول

If you added html controlls with runat="server" you can access it with Request.Form[ControlName.UniqueID] otherwise, you need to add name="yourcontrol" and you will get the controls in Request.Form["YourControlName"].

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top