Click here to Skip to main content
12,635,630 members (24,896 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Alternatives
Alternatives (2)
Add your own
alternative version

Stats

174.9K views
51 bookmarked
Posted

Click/Select row in ASP.NET GridView or HTML 5 Table

, 15 Feb 2015 CPOL
Make entire table row clickable/selectable by adding "onclick" event and formatting features via JavaScript and CSS3.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

28 Dec 2011
Sunasara Imdadhusen
Following are optimized code for SelectRow functionStylesheet.selectedRow{color: #303030;font-size:3em;font-weight:bold;}.normalRow{color: #909090;font-size:2em;font-weight:normal;}Javascriptfunction SelectRow(row) { // get all data rows - siblings to...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

DrABELL
President Infosoft International Inc
United States United States
Dr. Alexander Bell is a seasoned full-stack Software Engineer (Win/Web/Mobile). He holds PhD in EE/IT, authored 37 inventions and published 300+ technical articles. Currently focused on HTML5/CSS3, Javascript, .NET/WPF/C#, Angular.js, SQL, 'Big Data', Machine Learning, AI, IoT. Alex participated in App Innovation Contests (AIC 2102/2013) with multiple winning submissions. Portfolio samples:

  1. Real-time NY Bus Tracking Web App (IoT)

  2. Integrated Sensors Hub (IMU) Testing Web Page

  3. Semaphon™ semantic phone num-to-text converter

  4. Educational Web Portal

  5. Free Online NY Payroll Tax Calculator

  6. WebTV powered by YouTube Player powered by .NET API (#1 on Google)

  7. Top-50 Digital Cameras (by iMark-DCAM rating engine)

  8. Pure CSS3 Slide Show

  9. Inflation Calculator

  10. CSS3 Modal Pop-up Dialog

  11. Multilingual Geocoder with Interactive Map

  12. Online Semantic Analyzer (Concordance Calculator)

  13. Advanced CSS3 Table Formatting


Pro
| | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 15 Feb 2015
Article Copyright 2011 by DrABELL
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid