|
how do i get the form name attribute value?: msg#00133windows.devel.dotnet.web
I've added a name attribute to my webform and now would like to know how to read it. I think it should be easy since name is one of the standard attributes of form. I get the form id value like this: string id = ""; foreach(Control ctrl in Page.Controls) if (ctrl is System.Web.UI.HtmlControls.HtmlForm) { id = ctrl.ID; break; } Don't see how to get name though, thanks for any help. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Oracle Provider for .NET: 00133, MAYFIELD, Vincent W. |
|---|---|
| Next by Date: | Re: how do i get the form name attribute value?: 00133, Christopher Reed |
| Previous by Thread: | Setting the CSS in ASP.NET 2.0?i: 00133, Shawn Wildermuth |
| Next by Thread: | Re: how do i get the form name attribute value?: 00133, Christopher Reed |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |