Click here to Skip to main content
15,897,718 members
Home / Discussions / C#
   

C#

 
AnswerRe: Preventing multiple instances of the window Pin
andre_swnpl18-Jun-07 18:57
andre_swnpl18-Jun-07 18:57 
GeneralRe: Preventing multiple instances of the window Pin
I.explore.code18-Jun-07 19:03
I.explore.code18-Jun-07 19:03 
GeneralRe: Preventing multiple instances of the window Pin
RepliCrux18-Jun-07 19:08
RepliCrux18-Jun-07 19:08 
QuestionEvents Pin
Darkness8418-Jun-07 17:24
Darkness8418-Jun-07 17:24 
AnswerRe: Events Pin
RepliCrux18-Jun-07 17:27
RepliCrux18-Jun-07 17:27 
GeneralRe: Events Pin
Darkness8418-Jun-07 17:39
Darkness8418-Jun-07 17:39 
GeneralRe: Events Pin
RepliCrux18-Jun-07 17:41
RepliCrux18-Jun-07 17:41 
GeneralRe: Events Pin
Darkness8418-Jun-07 17:48
Darkness8418-Jun-07 17:48 
This is the code:

protected void btnNext_Clicked(object sender, EventArgs e)
{
switch (m_teststage)
{
case "STEP1":
hidMode.Value = "STEP2";
break;

case "STEP2":
hidMode.Value = "STEP3";
break;
}

m_teststage = hidMode.Value;

FormatPageChange();
}

private void FormatPageChange()
{
if (m_teststage == "STEP2") InitialiseDMRGrid();
if (m_teststage == "STEP3") InitialiseTestGrid();
SetPanelVisibility();
SetButtonVisibility();
SetValidatorsEnabled();
}

private void InitialiseDMRGrid()
{
WebGridHelper m_webgridhelperDMR = new WebGridHelper(wgDMR, "", "ID");

wgDMR.PrepareDataBinding += new DataSourceEventHandler(wgDMR_PrepareDataBinding);
wgDMR.InitializeDataSource += new DataSourceEventHandler(wgDMR_InitializeDataSource);

m_webgridhelperDMR.SortColumns += new SortColumnsEventHandler(m_webgridhelperDMR_SortColumns);
wgDMR.InitializePostBack += new PostBackEventHandler(wgDMR_InitializePostBack);
}

If I click the Next button the event fires but when it gets to the InitialiseDMRGrid method it goes in but does not fire the events inside.
GeneralRe: Events Pin
RepliCrux18-Jun-07 17:56
RepliCrux18-Jun-07 17:56 
GeneralRe: Events Pin
Darkness8418-Jun-07 18:04
Darkness8418-Jun-07 18:04 
AnswerRe: Events Pin
Sathesh Sakthivel18-Jun-07 17:28
Sathesh Sakthivel18-Jun-07 17:28 
GeneralRe: Events Pin
Not Active18-Jun-07 19:10
mentorNot Active18-Jun-07 19:10 
GeneralRe: Events Pin
N a v a n e e t h18-Jun-07 21:00
N a v a n e e t h18-Jun-07 21:00 
Questionmatlab in c# Pin
shdelpiero18-Jun-07 17:13
shdelpiero18-Jun-07 17:13 
AnswerRe: matlab in c# Pin
Sathesh Sakthivel18-Jun-07 17:19
Sathesh Sakthivel18-Jun-07 17:19 
QuestionMouse Over in logical window Pin
mercenary0118-Jun-07 17:08
mercenary0118-Jun-07 17:08 
QuestionMake a widget (like the old konfabulator) in C# Pin
ksno0418-Jun-07 15:05
ksno0418-Jun-07 15:05 
AnswerRe: Make a widget (like the old konfabulator) in C# Pin
Christian Graus18-Jun-07 15:33
protectorChristian Graus18-Jun-07 15:33 
GeneralRe: Make a widget (like the old konfabulator) in C# Pin
ksno0418-Jun-07 17:05
ksno0418-Jun-07 17:05 
GeneralRe: Make a widget (like the old konfabulator) in C# Pin
Mark Greenwood18-Jun-07 17:38
Mark Greenwood18-Jun-07 17:38 
QuestionFill a DataGridView with data from 2 related tables Pin
aecordoba18-Jun-07 13:19
aecordoba18-Jun-07 13:19 
AnswerRe: Fill a DataGridView with data from 2 related tables Pin
RepliCrux18-Jun-07 14:14
RepliCrux18-Jun-07 14:14 
AnswerRe: Fill a DataGridView with data from 2 related tables Pin
I.explore.code18-Jun-07 18:50
I.explore.code18-Jun-07 18:50 
GeneralRe: Fill a DataGridView with data from 2 related tables Pin
aecordoba19-Jun-07 3:21
aecordoba19-Jun-07 3:21 
AnswerRe: Fill a DataGridView with data from 2 related tables Pin
aecordoba21-Jun-07 11:29
aecordoba21-Jun-07 11:29 

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.