EntityGrid.ascx - Where is the 'Real' Source?

Nov 16, 2009 at 4:26 PM

<font size="2" color="#0000ff"><font size="2" color="#0000ff">

public

</font></font><font size="2" color="#0000ff">

 

</font>

partial class EntityGrid:MSAUserControl
{

Where is the source for this? This is NOT it because overriding events does not work, nor does adding additional properties.

 

<font size="2" color="#0000ff"><font size="2" color="#0000ff">

public

</font></font><font size="2" color="#0000ff">

 

</font>

abstract class MSAUserControl : UserControl

This class is of little value for extending as well.

 

Thank....

<font size="2">

 

</font>

 

 

Nov 16, 2009 at 5:45 PM

Interesting enough, i clone the EntityGrid object and call it Grid, now I am able to customize it.

Jan 7, 2010 at 7:59 PM

you need to manually subscribe the event handlers you want to use on the page before you can oveerride them:

e.g. in my vieweditcase.aspx page initialization routine:

caseEditor.Saving += new EventHandler<RecordSavingEventArgs>(caseEditor_Saving);

or in my create user page:

CreateUserWizard1.Load += new EventHandler(CreateUserWizard1_Load);
CreateUserWizard1.CreatedUser += new EventHandler(CreateUserWizard1_CreatedUser);