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

Window config content options ignored in releases >2012.1.322

1 Answer 40 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 20 Jun 2012, 11:20 AM
Consider the fiddle at:

http://jsfiddle.net/vapKb/42/ 

If you console the network activity which this code runs you can see two things:
1) type is ignored. it always makes a GET requests
2) data is ignored. It doesn't get sent (regardless of type)

I've tried this and variations on all weekly builds since 322 and the behaviour is the same. For clarification in v 322 everything works ok however I really need the various other enhancements and fixes that are in later releases.

Is this a bug or has the configuration requirement changed?

Thanks,

Mark.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 20 Jun 2012, 11:39 AM
Hello Mark,

The reason for this not working is that the iframe config option is set to true. Since this renders an iframe with a src attribute, it makes a GET request. This scenario was never intentionally supported, as it requires an additional form that needs to be posted and loaded in the iframe window. As a work-around, you can generate a form with a target attribute that posts the data -- and the target attribute should point to the iframe name. You can submit this as a feature suggestion on uservoice so that it gets implemented from the framework in the future.

Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Mark
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or