Problem: RadInputManager + EmptyMessage + Submit Button

8 posts, 1 answers
  1. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2009

    Posted 19 Apr 2010 Link to this post

    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.
  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 21 Apr 2010 Link to this post

    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.
  3. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2009

    Posted 22 Apr 2010 Link to this post

    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.
  4. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 23 Apr 2010 Link to this post

    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.
  5. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2009

    Posted 23 Apr 2010 Link to this post

    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.
  6. Answer
    Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 27 Apr 2010 Link to this post

    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.
  7. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2009

    Posted 30 Apr 2010 Link to this post

    Sounds good.
    Thank you for confirming.
    When is next internal build scheduled?

  8. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 03 May 2010 Link to this post

    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.
Back to Top