Hello there,
i am using RADtreeview within my User Control (*.ascx). I also configured it to get its nodes from a webservice. So far so good, all is working fine as long as i open the Page with "http://". I see the Control is sending its request with POST to my WebService and gets all needed information to populate the Tree.
But as soon as i switch to "https://" the Control is asking the WebService with GET instead of POST. How to configure it to always send POST?
UseHttpGet="false" doens't change anything. Also my WebService only have a POST OperationContract.
WebService Contract:
User Control (*.ascx):
i am using RADtreeview within my User Control (*.ascx). I also configured it to get its nodes from a webservice. So far so good, all is working fine as long as i open the Page with "http://". I see the Control is sending its request with POST to my WebService and gets all needed information to populate the Tree.
But as soon as i switch to "https://" the Control is asking the WebService with GET instead of POST. How to configure it to always send POST?
UseHttpGet="false" doens't change anything. Also my WebService only have a POST OperationContract.
WebService Contract:
[OperationContract]
[WebInvoke(Method =
"POST"
, BodyStyle = WebMessageBodyStyle.WrappedRequest, RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
RadTreeNodeData[] GetNodes(RadTreeNodeData node, IDictionary<
string
,
object
> context);
User Control (*.ascx):
<
telerik:RadTreeView
ID
=
"RadTreeView1"
runat
=
"server"
Width
=
"100%"
PersistLoadOnDemandNodes
=
"false"
EnableViewState
=
"false"
LoadingStatusPosition
=
"AfterNodeText"
>
<
ExpandAnimation
Type
=
"none"
></
ExpandAnimation
>
<
CollapseAnimation
Type
=
"none"
></
CollapseAnimation
>
<
WebServiceSettings
Path
=
"http://localhost/_vti_bin/xxxx.xxxx.xxxx/myTopBarNavigation.svc"
Method
=
"GetNodes"
UseHttpGet
=
"false"
></
WebServiceSettings
>
<
Nodes
>
<
telerik:RadTreeNode
Text
=
"Root Node"
ExpandMode
=
"WebService"
>
</
telerik:RadTreeNode
>
</
Nodes
>
</
telerik:RadTreeView
>