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

Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

908


Can a master page have more than one contentplaceholder?

915


What are different methods of session maintenance in asp.net?

999


What is asp.net? How is it different from asp?

993


What are the navigation ways between pages available in ASP.NET?

986


Difference between .NET and previous version?

2527


What is the flow of processing of the request? : asp.net mvc

978


What are the types of caching in asp.net?

994


Where is asp.net session stored?

889


Differentiate between authentication and authorization.

918


Is viewstate enabled by default?

911


What is the difference between asp.net and mvc?

1052


Which object encapsulates state or data of a user?

1015


What are the Types of state management techniques

978


Why web api is better than wcf?

1045