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

Where the assembly is stored in asp.net?

1056


What is Pre-Render event in ASP.NET?

1163


What is mvc in angular?

1023


Explain difference between dataset and recordset?

1114


What are web server controls in asp.net?

1164


How can I have a particular web page in an asp.net application which displays its own error page?

1173


What is the difference between custom web user control and a custom web server control?

1023


What's the difference between viewstate and sessionstate?

1126


How do we implement bundling in MVC?

1152


How do you open a page in a new window?

1020


Who can consume WebAPI?

1058


Explain the difference between panel and groupbox classes using .net?

1014


What is asp.net globalization?

1029


How Session use Cookies in State Management?

1119


What is full form of asp.net?

1060