Click here to Skip to main content
16,015,827 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Datagrid Select Statement Pin
Soot10-Jul-06 8:13
Soot10-Jul-06 8:13 
Question1.1 and 2.0 Pin
Fred_Smith22-Jun-06 3:16
Fred_Smith22-Jun-06 3:16 
AnswerPS Pin
Fred_Smith22-Jun-06 3:21
Fred_Smith22-Jun-06 3:21 
GeneralRe: PS Pin
Paddy Boyd22-Jun-06 5:03
Paddy Boyd22-Jun-06 5:03 
GeneralRe: PS Pin
RichardGrimmer22-Jun-06 5:12
RichardGrimmer22-Jun-06 5:12 
GeneralRe: PS Pin
Fred_Smith22-Jun-06 6:33
Fred_Smith22-Jun-06 6:33 
AnswerRe: PS Pin
Guffa22-Jun-06 10:34
Guffa22-Jun-06 10:34 
QuestionQUERY: JS CTRL, SHIFT, Context Menu Pin
dhruba.bandopadhyay22-Jun-06 0:39
dhruba.bandopadhyay22-Jun-06 0:39 
I am wondering if anyone knows good code that implements the Windows Explorer selection mechanism (for a DataGrid or HTML table). I know the basics of assigning attributes to DataGrid rows (eg. objDataGrid.Rows(index).Attributes("onclick")) which applies to HTML tables. But wondering if there's a good technique to do, for example:

1. Left-click on file/row to select it.
2. Left-click on a different file/row to select it, reseting previous selections.
3. Hold down CTRL + left-click on different files/rows to multiple select, thus retaining all selections during CTRL key is down.
4. Hold down SHIFT + left-click on different file/row and all files/rows between first left-click and second left-click + SHIFT key are selected.
5. Right-click on one of the selected files/rows brings up a context menu.
6. Right-click on a non-selected file/row selects it, deselects all others, and brings up context menu.


I have googled around and there are many examples, especially using the IE's onContextMenu event. However I still haven't found any code/library which does all 6 of the above (all-in-one). I am looking for something which is cross-browser too.

Anyone seen such a code/library that does the above 6?
AnswerRe: QUERY: JS CTRL, SHIFT, Context Menu Pin
RichardGrimmer22-Jun-06 5:14
RichardGrimmer22-Jun-06 5:14 
GeneralRe: QUERY: JS CTRL, SHIFT, Context Menu Pin
dhruba.bandopadhyay5-Jul-06 0:56
dhruba.bandopadhyay5-Jul-06 0:56 
QuestionCanceling the window.unload() event Pin
SatyajitV21-Jun-06 21:11
SatyajitV21-Jun-06 21:11 
AnswerRe: Canceling the window.unload() event Pin
minhpc_bk22-Jun-06 16:18
minhpc_bk22-Jun-06 16:18 
QuestionStop Navigation in ASP Pin
abhaysurve21-Jun-06 20:40
abhaysurve21-Jun-06 20:40 
QuestionProblem with populating datagrid Pin
i@@21-Jun-06 16:37
i@@21-Jun-06 16:37 
Questionhighlight on link when move over Pin
campbells21-Jun-06 16:14
campbells21-Jun-06 16:14 
GeneralRe: highlight on link when move over Pin
i@@21-Jun-06 16:44
i@@21-Jun-06 16:44 
GeneralRe: highlight on link when move over Pin
campbells21-Jun-06 18:41
campbells21-Jun-06 18:41 
AnswerRe: highlight on link when move over Pin
Steve Echols21-Jun-06 19:37
Steve Echols21-Jun-06 19:37 
GeneralRe: highlight on link when move over Pin
campbells21-Jun-06 19:47
campbells21-Jun-06 19:47 
GeneralRe: highlight on link when move over [modified] Pin
Steve Echols21-Jun-06 20:03
Steve Echols21-Jun-06 20:03 
Questionweb-base database Pin
Droze21-Jun-06 4:59
Droze21-Jun-06 4:59 
AnswerRe: web-base database Pin
RichardGrimmer22-Jun-06 5:18
RichardGrimmer22-Jun-06 5:18 
QuestionQUERY: IE vs Firefox Pin
dhruba.bandopadhyay21-Jun-06 3:42
dhruba.bandopadhyay21-Jun-06 3:42 
AnswerRe: QUERY: IE vs Firefox Pin
Guffa21-Jun-06 6:25
Guffa21-Jun-06 6:25 
GeneralRe: QUERY: IE vs Firefox Pin
dhruba.bandopadhyay21-Jun-06 22:41
dhruba.bandopadhyay21-Jun-06 22:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.