Click here to Skip to main content
15,898,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
jojoStoneHead19-Jul-07 11:13
jojoStoneHead19-Jul-07 11:13 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
doWhileSomething19-Jul-07 12:31
doWhileSomething19-Jul-07 12:31 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
jojoStoneHead19-Jul-07 13:31
jojoStoneHead19-Jul-07 13:31 
Questionasp:Calendar Pin
Brendan Vogt19-Jul-07 8:15
Brendan Vogt19-Jul-07 8:15 
AnswerRe: asp:Calendar Pin
kubben19-Jul-07 8:20
kubben19-Jul-07 8:20 
QuestionFormView ASP.Net 2.0 Pin
Amit Kumar G19-Jul-07 8:12
Amit Kumar G19-Jul-07 8:12 
AnswerRe: FormView ASP.Net 2.0 Pin
Amit Kumar G19-Jul-07 8:22
Amit Kumar G19-Jul-07 8:22 
QuestionSharepoint WebPart Button Click Pin
Daaron19-Jul-07 8:09
Daaron19-Jul-07 8:09 
I have an *extremely* basic question. Much of the code below has been lifted from Scott Hilier's book on MOSS. I have also asked him this question with no response as yet.

When I click on a button in a sharepoint web part, I think it should run the method I associate:

protected override void CreateChildControls()
{
m_button = new Button();
m_button.Text = "Push Me!";
m_button.Click += new EventHandler(m_button_Click);
Controls.Add(m_button);
}
protected override void RenderContents(HtmlTextWriter writer)
{
m_button.RenderControl(writer);
}
void m_button_Click(object sender, EventArgs e)
{
m_report += "Button Click
";
}

...The problem is that "Button Click" is never reached. It does post back, but it does not reach my breakpoint and does not write the text.

Ideas appreciated.

Cheers,
Daaron

QuestionParse error message [modified] Pin
ASPnoob19-Jul-07 6:27
ASPnoob19-Jul-07 6:27 
AnswerRe: Parse error message Pin
SHatchard19-Jul-07 6:37
SHatchard19-Jul-07 6:37 
GeneralRe: Parse error message Pin
ASPnoob19-Jul-07 8:39
ASPnoob19-Jul-07 8:39 
Questionsessions again Pin
boyindie19-Jul-07 6:26
boyindie19-Jul-07 6:26 
AnswerRe: sessions again Pin
sathesh pandian19-Jul-07 6:49
sathesh pandian19-Jul-07 6:49 
AnswerRe: sessions again Pin
Manas Bhardwaj19-Jul-07 7:11
professionalManas Bhardwaj19-Jul-07 7:11 
GeneralRe: sessions again Pin
boyindie19-Jul-07 7:50
boyindie19-Jul-07 7:50 
AnswerRe: sessions again Pin
doWhileSomething19-Jul-07 8:19
doWhileSomething19-Jul-07 8:19 
GeneralRe: sessions again Pin
boyindie19-Jul-07 11:15
boyindie19-Jul-07 11:15 
GeneralRe: sessions again Pin
doWhileSomething19-Jul-07 12:44
doWhileSomething19-Jul-07 12:44 
GeneralRe: sessions again Pin
boyindie20-Jul-07 0:29
boyindie20-Jul-07 0:29 
AnswerRe: sessions again Pin
Deepak Gedia19-Jul-07 20:42
Deepak Gedia19-Jul-07 20:42 
GeneralRe: sessions again Pin
boyindie20-Jul-07 0:56
boyindie20-Jul-07 0:56 
Questioncopy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 5:31
TheEagle19-Jul-07 5:31 
AnswerRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 8:23
doWhileSomething19-Jul-07 8:23 
GeneralRe: copy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 9:22
TheEagle19-Jul-07 9:22 
GeneralRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 10:17
doWhileSomething19-Jul-07 10:17 

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.