We have a web page that uses vb.net code behind. We have a user control that is written with c# code behind.
From the vb.net page we push a button that causes a modalpopup (ajax) to come to the screen. The modalpopup displays our C# user control. On this user control, the user enters some data and clicks search, and then this User Control needs to populate a grid view with some data. Then the user will select something from the grid view and then data will go into a session variable that the vb.net page will use.
Now, when we click the search button to do step 1 above, it calls back and does some server side processing and the modal pop up closes. We want to show the modal pop up again and this is where the problem lies.
We have an event in the user control. We are trying to call this event from the vb.net page. When trying to code that we cannot access that event from the vb.net code.
//Here is the event on the user control -
public event EventHandler UserControlButtonClicked;
'Then in vb.net we are trying to do this:
OrderSelector1. 'but there is no event name in there. please see screen shot.