If I understand correct you want to send a notification from the Webpage to
the dll.. This is normally done through properties...and the reverse of DLL
to Webpage will be done through events.. but, you can send event
notifications from Component Higher in the order to ones lower in the
order.. How to do this... as below..
public class DLLClass
{
private System.Web.Forms.Button btn1;
public System.Web.Forms.Button SetBtn
{
btn1 = value;
btn1.Click+=new EventHandler(btn_click)
}
private void btn_click(obecjt sender, EventArgs e )
{
//Click Event... (A)... recivied in Dll
}
}
public class WePage : System.Web.Forms
{
private System.Web.Forms.Button button1;
button1.click+=new EventHandler(tb_Click);
//Some Method that invokes the Dlls class...
private void Method1()
{
DLLClass dlCls = new DLLClass()
dlCls.SetBtn = button1;
}
private void tb_Click(object sender, EventArge e)
{
//Click Event... (A)... send to Dll
}
}
The code might not be syntax perfect (and might have typos)... but hope you
get the idea...Also, somebody correct me if I am wrong or if this is a bad
practice to do..
VJ
"sonu" <kr*******@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have created a window application which has two grid
we drag and drop from one grid to other.
tn i changed that window application into DLL.
and called that dll in a web page.
grid are displaying with record but.
how to fire drag and drop event from web page to Dll.
Any help please
Regards
Amit