How do you add a javascript function for a link button in a
datagrid?
Answer Posted / krishna prasad
in databound event
foreach(dataview/datagrid items)
{
find the linkbutton(objLinkButton) row.findcontrl
("LinkButtonID")
objLinkButton.attributes.add("onClick","return "validates
();")
}
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can I read the hard disk serial # of the client computer using asp.net?
what is DLL Hell and how it is solved in .NET? please explain clearly??
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
What is http session state?
What is asp.net response object?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
How could you modify xaml content from javascript?
Is asp.net and .net same?
What is the difference between union and join?
What is http post action?
What is server side routing?
What is a runtime version?
Where is session data stored in asp net?
What are server objects?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj