Hello all,
I have an aspx page with two forms Form A & Form B.
Form B pretty much will never be posted but Form A will at times get populated with hidden values from javascript. It will then be submitted for server side processing (C#) and javascript will read the return value hidden fields and update the client.
Now I create several ActiveX object up initial page load and it occurs to me what will happen to them? Will the entire page reload thus destroying my XML object and datasource connection object?
In terms of what I want is this:
Page loads & has initial data.
Objects are created to tx, rx, & process xml to a third party server over an asynch TCP connection.
On rx of data we need to send to main server for processing (against data there) so we use second form with hidden fields to send data to our server.
Ideally we would want the server to process the data and ONLY populate the submitted form again. I do NOT want to redraw the entire page as doing so will look lame but also cause my objects to be destroyed then reloaded.
I am off to go experiment and see what happens but if any of you can provide information and or a better way to accomplish this task it would be greatly appreciated.
JB
Loading
Roei BarPosted Oct 9, 2009, 5:50 PM
this is a dll standing in the IIS reading all requests, and redirect the data you need to the application you desire. if i understood your needs i think you can most definetly use it
Jackson BrownPosted Oct 9, 2009, 10:48 AM
Should I Google and read up on XML handler's or what exactly am I needing to learn?
1. To make sure I am clear the client will rx data from a 3rd party via an activex object with exposed interfaces.
2. We get that data by polling the object's data interface with a javascript timer.
3. When something shows up we were thinking we would put that data into a hidden element and send it to code behind for processing via postback.
4. Postback would populate a second hidden field with results.
5. We would pull results using javascript then update client screen. If there is a better way just point me and I'll be happy to take the ball and read, learn, then run with it.
JB
Roei BarPosted Oct 9, 2009, 9:47 AM