Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
GeneralRe: Annoying ListBox problem Pin
Luc Pattyn22-Oct-10 5:17
sitebuilderLuc Pattyn22-Oct-10 5:17 
GeneralRe: Annoying ListBox problem Pin
OriginalGriff22-Oct-10 5:24
mveOriginalGriff22-Oct-10 5:24 
GeneralRe: Annoying ListBox problem Pin
Luc Pattyn22-Oct-10 5:19
sitebuilderLuc Pattyn22-Oct-10 5:19 
GeneralRe: Annoying ListBox problem Pin
Henry Minute22-Oct-10 5:30
Henry Minute22-Oct-10 5:30 
GeneralRe: Annoying ListBox problem Pin
Luc Pattyn22-Oct-10 5:59
sitebuilderLuc Pattyn22-Oct-10 5:59 
GeneralRe: Annoying ListBox problem Pin
Henry Minute22-Oct-10 6:06
Henry Minute22-Oct-10 6:06 
GeneralRe: Annoying ListBox problem Pin
Henry Minute22-Oct-10 6:48
Henry Minute22-Oct-10 6:48 
GeneralRe: Annoying ListBox problem Pin
Henry Minute22-Oct-10 7:08
Henry Minute22-Oct-10 7:08 
Problem resolved.

Modified the order of code in btnAdd_Click.

C#
this.data.Add(this.txtEditEntry.Text);
RefreshDataBoundControls();
this.lboxEntries.ClearSelected();  <============== Moved
this.lboxEntries.Update();  <===================== Moved
this.lboxEntries.SelectedIndex = data.Count - 1;


Thanks for the help. Smile | :)
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Annoying ListBox problem Pin
Luc Pattyn22-Oct-10 7:33
sitebuilderLuc Pattyn22-Oct-10 7:33 
GeneralRe: Annoying ListBox problem Pin
Henry Minute22-Oct-10 7:41
Henry Minute22-Oct-10 7:41 
GeneralRe: Annoying ListBox problem Pin
Luc Pattyn22-Oct-10 14:36
sitebuilderLuc Pattyn22-Oct-10 14:36 
GeneralRe: Annoying ListBox problem Pin
Henry Minute22-Oct-10 5:31
Henry Minute22-Oct-10 5:31 
QuestionCrystal Report Formula needed Pin
Nikhil Bhivgade22-Oct-10 1:29
professionalNikhil Bhivgade22-Oct-10 1:29 
AnswerRe: Crystal Report Formula needed [modified] Pin
Sivaraman Dhamodharan22-Oct-10 2:51
Sivaraman Dhamodharan22-Oct-10 2:51 
GeneralRe: Crystal Report Formula needed Pin
Nikhil Bhivgade22-Oct-10 21:35
professionalNikhil Bhivgade22-Oct-10 21:35 
QuestionHost WPF application on WEB Pin
VisualLive22-Oct-10 0:15
VisualLive22-Oct-10 0:15 
AnswerRe: Host WPF application on WEB Pin
Simon P Stevens22-Oct-10 1:13
Simon P Stevens22-Oct-10 1:13 
AnswerRe: Host WPF application on WEB Pin
#realJSOP22-Oct-10 1:41
mve#realJSOP22-Oct-10 1:41 
AnswerRe: Host WPF application on WEB Pin
Nish Nishant22-Oct-10 2:02
sitebuilderNish Nishant22-Oct-10 2:02 
GeneralRe: Host WPF application on WEB Pin
Abhinav S22-Oct-10 2:47
Abhinav S22-Oct-10 2:47 
GeneralRe: Host WPF application on WEB Pin
Nish Nishant22-Oct-10 4:15
sitebuilderNish Nishant22-Oct-10 4:15 
AnswerRe: Host WPF application on WEB Pin
Abhinav S22-Oct-10 2:46
Abhinav S22-Oct-10 2:46 
GeneralRe: Host WPF application on WEB Pin
VisualLive23-Oct-10 19:17
VisualLive23-Oct-10 19:17 
QuestionFind Label in Gridview Footer Row in javascript Pin
SatyaKeerthi1521-Oct-10 23:33
SatyaKeerthi1521-Oct-10 23:33 
AnswerRe: Find Label in Gridview Footer Row in javascript Pin
OriginalGriff22-Oct-10 1:10
mveOriginalGriff22-Oct-10 1:10 

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.