On Jun 8, 10:35 am, Alex Sadomov <alexey.sado...@connective.sewrote:
Hi
Is there control for web which looks like as simple dropdownlist, but when
selected it shows several columns instead one as standard dropdownlist does?
The example of similiar control can be found in MS Access application
That's something can be easily done using a DataList control and
javascript
Add a link
<a onclick="script_to_show_hidden_div();" href="#">Show 'dropdown'</a>
Add a div
<div id="dropdown1" style="display: none">
<asp:DataList .......></asp:DataList>
</div>
That's almost all.
script_to_show_hidden_div() {
document.getElementById('dropdown1').style.display =(document.getElementById('dropdown1').style.displ ay=="block" ?
"none" : "block");
}