Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is break mode?

927


What is httpresponse?

951


When cookie will expire?

985


Explain the difference between debug.write and trace.write?

962


What is paging in context of Memory?

1102


what are the web form events available in asp.net?

1033


What is page fragment caching?

953


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

1107


Can you set the session out time manually?

880


What is the difference between runtime version and version?

1034


Can we set master page as a start page?

1024


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

957


What are type/key pairs in client script registration?

1063


Give an example of what might be best suited to place in the application_start and session_start subroutines?

958


Is oauth for authentication or authorization?

1027