Click to See Complete Forum and Search --> : ListView on Webpage


vg132
May 4th, 2001, 09:17 AM
Hi

I have a listview control on a page and now I want to sort the list view when a user presses the column header but how do I get the id of the column header the user pressed??
This is the code I use now
------------------------
<SCRIPT FOR=lvwRemisser EVENT=ColumnClick>
lvwRemisser_ColumnClick();
</SCRIPT>
<script>
function lvwRemisser_ColumnClick()
{
alert("Hello World");
}
</script>
----------------------
I use JavaScript.
In VB the in parameter is the column but not here! How can I solve this. The function is the one that Visual InterDev gives me.

/Viktor