This is a migrated thread and some comments may be shown as answers.

How do I get this to work

1 Answer 59 Views
Notification
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 25 Jul 2011, 07:46 PM
Scenario:
  1. User clicks "Save" button
  2. I populate a javascript object with the form values, serialize it
  3. ???
  4. Notification is shown with the saved results

I'm unsure what to do for step 3...
saveNotificationPanel.set_value(Sys.Serialization.JavaScriptSerializer.serialize(values));

I'm setting the values, and I have it wired up to the Webservice, but I'm not getting an xmlhttpcallback happening.

Is there additional something I need to do to force that callback to happen?  I'm using it like the RadXmlHttpPanel where set_value does the callback, but I assume this works differently?

The idea is the values get sent to the webservice which saves them to the DB, and the result is returned to the page as Success or Fail and I'll change the panel details clientside.

Steve

1 Answer, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 25 Jul 2011, 07:56 PM
**EDIT**

Figured it out, non-issue

I must have hit Undo, the webservice details were no longer in the markup definition :)
Tags
Notification
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or