>Hi everybody,
>
>I have a Schools selection DropDownList build using SQLDataSource. The school may have a telephone. I want to be able to update the literal control using JavaScript.
>
>My problem is - where should I store telephone for each school to be accessible by JavaScript?
>
>Any ideas?
>
>Thanks in advance.
After speaking with my colleague I just decided to use DataText for School and DataValue for Phone. It took some time to get everything working correctly, but now it seems to work.
If it's not broken, fix it until it is.
My Blog