How do you add a javascript function for a link button in a
datagrid ?
Answers were Sorted based on User's Feedback
Answer / vishal jani
you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below
e.item.findcontrol("linkbtnname")
linkbtn.attribute.add("onclick",javascript:returnfuctionname()");
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / subhash saini
After finding the link button
LinkButton.attribute.add("onclick",javascript:return
testfunction();");
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / rana rashid
onClintClick()
add the java funtion name and call it...
Is This Answer Correct ? | 5 Yes | 5 No |
Answer / vidit tyagi
you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below
linkbutton linkbtn=(linkbutton)( e.item.findcontrol
("linkbtnname"))
linkbtn.attribute.add("onclick",javascript:returnfuctionname
()");
Is This Answer Correct ? | 1 Yes | 2 No |
What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
What are validator? Name the validation controls in asp.net? How do you disable them?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
What is a 401 redirect?
ASP.NET Web Service
what is profiles in asp.net
What is CLS?
5 Answers IBM, PrimeLine, TCS,
What are the uses of list view control in Asp.net?
How can you assign styles to webforms?
Turn Off ASP Session State on an IIS 5.1 Web Site
What is the biggest disadvantage of “Other Return Types” in Web API?
Which is better asp.net or php?