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 are the event handlers that we can have in global.asax file?

967


Explain how can we inherit a static member?

977


What are cao and sao.

1057


Why should i prefer JSP over asp.net or any other web development language..??

1991


What websites use asp.net?

1022


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

4211


Define authentication and authorization.

1083


List the events in page life cycle.

963


Explain the difference between asp.net mvc and asp.net webforms

1052


What is difference between datalist and gridview?

1076


How does session work in asp net?

1051


Explain the Session state management options available with ASP.NET?

1023


What is the use of web.config file?

1008


What does passport and windows authentication mean in ASP.NET?

1198


How do you implement sql caching in asp.net?

1060