Groups | Blog | Home
all groups > asp.net webcontrols > june 2004 >

asp.net webcontrols : Windows Control in Web Form Posting Back



localhost
6/11/2004 6:09:37 PM
I have a Windows Control hosted in an ASP.NET web page. I am using
cookieless sessions, so the session token ID is visible in the URI
address space of the browser.

On a button click in the Windows Control, I want to post information
back to the hosting ASP.NET page. Is that possible? If it is not,
would I be able to post back to the page if I launched a full NTD
WinForm?

Thanks.


Alvin Bruney [MVP]
6/11/2004 8:03:27 PM
just use javascript to map your button to a post back. scripting is possible
thru the object since it is embedded clientside

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
[quoted text, click to view]

localhost
6/14/2004 2:29:25 PM


How do you get JavaScript in the web page to accept an event/method
from a contained Windows control? DO yo uhave any samples or
reerences I can review?



On Fri, 11 Jun 2004 20:03:27 -0500, "Alvin Bruney [MVP]" <vapor at
[quoted text, click to view]
Alvin Bruney [MVP]
6/14/2004 2:45:31 PM
google for jeff prossise get a rich ui with winforms.

his article explains how to do it. i'm out of the office for a few days and
i have no access to source safe where i keep my code snippets.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
[quoted text, click to view]

AddThis Social Bookmark Button