Hello all,
I have a web Container_AppointView wich contain a webButton.
In my container, I have a RaiseEvent on the Action Event of the container.
RaiseEvent ed_Container_X_Open
I have an event definition in the container
ed_Container_X_Open
(no parameters, no return type)
On the Page_Client I am embedding the container,
In the proprety of the page, I defined
Public Property Container_AppointView1 as Container_AppointView
In a method,
Container_AppointView1 = New Container_AppointView
Container_AppointView1.EmbedWithin(Self,20,105,580,700)
AddHandler Container_AppointView1.ed_Container_X_Open, AddressOf m_ContainerContainer_X_Open
Now, the debugger is returning
[quote]Page_Client.m_ContainerAppointViewOpen, line 9
Type mismatch error. Expected delegate Delegate( Container_AppointView.Container_AppointView ), but got delegate Delegate( )
AddHandler Container_AppointView1.ed_Container_X_Open, AddressOf m_ContainerContainer_X_Open
[/quote]
It worked well yesterday morning but I change something in the code (wich I don’t remember, of course, and don’t have a previous copy…)
Since I used this code somewhere else and it is working, I am wondering what I am missing…