Click here to Skip to main content
16,004,974 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ObjectDatasource Deletemethod w custom Business Object Pin
minhpc_bk22-Jun-06 15:01
minhpc_bk22-Jun-06 15:01 
QuestionFree AJAX enabled Controls [modified] Pin
wEb GuRu...22-Jun-06 4:33
wEb GuRu...22-Jun-06 4:33 
AnswerRe: Free AJAX enabled Controls Pin
RichardGrimmer22-Jun-06 4:49
RichardGrimmer22-Jun-06 4:49 
QuestionHow to handle a click of a hyperlink Pin
widget122-Jun-06 4:16
widget122-Jun-06 4:16 
AnswerRe: How to handle a click of a hyperlink Pin
RichardGrimmer22-Jun-06 4:52
RichardGrimmer22-Jun-06 4:52 
GeneralRe: How to handle a click of a hyperlink Pin
widget122-Jun-06 5:57
widget122-Jun-06 5:57 
AnswerRe: How to handle a click of a hyperlink Pin
Dustin Metzgar22-Jun-06 4:58
Dustin Metzgar22-Jun-06 4:58 
GeneralRe: How to handle a click of a hyperlink Pin
widget122-Jun-06 5:08
widget122-Jun-06 5:08 
Ok I have switched out my hyperlink for a linkbutton as such:

Dim e_link As LinkButton = New LinkButton
MyTable.Rows(i + 1).Cells(k + 1).Controls.Add(e_link)

Now how do I actually test if the button was clicked? I am not sure how to handle events in vb.net as much as c#.

I have this line:
AddHandler e_link.Click, AddressOf e_link_Click

With this sub below:
Private Sub e_link_Click(ByVal sender As Object, ByVal e As EventArgs)
Response.Write("You clicked Me!")
End Sub

How to I actually call the event based on whether the link is clicked? Sorry if this sounds very simple - I am new to all of this.

I want to check that the cell(linkbutton) was clicked and if so perform my event.

Something like :
if e_link.click = true then . . . . .
GeneralRe: How to handle a click of a hyperlink Pin
Dustin Metzgar22-Jun-06 5:21
Dustin Metzgar22-Jun-06 5:21 
AnswerRe: How to handle a click of a hyperlink Pin
patt22-Jun-06 5:08
patt22-Jun-06 5:08 
Questionasp.net 2.0 GridView Pin
fmardani22-Jun-06 4:11
fmardani22-Jun-06 4:11 
AnswerRe: asp.net 2.0 GridView Pin
minhpc_bk22-Jun-06 5:31
minhpc_bk22-Jun-06 5:31 
QuestionShow image in datagrid Pin
maryam_a22-Jun-06 3:11
maryam_a22-Jun-06 3:11 
AnswerRe: Show image in datagrid Pin
varshavmane22-Jun-06 3:15
varshavmane22-Jun-06 3:15 
AnswerRe: Show image in datagrid Pin
varshavmane22-Jun-06 3:17
varshavmane22-Jun-06 3:17 
AnswerRe: Show image in datagrid Pin
varshavmane22-Jun-06 3:19
varshavmane22-Jun-06 3:19 
AnswerRe: Show image in datagrid Pin
varshavmane22-Jun-06 3:20
varshavmane22-Jun-06 3:20 
QuestionLogin User Control Pin
johnprakash22-Jun-06 2:29
johnprakash22-Jun-06 2:29 
AnswerRe: Login User Control Pin
Not Active22-Jun-06 4:02
mentorNot Active22-Jun-06 4:02 
GeneralRe: Login User Control Pin
johnprakash22-Jun-06 19:02
johnprakash22-Jun-06 19:02 
AnswerRe: Login User Control Pin
alwinSCH27-Jun-06 5:03
alwinSCH27-Jun-06 5:03 
QuestionEdit DataGrid With DataTable(Urgent) Pin
varshavmane22-Jun-06 2:18
varshavmane22-Jun-06 2:18 
QuestionCookie Authentication Pin
munjalpandya22-Jun-06 1:28
munjalpandya22-Jun-06 1:28 
QuestionProblem While Uploading File To Server [modified] Pin
Hummad Hassan22-Jun-06 0:25
Hummad Hassan22-Jun-06 0:25 
AnswerRe: Problem While Uploading File To Server Pin
Guffa22-Jun-06 1:07
Guffa22-Jun-06 1:07 

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.