Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView scrolling problem - details [modified] Pin
florinp320-Jun-06 21:27
florinp320-Jun-06 21:27 
Questioncheck if a class is inherited from another class Pin
hpetriffer16-Jun-06 1:38
hpetriffer16-Jun-06 1:38 
AnswerRe: check if a class is inherited from another class Pin
Daniel Persson16-Jun-06 2:00
Daniel Persson16-Jun-06 2:00 
GeneralRe: check if a class is inherited from another class Pin
hpetriffer16-Jun-06 2:28
hpetriffer16-Jun-06 2:28 
AnswerRe: check if a class is inherited from another class Pin
Guffa16-Jun-06 2:39
Guffa16-Jun-06 2:39 
GeneralRe: check if a class is inherited from another class Pin
hpetriffer18-Jun-06 21:51
hpetriffer18-Jun-06 21:51 
QuestionDirectX video Application Pin
ranandbe16-Jun-06 0:50
ranandbe16-Jun-06 0:50 
QuestionAny way to ensure a selected Datagrid row is visble? Pin
rwestgraham16-Jun-06 0:29
rwestgraham16-Jun-06 0:29 
I have a form with two DataGrid controls. When a user selects a row in DataGrid1, DataGrid2 is populated with child data using a filtered DataView object.

I also have certain criteria that allows me to preselect a "default" row of data in DataGrid2.

So basically user clicks on a row in DataGrid1, DataGrid2 is populated with all valid child data, and then the program also automatically selects a row in DataGrid2 that in most cases will be the correct selection. But the user also has the choice to change the selection in DataGrid2 before continuing.

The code works fine - the CurrentCellChanged event in DataGrid1 correctly populates all rows into DataGrid2 and then additional code correctly "pre-selects" a default row in DataGrid2.

In most cases the user will simply accept the default selection in DataGrid2, but they still need to be able to review the programmatic default selection before they accept it.

The problem is I can preselect a default row in DataGrid2, but that selection may not always be within the rows that are visible in DataGrid2.

What I want to do is ensure that the preselected (programmatically selected) default row in DataGrid2 is always visible without the user actually having to scroll down to find the preselected row.

Is this possible???

TIA!!!!


QuestionRemoving special character from string Pin
yogesh m16-Jun-06 0:19
yogesh m16-Jun-06 0:19 
AnswerRe: Removing special character from string Pin
CWIZO16-Jun-06 1:02
CWIZO16-Jun-06 1:02 
QuestionAbout Mdi Container Pin
relsirc16-Jun-06 0:12
relsirc16-Jun-06 0:12 
AnswerRe: About Mdi Container Pin
rah_sin16-Jun-06 0:25
professionalrah_sin16-Jun-06 0:25 
AnswerRe: About Mdi Container Pin
wasife16-Jun-06 6:00
wasife16-Jun-06 6:00 
QuestionClass to Dataset [modified] Pin
M. Cahid AYDIN15-Jun-06 23:20
M. Cahid AYDIN15-Jun-06 23:20 
AnswerRe: Class to Dataset Pin
Josh Smith16-Jun-06 3:46
Josh Smith16-Jun-06 3:46 
GeneralRe: Class to Dataset Pin
M. Cahid AYDIN16-Jun-06 21:37
M. Cahid AYDIN16-Jun-06 21:37 
QuestionCubase-like score component Pin
Daniel Persson15-Jun-06 23:04
Daniel Persson15-Jun-06 23:04 
AnswerRe: Cubase-like score component Pin
rah_sin15-Jun-06 23:10
professionalrah_sin15-Jun-06 23:10 
AnswerRe: Cubase-like score component Pin
Christian Graus15-Jun-06 23:14
protectorChristian Graus15-Jun-06 23:14 
AnswerRe: Cubase-like score component Pin
Daniel Persson15-Jun-06 23:22
Daniel Persson15-Jun-06 23:22 
QuestionScreenToClient C#... Pin
anderslundsgard15-Jun-06 22:43
anderslundsgard15-Jun-06 22:43 
AnswerRe: ScreenToClient C#... [modified] Pin
Corinna John15-Jun-06 22:58
Corinna John15-Jun-06 22:58 
GeneralRe: ScreenToClient C#... Pin
anderslundsgard16-Jun-06 2:02
anderslundsgard16-Jun-06 2:02 
Question.Net Pin
surshbabuk15-Jun-06 21:33
surshbabuk15-Jun-06 21:33 
AnswerRe: .Net Pin
surshbabuk15-Jun-06 21:34
surshbabuk15-Jun-06 21:34 

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.