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
What is break mode?
What is httpresponse?
When cookie will expire?
Explain the difference between debug.write and trace.write?
What is paging in context of Memory?
what are the web form events available in asp.net?
What is page fragment caching?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
Can you set the session out time manually?
What is the difference between runtime version and version?
Can we set master page as a start page?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
What are type/key pairs in client script registration?
Give an example of what might be best suited to place in the application_start and session_start subroutines?
Is oauth for authentication or authorization?