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 / vishal jani

you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below


e.item.findcontrol("linkbtnname")
linkbtn.attribute.add("onclick",javascript:returnfuctionname()");

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Elaborate differentiation between ViewState and SessionState?

1033


How to Separate background image and front image from original picture....

918


What is the equivalent of date() and time() in asp.net?

942


How do you create a master page?

982


What is asp.net web application?

994


What is a ashx file?

1038


What are the major built-in objects in ASP.NET?

1054


What is ascx?

918


What is the differences between a primary key and a unique key in sql server?

1007


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2866


What is httpresponse?

918


Which data type does the rangevalidator control support?

898


What is asp.net mvc5? : Asp.Net MVC

979


How many ways are there to maintain a state in .net? What is view state?

959


What is cross page posting? How is it done?

899