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
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Can a master page have more than one contentplaceholder?
What are different methods of session maintenance in asp.net?
What is asp.net? How is it different from asp?
What are the navigation ways between pages available in ASP.NET?
Difference between .NET and previous version?
What is the flow of processing of the request? : asp.net mvc
What are the types of caching in asp.net?
Where is asp.net session stored?
Differentiate between authentication and authorization.
Is viewstate enabled by default?
What is the difference between asp.net and mvc?
Which object encapsulates state or data of a user?
What are the Types of state management techniques
Why web api is better than wcf?