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.
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.