Hi there.
In an Asp.Net (C#) page, I am assigning a
TextBox.Text to DropDownList.Se lectedItem.Text
and this all works fine within the SelectedIndexCh anged event of the dropDownList.
The problem I am looking for some feedback is where I want the first (top-most) item from the DropDownList, please?
I have tried a button_click event and a few other ideas but I can't see how to assign the top-most (position 0) value of the dropDownList to the TextBox. Even if I click the top item the event is not triggered so I am obviously missing something really simple here...
Any help please?
Thank you.
M :o)
In an Asp.Net (C#) page, I am assigning a
TextBox.Text to DropDownList.Se lectedItem.Text
and this all works fine within the SelectedIndexCh anged event of the dropDownList.
The problem I am looking for some feedback is where I want the first (top-most) item from the DropDownList, please?
I have tried a button_click event and a few other ideas but I can't see how to assign the top-most (position 0) value of the dropDownList to the TextBox. Even if I click the top item the event is not triggered so I am obviously missing something really simple here...
Any help please?
Thank you.
M :o)
Comment