Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I have a collection of controls that contains textboxes, dropdown comboboxes, and dropdownlist comboboxes. I would like to reset all of these controls so that any text that they contain is cleared out. I have figured out how to reset the textboxes and dropdown comboboxes, but I can't figure out how to reset the dropdownlist type. I thought I could just set the selectedindex = -1, but I can't seem to find the selectedindex property for a control. I tried using " ctrl.selectedindex = -1 " but that does not work. How can I find the selectedindex property within a control's properties?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...