Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Data upload/download between Windows forms client with hosted Webbrowser and ASP website: Event handling/messaging

$
0
0

I have a client-server application where remote desktop clients run a Windows .Net Forms Application hosting a Webbrowser control, and the remote clients connect to an ASP server with central database information displayed in a webdatagrid. 

I would like to have the remote client be able to select specific rows from the datagrid and download the database record to the client application and have the client application add the downloaded record to the local database.  Each record averages about 20-30K of data which I am currently transferring via a separate web service running on the website.

As most of my programming experience is on the desktop rather than server, my specific question is how to architect the UI to trigger the data download, and how to synchronize the event(s) between server and client?  I was thinking about providing a download button or context menu item on the ASP page (server-side) to initiate the download, but do not know how to message the desktop application so that the download could be appropriately received and stored in the local database. 

Can Script Manager be used to have the desktop application handle a custom event raised through the webrowser control?  Or alternately, how can the application hosting the webbrowser receive messaging from the server that download data has been requested?

Thanks for any help.


-BGood


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>