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

radprompt() does not return arg if previously cancelled

4 Answers 52 Views
Window
This is a migrated thread and some comments may be shown as answers.
don
Top achievements
Rank 1
don asked on 22 Nov 2007, 05:07 PM
I am using the radprompt call of RadWindow (11/7/2007 build) to obtain a text entry from a user. The function I pass into radprompt then looks at the arg value and saves the user's entry into a hidden field.

Under a normal scenario, this works fine. However, in this scenario:

1. User clicks on the link that causes the radprompt to be called
2. User clicks the "Cancel" button in the prompt
3. User clicks the link again to cause the radprompt to be called
4. User enters a value in the prompt field and hits "OK"

The radprompt window does call the function specified, but the "arg" value is an empty string, and not what the user entered. If you repeat steps 3 & 4, it then works fine and the arg contains the user's entry. It appears that the use of cancel and then OK on the next round somehow prevents the prompt value to be passed through.

Any ideas? Thanks.

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Nov 2007, 02:45 PM
Hello Don,

Thank you for bringing this problem to our attention. I logged it in our database with high priority and we will do our best to fix it for the "Futures" release that will appear in next week. If we don't succeed providing the fix on time, it will be fixed for sure in RadControls Q3 release that is scheduled for the mid of December.

Your points were updated.


Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
don
Top achievements
Rank 1
answered on 23 Nov 2007, 04:38 PM
Hi Georgi,

Thanks very much!

- Don
0
Tervel
Telerik team
answered on 27 Nov 2007, 08:43 AM
Hello Don,

The problem was fixed and the Prometheus Futures build to be released this coming Monday will feature properly functioning radprompt function.

Kind regards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
don
Top achievements
Rank 1
answered on 27 Nov 2007, 01:06 PM
Thanks. I appreciate the update.
Tags
Window
Asked by
don
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
don
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or