Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Passing json in committing data on asp.net server
Fri, Sep 23 2016 7:33 AMPermanent Link

Bill

My app running in a MS based intranet.
Reading of dataset from an asp.net server is ok. It produces JSON answer as EWB like...
Now I'm committing changed data from client app invoking a dummy asp.net web page.
This happen because I can only develop asp.net web applications.
Asp.net framework filter received POST pages but doesn't find data because, it seems, expect data in form fields (it search "keys").
Are there examples of this data exchange somewhere?
Is it possible says to EWB that posting data (all transferred json) in a key?

Thanks in advance.
Fri, Sep 23 2016 8:53 AMPermanent Link

Matthew Jones

Bill wrote:

> expect data in form fields

Read up on THTMLForm which will do what you need. In particular, put a
TEdit on it with the name of the field you want, and the text set to
the value. I have the whole lot invisible so the user never sees them.

--

Matthew Jones
Fri, Sep 23 2016 10:36 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< Asp.net framework filter received POST pages but doesn't find data because, it seems, expect data in form fields (it search "keys"). >>

My (limited) understanding of ASP.NET is that you're going to need a web server (.asmx) on the back-end along with a web method that can handle the incoming JSON transaction operations.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Sep 24 2016 5:43 AMPermanent Link

Emin

Tue, Sep 27 2016 4:34 AMPermanent Link

Bill

Thanks all for answers.
I write an easy example at this link:
http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&msg=11014&page=1
hoping it's useful.
Image