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

Problem: RadInputManager + EmptyMessage + Submit Button

7 Answers 120 Views
Input
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 20 Apr 2010, 04:14 AM
Hi I'm using 2010Q1 library.
I'm trying to use following approach to validate input values:

<asp:TextBox runat="server" ID="MessageText" TextMode="MultiLine" ValidationGroup="Contact" /> 
<asp:LinkButton ID="SendBtn" ValidationGroup="Contact" runat="server" Text="Send" /> 
<telerik:RadInputManager  ID="ContactRadInputManager" runat="server"
    <telerik:TextBoxSetting BehaviorID="MessageBehavior" EmptyMessage="Message" ErrorMessage="Please enter message" 
                            Validation-IsRequired="true" Validation-ValidationGroup="Contact"
        <TargetControls> 
            <telerik:TargetInput ControlID="MessageText" /> 
        </TargetControls> 
    </telerik:TextBoxSetting>     
</telerik:RadInputManager> 

During initial page load MessageText control shows EmptyMessage as expected. Then (don't enter text box) click SendBtn button text box. Text box shows error message as expected. After that if I focus to text box it shows EmptyMessage instead of blank field. And any uses' input is appended to EmptyMessage (see attached pics).
Please let me know what I'm doing wrong or provide some workaround if this issue.

Thank you.

7 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 21 Apr 2010, 08:23 AM
Hi Denis,

This issue has already been addressed by our developers. Please upgrade to the Q1 2010 Service Pack 1 release (2010.1 415)  and let us know if you encounter any problems with it.

Best wishes,
Pavel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Denis
Top achievements
Rank 1
answered on 23 Apr 2010, 01:50 AM
Hi Pavel,

thank you for prompt response. I have upgraded library to 415-th revision.
Previous problem has been resolved. Although I have got different problem:
I'm testing same textbox and submit button as described in the first message. If I repeatedly click submit button without entering any data on the text box, the error message will be dissipating each other click. Exclamation icon stays all the time.

Is there any way to avoid error message disappearing.

Thank you,
Denis.
0
Tsvetoslav
Telerik team
answered on 23 Apr 2010, 03:25 PM
Hello Denis,

The issue has indeed been fixed. I tested it with the service pack 1 dlls and the input manager behaves as expected. Attached is a sample with the dlls in question. Am I missing something?

Regards,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Denis
Top achievements
Rank 1
answered on 23 Apr 2010, 04:17 PM
Hi Tsvetoslav,

Original problem has been resolved and that is what I've said in my second post :).

But!
I've got different issue (as well described in my second post). You can easily reproduce it by using you test project that you provided.
Just click Send button several times and you will see that error message "Please enter message" will be flashing. It will be disappearing each other time. That it happens by design? I think error message should stay there and not disappearing.


Please let me know how to workaround this problem.
Sorry for confusion I probably had to open separate thread for this issue.

Thanks,
Denis.
0
Accepted
Tsvetoslav
Telerik team
answered on 27 Apr 2010, 02:00 PM
Hi Denis,

Indeed, you are correct in your second observation too. The fix for this issue should be available in the next latest internal build. Again, a small token of gratitude are the additional telerik points I have added to your customer account.

Thanks for the cooperation.

Best wishes,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Denis
Top achievements
Rank 1
answered on 01 May 2010, 02:18 AM
Sounds good.
Thank you for confirming.
When is next internal build scheduled?

0
Pavel
Telerik team
answered on 03 May 2010, 08:49 AM
Hi Denis,

An internal build containing the fix is already uploaded. Let us know if you find any problems with it.

Kind regards,
Pavel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
Denis
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Denis
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or