Jump to content
Software FX Community

How to use onDataBound/OnDataBinding


ramanak
 Share

Recommended Posts

Hey,

OnDataBinding and Bound occur before and after the grid binds to its datasource, respectively. 

OnDataBinding is typically used as an opportunity to customize the data source the grid binds to; however, if you use a data source control by setting the grid's DataSourceID property, you shouldn't have to do anything there. 

OnDataBound is a good place to iterate through the grid's Items and/or Groups.  There you could modify item styles, select item(s), total values, etc.

Tell me what you are specifically looking to do and I can provide you with a more detailed explanation.

Thanks so much!

Steve Potter

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...