On Mar 28, 3:44*pm, Satish <Sat...@discussions.microsoft.com> wrote:
> C#, ASP.NET
> Q: Have a formview, with a dropdownlist which is bound to a column. This
> dropdownlist has a datasource of DataSet type. Now my objective is, on
> Selection Changed of this DropdownList, I need to populate a couple of
> TextBox's. How can I do this? What event does the code go into? The
> selectionindexchanged even for the DropDownList does not seem to fire.
>
> Any help is appreciated.
>
> Thanks in advance.
why not use javascipt?
if you have element, for example, like this:
<select id="selectDriveList"
onchange="change_drive(this.options[this.selectedIndex].value);">
<option .....>
<option ....>
</select>
then javascript
:
<script>
function change_drive( drive_letter )
{
document.getElementById("textTextBox1").value ="user selected " +
drive_letter;
}
</script>
no?
... more at
http://www.siccolo.com/articles.asp