Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regarding Functions Pin
dan!sh 29-Oct-09 4:00
professional dan!sh 29-Oct-09 4:00 
QuestionString doesnot have a definition for ApplycurrentValues Pin
haleemasher29-Oct-09 0:46
haleemasher29-Oct-09 0:46 
AnswerRe: String doesnot have a definition for ApplycurrentValues Pin
Keith Barrow29-Oct-09 1:51
professionalKeith Barrow29-Oct-09 1:51 
QuestionUrgent : Related to Word Allignment Pin
harry325029-Oct-09 0:41
harry325029-Oct-09 0:41 
AnswerRe: Urgent : Related to Word Allignment Pin
hb5213421429-Oct-09 9:00
hb5213421429-Oct-09 9:00 
GeneralRe: Urgent : Related to Word Allignment Pin
hb5213421429-Oct-09 9:20
hb5213421429-Oct-09 9:20 
GeneralRe: Urgent : Related to Word Allignment Pin
harry32502-Nov-09 1:28
harry32502-Nov-09 1:28 
QuestionFire AfterSelection event Pin
eyalle28-Oct-09 23:41
eyalle28-Oct-09 23:41 
Hello,
i have a tree view ,were an After Selection event occurs after selecting a node.
i also have a function called refresh which refreshes the tree View by building it from scratch.
the problem is that when the refresh is made, the selected node is not changing, which is fine, but the after Select event is not fired, which is not fine at all (since this event retrieves necessary data).

my question is: how (if possible) can i fire an after Selection event without changing my selection.
attached is relevant code
Thanks


private void        tvwProject_AfterSelect(object sender, TreeViewEventArgs e)
...


//this code mainly constructs the tree View
private void        refreshProjectTree()
        {
            if (isProject)
            {
                BLFunctions.BuildProjectTree(tvwProject);
                BLFunctions.ExpandNode(tvwProject, tvwProject.Nodes[0]);
            }
            else
            {
                BLFunctions.BuildSchemaTree(tvwSchema);
            }
        }

AnswerRe: Fire AfterSelection event Pin
Christian Graus28-Oct-09 23:47
protectorChristian Graus28-Oct-09 23:47 
GeneralRe: Fire AfterSelection event Pin
eyalle28-Oct-09 23:50
eyalle28-Oct-09 23:50 
GeneralRe: Fire AfterSelection event Pin
Christian Graus29-Oct-09 0:22
protectorChristian Graus29-Oct-09 0:22 
GeneralRe: Fire AfterSelection event Pin
eyalle29-Oct-09 1:15
eyalle29-Oct-09 1:15 
GeneralRe: Fire AfterSelection event Pin
Shameel29-Oct-09 4:29
professionalShameel29-Oct-09 4:29 
QuestionOutlook Plug-In - Visual Studio closes on build Pin
Martin Fourie28-Oct-09 23:12
Martin Fourie28-Oct-09 23:12 
AnswerRe: Outlook Plug-In - Visual Studio closes on build Pin
Saksida Bojan29-Oct-09 4:53
Saksida Bojan29-Oct-09 4:53 
GeneralRe: Outlook Plug-In - Visual Studio closes on build Pin
Martin Fourie1-Nov-09 20:31
Martin Fourie1-Nov-09 20:31 
Questionchange TableLayoutPanel RowCount before Custom Control Initialization? Pin
Lyon Sun28-Oct-09 23:11
Lyon Sun28-Oct-09 23:11 
QuestionVideo Open & Play using Media Player in C# done but some problem Pin
asimkhatri28-Oct-09 21:28
asimkhatri28-Oct-09 21:28 
AnswerRe: Video Open & Play using Media Player in C# done but some problem Pin
Christian Graus28-Oct-09 21:33
protectorChristian Graus28-Oct-09 21:33 
GeneralRe: Video Open & Play using Media Player in C# done but some problem Pin
ragnaroknrol29-Oct-09 4:43
ragnaroknrol29-Oct-09 4:43 
AnswerRe: Video Open & Play using Media Player in C# done but some problem Pin
ragnaroknrol29-Oct-09 4:53
ragnaroknrol29-Oct-09 4:53 
QuestionPDF conversion issue Pin
Santhosh Sebastian Mattathil28-Oct-09 21:25
Santhosh Sebastian Mattathil28-Oct-09 21:25 
AnswerRe: PDF conversion issue Pin
Christian Graus28-Oct-09 21:32
protectorChristian Graus28-Oct-09 21:32 
GeneralRe: PDF conversion issue Pin
Santhosh Sebastian Mattathil28-Oct-09 21:39
Santhosh Sebastian Mattathil28-Oct-09 21:39 
GeneralRe: PDF conversion issue Pin
Christian Graus28-Oct-09 22:03
protectorChristian Graus28-Oct-09 22:03 

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.