DotNet and AJAX

Wednesday, July 27, 2011

GridView RowDataBound or RowCommand

The best place to check or bind controls can be done in RowDataBind Event of GridView.

It can also be done in RowCommand event handler, but during postback there are chances data be lost. I was attaching javascript to a button with another value collected from a databound control, and during postback the data collected and passed to javascript was lost.




Posted by Shibu at 8:52 AM
Labels: GridView RowDataBind

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My Favorites

  • mattberseth
  • Encosia - AJAX
  • Joe on Dot Net
  • Scott Gurthie

About Me

View my complete profile

Blog Archive

  • ►  2012 (3)
    • ►  June (2)
    • ►  March (1)
  • ▼  2011 (13)
    • ►  December (1)
    • ►  October (1)
    • ►  September (2)
    • ►  August (2)
    • ▼  July (7)
      • GridView RowDataBound or RowCommand
      • Error annot convert method group 'Identifier' to n...
      • Configuring Visual Source Safe in Visual Studio IDE
      • Using Windows User Role with Active Directory
      • Enter Key Default Submit Button
      • Connecting MySQL Database with .NET Applications
      • In GridViewDelete Event KEY values are empty
  • ►  2010 (8)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  September (2)
  • ►  2009 (1)
    • ►  January (1)
  • ►  2008 (3)
    • ►  November (1)
    • ►  July (2)
  • ►  2007 (6)
    • ►  November (1)
    • ►  October (5)

My Tags

  • Best Practices
  • Cache
  • design
  • GridView
  • GridView RowDataBind
  • MySQL
  • Validation
Watermark theme. Powered by Blogger.