We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Access to INPUT elements from Controls collection

Thread ID:





33857 Aug 27,2005 06:02 PM Aug 30,2005 01:45 AM Windows Forms 1
Tags: HTMLUIControl
John Smith
Asked On August 27, 2005 06:02 PM

I am using the HTML UI Control to dyamically load and display a table with input elements that the user will then enter text into. I have given each of these input elements a name tag. But when I then try to access these controls using the HTMLUIControl.Controls property each of the individual controls no longer has their respective name (using Control.Name). If anyone has any insight I would much appreciate it.

Nandakumar R [Syncfusion]
Replied On August 30, 2005 01:45 AM

Hi John, The Control.Name property gets the name of the tag that belongs to the control and not the name of the control defined by the user. You can use the Control.Attributes property to access the name of the control defined by the user. Please run the sample linked below and let me know if this helps. 33857_ControlName_61.zip Thanks, Nanda.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.