Click here to Skip to main content
15,908,166 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Thanks Pin
Christian Graus4-Oct-07 14:31
protectorChristian Graus4-Oct-07 14:31 
QuestionTextbox C# Pin
OlieColie4-Oct-07 13:30
OlieColie4-Oct-07 13:30 
AnswerRe: Textbox C# Pin
Colin Angus Mackay4-Oct-07 13:44
Colin Angus Mackay4-Oct-07 13:44 
AnswerRe: Textbox C# Pin
N a v a n e e t h4-Oct-07 19:21
N a v a n e e t h4-Oct-07 19:21 
Questiondynamic anchor with onserverclick as control Pin
Chandiv4-Oct-07 9:14
Chandiv4-Oct-07 9:14 
QuestionTrigger validationsummary message box Pin
JimFeng4-Oct-07 8:35
JimFeng4-Oct-07 8:35 
AnswerRe: Trigger validationsummary message box Pin
Christian Graus4-Oct-07 14:43
protectorChristian Graus4-Oct-07 14:43 
QuestionAdding a button to a table created in codebehind Pin
Chajon4-Oct-07 6:40
Chajon4-Oct-07 6:40 
I have created a table that pulls from a database of users' comments. As it is sort of a wiki, I want the user and/or other users to be able to edit the comments once they have been posted. However, when I try to add an Edit button, it requires that I append .toString(), which causes the button to appear as System.Web.UI.WebControls.ImageButton instead of an actual working image button. Is there any way to add a button that actually works? And, yes, I am aware that the code is incomplete and that the button does not currently DO anything. Smile | :) Right now I'm just trying to make it show up. Any help would be greatly appreciated.

while (reader.Read())
{
	HtmlTableRow r = new HtmlTableRow();
	HtmlTableCell c0 = new HtmlTableCell();
	c0.InnerText = reader[0].ToString();

	HtmlTableCell c1 = new HtmlTableCell();
	
	// Troublesome part...
	ImageButton a = new ImageButton();
	c1.InnerHtml = a.ToString();
	// I also tried c1.InnerHtml = a; and countless other variations
	// End troublesome part

	r.Cells.Add(c0);
	r.Cells.Add(c1);
	table.Rows.Add(r);
}

AnswerRe: Adding a button to a table created in codebehind Pin
talasila804-Oct-07 7:26
talasila804-Oct-07 7:26 
GeneralRe: Adding a button to a table created in codebehind Pin
Chajon4-Oct-07 7:41
Chajon4-Oct-07 7:41 
QuestionRemoving anonymous access to web service Pin
gauthee4-Oct-07 5:04
gauthee4-Oct-07 5:04 
AnswerRe: Removing anonymous access to web service Pin
balaji baskar4-Oct-07 8:46
balaji baskar4-Oct-07 8:46 
GeneralRe: Removing anonymous access to web service Pin
gauthee4-Oct-07 19:55
gauthee4-Oct-07 19:55 
QuestionProblem while creating .mdf file Pin
bhattiprolu4-Oct-07 4:58
bhattiprolu4-Oct-07 4:58 
AnswerRe: Problem while creating .mdf file Pin
Matthew Hazlett4-Oct-07 9:24
Matthew Hazlett4-Oct-07 9:24 
Questionweb server capture Pin
orsini4-Oct-07 4:42
orsini4-Oct-07 4:42 
QuestionImage to PDF Pin
armandolaser4-Oct-07 4:15
armandolaser4-Oct-07 4:15 
AnswerRe: Image to PDF Pin
Chajon4-Oct-07 7:18
Chajon4-Oct-07 7:18 
GeneralRe: Image to PDF Pin
armandolaser4-Oct-07 8:21
armandolaser4-Oct-07 8:21 
GeneralRe: Image to PDF Pin
Christian Graus4-Oct-07 10:52
protectorChristian Graus4-Oct-07 10:52 
GeneralRe: Image to PDF Pin
armandolaser4-Oct-07 10:58
armandolaser4-Oct-07 10:58 
GeneralRe: Image to PDF Pin
Christian Graus4-Oct-07 11:40
protectorChristian Graus4-Oct-07 11:40 
GeneralRe: Image to PDF Pin
armandolaser4-Oct-07 11:49
armandolaser4-Oct-07 11:49 
GeneralRe: Image to PDF Pin
Christian Graus4-Oct-07 12:13
protectorChristian Graus4-Oct-07 12:13 
GeneralRe: Image to PDF Pin
armandolaser4-Oct-07 12:23
armandolaser4-Oct-07 12:23 

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.