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

Is LINQ performance wise better or using sqlcommand?

5099


What does mean by a neutral culture?

1081


what is AutoEventWireUp and what is the use of This property explain in details?

1603


Explain some of the major built-in objects in asp.net

1043


What are the benefits of view state?

946


What is a windows service?

1103


What is %20 in a url?

909


What's the ASP.Net Application life cycle?

1110


What is viewstate? What does the “enableviewstate” property do?

919


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

988


What are url fragments?

912


What is asp net application object?

1016


Why asp.net mvc is better than asp.net? : Asp.Net MVC

1146


What is inproc mode in session?

942


Is asp.net easy to learn?

1000