This is a migrated thread and some comments may be shown as answers.

OnInsertCommand in ASCX?

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tree
Top achievements
Rank 1
Tree asked on 18 Feb 2008, 09:38 PM
I need to implement a few RadGrids inside a User Control which is in turn included on an ASPX page.

I would like to implement the OnInsertCommand, OnDeleteCommand, ... methods with the ASCX instead of in the cotaining ASPX page.

How do I do that?  In other words, how do I make it so the RadGrid calls these methods in the ASCX.  I considered (briefly) putting wrapper methods in the ASPX page but that would require that the ASPX page have knowledge of implementation details within the ASCX which is very ugly.

How do I accomplish this?

1 Answer, 1 is accepted

Sort by
0
Tree
Top achievements
Rank 1
answered on 18 Feb 2008, 09:45 PM
Never mind.  ASCX methods ARE being called.  My problem (which is that the edit form never appears) seems related to something else.
Tags
Grid
Asked by
Tree
Top achievements
Rank 1
Answers by
Tree
Top achievements
Rank 1
Share this question
or