5 Answers, 1 is accepted
0
Hello,
This is the default behavior of the RadPrompt dialog - when you hit enter it should close the dialog and click the OK button, returning DialogResult - True.
Could you please let us know what kind of difficulties do you experience?
Regards,
Konstantina
the Telerik team
This is the default behavior of the RadPrompt dialog - when you hit enter it should close the dialog and click the OK button, returning DialogResult - True.
Could you please let us know what kind of difficulties do you experience?
Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Yoga
Top achievements
Rank 1
answered on 21 May 2012, 03:22 AM
When the dialog prompt appeared the focus is in the textbox and when I hit enter there is nothing happen. The snippet below is how I make call to the RadWindow.Prompt:
I am currently using RadControls Q1 2012.
Is there anything that I missed?
DialogParameters parameter =
new
DialogParameters();
parameter.Header = header;
parameter.Content = content;
parameter.DefaultPromptResultValue =
"0"
;
parameter.Closed +=
new
EventHandler<WindowClosedEventArgs>((sender, args) =>
{
if
(args.PromptResult !=
null
)
{
var amount = Convert.ToDecimal(args.PromptResult.Trim());
Service.ComposeAction(mailType, amount);
}
});
RadWindow.Prompt(parameter);
I am currently using RadControls Q1 2012.
Is there anything that I missed?
0
Yoga
Top achievements
Rank 1
answered on 22 May 2012, 07:03 AM
Apparently the keyboard is not properly mapped in the telerik assembly Version=2012.1.215.1050, which I used for development.
I have updated the assembly to Version=2012.1.326.1050 and everything works fine as expected.
I hope this help for others who stumbled upon the same issue.
Cheers,
Y
I have updated the assembly to Version=2012.1.326.1050 and everything works fine as expected.
I hope this help for others who stumbled upon the same issue.
Cheers,
Y
0
Arturo
Top achievements
Rank 1
answered on 31 Jul 2012, 11:03 PM
Hi,
I'm using the Q2 2012 but for SL4 and my IE gets freeze when i hit the enter key, everything works fine when i click the OK button
this is my code:
I'm using the Q2 2012 but for SL4 and my IE gets freeze when i hit the enter key, everything works fine when i click the OK button
this is my code:
Telerik.Windows.Controls.RadWindow.Prompt(
new
DialogParameters()
{
Header = header,
Content = content,
Closed =
new
EventHandler<WindowClosedEventArgs>((s, e) =>
{
//CODE
}
}
0
Hi Arturo,
We have tried to reproduced the issue, but with no luck. Attached you can find our test project and video showing how it works on our side. It would be great if you can check it out and let us know if the issue can be reproduced on your side. We have tested it with Silverlight 4 project and assemblies on machines with Silverlight 4 and Silverlight 5 plugins installed.
Kind regards,
Georgi
the Telerik team
We have tried to reproduced the issue, but with no luck. Attached you can find our test project and video showing how it works on our side. It would be great if you can check it out and let us know if the issue can be reproduced on your side. We have tested it with Silverlight 4 project and assemblies on machines with Silverlight 4 and Silverlight 5 plugins installed.
Kind regards,
Georgi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>