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's the use of formatters in .net?
What is globalization and localization in asp net?
Differentiate between file-based dependency and key-based dependency.
How can we prevent browser from caching an aspx page?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
Give some salient points of difference between request processor and request dispatcher.
what is uncle aunty file
Fetch one page value to another page without using state-managment ?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
How can we inherit a static variable?
What is ASLM?
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
0 Answers Sans Pareil IT Services,