Hello, a new post just to share an issue I have solved and that gave me an headache.
All RadEditor dialogs returned me the error
"Cannot deserialize dialog parameters. Please refresh the editor page."
The problem had nothing with encryption (as suggested in other threads).
The problem was an incompatibility with a URL rewriting rule in web.config, a rule that is suggested on Microsoft MSDN.
The SEO rule forces a permanent redirect on lower case URLs... but it is also responsible of the RadEditor problem.
What's the solution if you don't want to remove the rule?
Change it with the following one
All RadEditor dialogs returned me the error
"Cannot deserialize dialog parameters. Please refresh the editor page."
The problem had nothing with encryption (as suggested in other threads).
The problem was an incompatibility with a URL rewriting rule in web.config, a rule that is suggested on Microsoft MSDN.
<!--Redirect HTML with query parameters to lowercase URLs-->
<
rule
name
=
"ForcePagesWithParametersLowercase"
stopProcessing
=
"false"
>
<
match
url
=
".*[A-Z].*\.(aspx|htm|html)"
ignoreCase
=
"false"
/>
<
conditions
>
<
add
input
=
"{QUERY_STRING}"
pattern
=
".*[A-Z].*"
/>
</
conditions
>
<
action
type
=
"Redirect"
redirectType
=
"Permanent"
url
=
"{ToLower:{R:0}}?{ToLower:{QUERY_STRING}}"
appendQueryString
=
"false"
/>
</
rule
>
The SEO rule forces a permanent redirect on lower case URLs... but it is also responsible of the RadEditor problem.
What's the solution if you don't want to remove the rule?
Change it with the following one
<!--Redirect HTML with query parameters to lowercase URLs-->
<
rule
name
=
"ForcePagesWithParametersLowercase"
stopProcessing
=
"false"
>
<
match
url
=
".*[A-Z].*\.(aspx|htm|html)"
ignoreCase
=
"false"
/>
<
conditions
>
<
add
input
=
"{QUERY_STRING}"
pattern
=
".*[A-Z].*"
/>
<
add
input
=
"{REQUEST_FILENAME}"
pattern
=
".*Telerik\.Web\.UI\.DialogHandler.*"
negate
=
"true"
/>
</
conditions
>
<
action
type
=
"Redirect"
redirectType
=
"Permanent"
url
=
"{ToLower:{R:0}}?{ToLower:{QUERY_STRING}}"
appendQueryString
=
"false"
/>
</
rule
>