Forgot your password? Ask a Question. Please Sign up or sign in to vote. See more: C. Hi friends, C. Copy Code. Posted Oct pm baskaran chellasamy. Add a Solution. Accept Solution Reject Solution. The only way you can make the grid's on data row bound event to be fired is by registering the onrowdatabound event of your grid.
DataSource ; RowDataBound If e. FindControl "imageFile" , System. Image imageFile. Only authorized users can answer the question. Please sign in first, or register a free account. Not the answer you're looking for? Browse other questions tagged : c. Related Answers. LastName; firstName. The GridView. RowDataBound event will only be fired if you've declared the handler within the control itself for C. Therefore, you need to do something like this:.
Hi guys, Well this issue seems to be already resolved. The reason was, in the gridview I used, AutoGenerateColumns property was set to "false". The content you requested has been removed. Ask a question. This enables you to provide an event-handling method that performs a custom routine, such as modifying the values of the data bound to the row, whenever this event occurs.
A GridViewRowEventArgs object is passed to the event-handling method, which enables you to access the properties of the row being bound. You can determine which row type header row, data row, and so on is being bound by using the RowType property. For more information about how to handle events, see Handling and Raising Events. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.
0コメント