desaraju
07-21-2003, 09:43 AM
Hi,
I have some items and subitems in my listview control. What my listview is used for is: when user doulbe clicks on a subitem(or on the row) it opens up IE separately and displays information about that particular subitem that was clicked.How i accompish this is i use the ItemClick event to set the value of the clicked subitem to a variable say matnum and then i use this matnum variable in my doubleclick event and pass it as a varibale in the URL string and open up the browser...
Okay..now my problem is when i sort the listview on a column, the view is changed and items get reordered, now when i double click on a subitem, the webbrowser should now open up with information of subitem i clicked but for some reason it does not behave so..it opens up the information for a different subitem which i guess was in this positon in the listview before i sorted. i guess my itemclick is not recognizing that i sorted the column. Any solutions for this? Thanks in advance
Surya
I have some items and subitems in my listview control. What my listview is used for is: when user doulbe clicks on a subitem(or on the row) it opens up IE separately and displays information about that particular subitem that was clicked.How i accompish this is i use the ItemClick event to set the value of the clicked subitem to a variable say matnum and then i use this matnum variable in my doubleclick event and pass it as a varibale in the URL string and open up the browser...
Okay..now my problem is when i sort the listview on a column, the view is changed and items get reordered, now when i double click on a subitem, the webbrowser should now open up with information of subitem i clicked but for some reason it does not behave so..it opens up the information for a different subitem which i guess was in this positon in the listview before i sorted. i guess my itemclick is not recognizing that i sorted the column. Any solutions for this? Thanks in advance
Surya