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 / vidit tyagi

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


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

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the procedure to create the environment for asp.net? : asp.net mvc

1034


How many types of file extensions for razor views in ASP.Net MVC?

1209


Where web.config file is used?

1078


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

1001


What is httpresponse?

948


How do cookies work? Give an example of their abuse.

971


What is parse in asp.net?

1062


calling result set one procedure to anothar procedure in sql2000

1753


If you want to write your own dot net language, what steps you will you take care?

1068


How would you get asp.net running in apache web servers? Explain it's limitations.

969


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

1002


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

872


What are the differnt types of handler in ASP.NET?

974


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

955


what cut off mark for po's,what questions they asked for interview?

1856