In legacy ASP the doubleclick event was available - how do Iinvoke this in ASP.NET? Also - is it not strange that a thoughsearch of Google - et al. does not exactly serve up a pile of goodexamples for something so common - the ability to double click on aparticular list box entry and evoke an item specific action...
Thanks,
David
In ASP.Net, the double click event is NOT a common thing - in Windows Forms, it is - I don't remember ever using a doubleclick in legacy ASP either - you could automatically create a form submission, with the selection of an item - ..
What's the scenario for which you are needing a solution ?
Thanks for the reply.
Here is a pretty standard use for legacy ASP double click event on a list box:
<script language="javascript">
function SubmitPage()
{
document.MyPagexxx.Submit();
}
</script>
.
.
<select size="5" name="Group" ondblclick="javascript:SubmitPage();"
Double click on the list box submits the page and allowsyou to request.form("Group") - the selected value from the listbox...
What is missing in ASP.Net is the ondblClickEvent...so how do we do this? Double clicking on a listbox inWeb apps is a very common user action.
Thanks
David
0 comments:
Post a Comment