How do I get an HWND for an aspx page?

  • Thread starter Thread starter None
  • Start date Start date
N

None

Hi,

How do I get an HWND for an aspx page? like
System.Windows.Forms.Form.ActiveForm.Handle.ToInt32() in Windows Forms.
If anybody knows solution please let me know it.

Thanks,
Vinoth
 
Hi,

How do I get an HWND for an aspx page? like
System.Windows.Forms.Form.ActiveForm.Handle.ToInt32() in Windows Forms.
If anybody knows solution please let me know it.

Do you mean you want the handle of the web browser being used to view the
rendered output? An aspx page in and of itself doesn't have a handle. The
client application that is being used to view the rendered output of the
aspx page may have a handle but I'm not sure what good that would do you.
What exactly is it you are trying to do?
 
Hi,


You can't . all the asp.net code is executed server side, when it reach the
client browser it's just standard html.

why you want it in the first place?
what r u trying to do?


cheers,
 
You can only get a handle for the local browser window, the contents (the
aspx outpout) are rendered from a remote server which knows nothing about
windows handles.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top