Unplanned
Last Updated: 25 Jun 2020 12:48 by ADMIN
Flavien
Created on: 25 Jun 2020 12:43
Category: UI for ASP.NET AJAX
Type: Bug Report
1
WindowManager template has input with no name which breaks callbacks OWIN

This issue seems fixed for AzureAD while it is not for WSFederation authentication

It seems the final solution is to manually remove the entries with null/empty key from the submitted form

1 comment
ADMIN
Peter Milchev
Posted on: 25 Jun 2020 12:48

Hello,

Thank you for reporting this. 

As a temporary workaround you can use on the following two approaches:

1) Set a custom PromptTemplate for the RadWindowManager

<telerik:RadWindowManager runat="server" ID="rwm1" RenderMode="Lightweight">
	<%--Uncomment for the solution: changing the RadPrompt template to make sure the input has a name attribute, for example
	Alternatively, you can remove the entire prompt template if you do not use the RadPrompt feature in your app
	Read more on changing the templates here http://docs.telerik.com/devtools/aspnet-ajax/controls/window/alert,-confirm,-prompt-dialogs/how-to-change-the-dialog-templates--%>
	<%--<PromptTemplate>
		some dummy text, a changed template or preferably blank
	</PromptTemplate>--%>
</telerik:RadWindowManager>

2) Load this script in the end of the form or body tag:

$telerik.$(".rwPromptInput").each(function () {
    var inp = this;
    if (!inp.name) {
        inp.name = $telerik.$(inp).closest("[id]")[0].id + "_input";
        inp.name = inp.name.replace(/_/g, "$");
    }
})

Regards,
Peter Milchev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.