|
-
May 4th, 2001, 09:17 AM
#1
ListView on Webpage
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|