Click here to Skip to main content
15,867,834 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionretiveig columns Pin
yuvachandra13-Apr-07 1:31
yuvachandra13-Apr-07 1:31 
AnswerRe: retiveig columns Pin
JustChiragPatel13-Apr-07 1:49
JustChiragPatel13-Apr-07 1:49 
GeneralRe: retiveig columns Pin
yuvachandra13-Apr-07 2:47
yuvachandra13-Apr-07 2:47 
QuestionNeed help in DotNetNuke ( Please reply urgent) Pin
Faisal Khatri13-Apr-07 1:11
Faisal Khatri13-Apr-07 1:11 
Questionstring js=AttachListener('isSelectCheckBox'); Pin
siddisagar13-Apr-07 1:09
siddisagar13-Apr-07 1:09 
AnswerRe: string js=AttachListener('isSelectCheckBox'); Pin
Guffa13-Apr-07 1:51
Guffa13-Apr-07 1:51 
Questiondetermine which button on a form was clicked Pin
Russell Jones13-Apr-07 0:30
Russell Jones13-Apr-07 0:30 
AnswerRe: determine which button on a form was clicked Pin
thomasa13-Apr-07 0:49
thomasa13-Apr-07 0:49 
have you added the click event? something like:
<br />
Button btn = new Button();<br />
btn.Click += new System.EventHandler(this.btnEdit_Click);<br />

You could also add the attribut "CommandArgument" or "CommandName" and add an ID number to that button.
Something like:
<br />
btn.CommandArgument = iUserID.ToString();<br />
or<br />
btn.CommandName= iUserID.ToString();<br />

And then:
<br />
private void lbtnEdit_Click(object sender, System.EventArgs e)<br />
		{<br />
			System.Web.UI.WebControls.Button btn = (System.Web.UI.WebControls.Button)sender;<br />
<br />
			int iUserID = int.Parse(btn.CommandArgument);					<br />
			<br />
		}<br />


Hope it helps
Thomas
AnswerRe: determine which button on a form was clicked Pin
enjoycrack13-Apr-07 0:51
enjoycrack13-Apr-07 0:51 
GeneralRe: determine which button on a form was clicked Pin
Russell Jones13-Apr-07 0:58
Russell Jones13-Apr-07 0:58 
GeneralRe: determine which button on a form was clicked Pin
enjoycrack13-Apr-07 1:01
enjoycrack13-Apr-07 1:01 
GeneralRe: determine which button on a form was clicked Pin
Russell Jones13-Apr-07 2:03
Russell Jones13-Apr-07 2:03 
GeneralRe: determine which button on a form was clicked Pin
enjoycrack13-Apr-07 3:55
enjoycrack13-Apr-07 3:55 
GeneralRe: determine which button on a form was clicked Pin
Russell Jones13-Apr-07 4:06
Russell Jones13-Apr-07 4:06 
QuestionEditing In Grid Pin
Lijo Rajan13-Apr-07 0:20
Lijo Rajan13-Apr-07 0:20 
AnswerRe: Editing In Grid Pin
_AK_13-Apr-07 1:11
_AK_13-Apr-07 1:11 
GeneralRe: Editing In Grid Pin
Lijo Rajan17-Apr-07 0:45
Lijo Rajan17-Apr-07 0:45 
GeneralRe: Editing In Grid Pin
_AK_17-Apr-07 2:52
_AK_17-Apr-07 2:52 
QuestionBinding Grid Pin
Lijo Rajan13-Apr-07 0:16
Lijo Rajan13-Apr-07 0:16 
AnswerRe: Binding Grid Pin
_mubashir13-Apr-07 0:19
_mubashir13-Apr-07 0:19 
GeneralRe: Binding Grid Pin
Lijo Rajan17-Apr-07 0:58
Lijo Rajan17-Apr-07 0:58 
AnswerRe: Binding Grid Pin
enjoycrack13-Apr-07 0:54
enjoycrack13-Apr-07 0:54 
QuestionHiding menubar, statusbar and toolbar in javascript Pin
Kanjinghat12-Apr-07 23:45
Kanjinghat12-Apr-07 23:45 
AnswerRe: Hiding menubar, statusbar and toolbar in javascript Pin
Kunal P13-Apr-07 0:39
Kunal P13-Apr-07 0:39 
GeneralRe: Hiding menubar, statusbar and toolbar in javascript Pin
Kanjinghat13-Apr-07 1:04
Kanjinghat13-Apr-07 1:04 

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.