Click here to Skip to main content
15,900,108 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionIndexOutofRangeException in grid Pin
kunal_gct11-Sep-07 18:26
kunal_gct11-Sep-07 18:26 
AnswerRe: IndexOutofRangeException in grid Pin
Sandeep Akhare11-Sep-07 21:44
Sandeep Akhare11-Sep-07 21:44 
Generalanother apporach,another error Pin
kunal_gct12-Sep-07 21:03
kunal_gct12-Sep-07 21:03 
QuestionDropDownList -problem Pin
Rmesh11-Sep-07 18:06
Rmesh11-Sep-07 18:06 
AnswerRe: DropDownList -problem Pin
Imran Khan Pathan11-Sep-07 18:26
Imran Khan Pathan11-Sep-07 18:26 
AnswerRe: DropDownList -problem Pin
N a r e s h P a t e l11-Sep-07 18:28
N a r e s h P a t e l11-Sep-07 18:28 
QuestionAjax Tab Control Pin
Patrice in Irvine11-Sep-07 12:02
Patrice in Irvine11-Sep-07 12:02 
QuestionCreate and add event for linkbutton Pin
ctlqt1211-Sep-07 12:01
ctlqt1211-Sep-07 12:01 
Hi all,

I have a form with a button and a textbox. When i click button, linkbutton will be create on form.
When i click linkbutton, "Hello" will be filled into textbox.

protected void Button1_Click(object sender, EventArgs e)
{
   LinkButton lbtn = new LinkButton();
   lbtn.ID = "MyLinkButton";
   lbtn.Text = "Welcome";
   lbtn.Command += new CommandEventHandler(lbtn_Command);
   form.Controls.Add(lbtn);
}


protected void lbtn_Command(object sender, CommandEventArgs e)
{
   txt.Text = "Hello";
}

But when i click LinkButton, Command event is not raised.

What can i do to raise Command event of LinkButton?
AnswerRe: Create and add event for linkbutton Pin
Imran Khan Pathan11-Sep-07 18:56
Imran Khan Pathan11-Sep-07 18:56 
QuestionNavigation Control Question Pin
RJLuppino11-Sep-07 8:58
RJLuppino11-Sep-07 8:58 
AnswerRe: Navigation Control Question Pin
netJP12L11-Sep-07 10:48
netJP12L11-Sep-07 10:48 
QuestionTextBoxWatermark Pin
netJP12L11-Sep-07 7:43
netJP12L11-Sep-07 7:43 
Questionjavacript popups Pin
A.Vishal11-Sep-07 7:07
A.Vishal11-Sep-07 7:07 
QuestionDrop Down list Pin
seemamltn11-Sep-07 6:56
seemamltn11-Sep-07 6:56 
AnswerRe: Drop Down list Pin
A.Vishal11-Sep-07 7:12
A.Vishal11-Sep-07 7:12 
GeneralRe: Drop Down list Pin
seemamltn11-Sep-07 7:30
seemamltn11-Sep-07 7:30 
GeneralRe: Drop Down list Pin
N a r e s h P a t e l11-Sep-07 18:32
N a r e s h P a t e l11-Sep-07 18:32 
QuestionCharting Software Pin
RahulOP11-Sep-07 6:53
RahulOP11-Sep-07 6:53 
QuestionEmail in ASP.NET [modified] Pin
.NET- India 11-Sep-07 4:55
.NET- India 11-Sep-07 4:55 
AnswerRe: Email in ASP.NET Pin
ToddHileHoffer11-Sep-07 5:19
ToddHileHoffer11-Sep-07 5:19 
QuestionNo parameterless constructor defined for this object. Pin
firestoper11-Sep-07 4:48
firestoper11-Sep-07 4:48 
AnswerRe: No parameterless constructor defined for this object. Pin
Pete O'Hanlon11-Sep-07 5:14
mvePete O'Hanlon11-Sep-07 5:14 
AnswerRe: No parameterless constructor defined for this object. Pin
ToddHileHoffer11-Sep-07 5:29
ToddHileHoffer11-Sep-07 5:29 
GeneralRe: No parameterless constructor defined for this object. [modified] Pin
firestoper11-Sep-07 6:18
firestoper11-Sep-07 6:18 
GeneralRe: No parameterless constructor defined for this object. Pin
StylezHouse11-Sep-07 7:43
StylezHouse11-Sep-07 7:43 

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.