I dream about... Integrated RadTextBox validation!

25 posts, 0 answers
  1. Zdenek Plachy
    Zdenek Plachy avatar
    29 posts
    Member since:
    May 2007

    Posted 13 Feb 2010 Link to this post

    Hi,
    I'm long time Telerik controls user. I'm generally very hapy with them, but I miss one thing. Integrated RadTextBox property which set RadTextBox as Required. When you create long forms, you have two ways how to implement validation:
    • put and configure asp:RequiredFieldValidator to each RadTextBox. It is very painful work and you will end with very messy code
    • use RadInputManager with Validation IsRequired="true". This approach is good, but it's working only with classic TextBoxes, not with RadTextBoxes. And then I miss eg. possibility to define different EmptyMessage texts for each control.

    My dream RadTextBox could be this one (meaning of new parameters is obvious):
    <telerik:RadTextBox ID="RadTextBox1" Runat="server"  
    EmptyMessage="Enter you desired username" 
    Label="User Name" 
    Required="True"  
    RequiredMessage="Username is mandatory" 
    ShowRedStar="True" 
    MinLength="5"  
    MinLengthMessage="Your username is too short" 
    MaxLength="20" 
    MaxLengthMessage="Use shorter username" 
    Regex="[a-zA-Z0-9]" 
    RegexMessage="Please use only alphabet and numbers" 
    > 
    </telerik:RadTextBox> 

    I'm not developing wheel for now, those parameters are used in this ExJS implementation:
    http://extasp.net/#/form/form_validate.aspx
    Their TextBox works absolutly amazing. When non-valid, it sets itself into red, displays explanation bubble etc...

    I'm able to achieve this behavior with RadTextBox also, but it will cost a lot of Javascript, implementation of RadToolTip etc. And I'm talking about speed! R.A.D.! :-) I just want to put required="true" into RadTextBox tag and everything is set.

    Is there some way how to work with RadTextBox (...RadNumericTextBox, RadMaskedTextBox...) in simillar way?

    Thank you very much for your advise.
    Zdenek



  2. Craig Morgan
    Craig Morgan avatar
    2 posts
    Member since:
    Sep 2009

    Posted 27 Feb 2010 Link to this post

    I second the request!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 04 Mar 2010 Link to this post

    Hi Craig,

    Indeed, this is a nice suggestion. I will pass it along to our developers for further consideration. Presently, there are no plans to extend the control in a way to include validation. Nevertheless, this option will be considered, and depending on demand, we will look into possible ways to implement it for one of the future versions of the control.

    Sincerely yours,
    Yavor
    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. Elvis
    Elvis avatar
    11 posts
    Member since:
    Jul 2008

    Posted 26 Aug 2010 Link to this post

    I second this request!!!
  6. Christopher
    Christopher avatar
    5 posts
    Member since:
    Aug 2008

    Posted 17 Oct 2010 Link to this post

    Yep me too and soon, this is the sort of functionality you should be including in your controls as standard.

    Honestly I do like the Telerik controls but let's face it they don't really cut down on your development time in anyway. It's this sort of functionality plus my big annoyance, the absolutely terrible nature of the documentation.

    RAD and Telerik is a bit of a joke.
  7. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 18 Oct 2010 Link to this post

    Hello Christopher,

    RadInputManager has built-in validation, which can be seen in action here:

    http://demos.telerik.com/aspnet-ajax/input/examples/radinputmanager/firstlook/defaultcs.aspx

    http://demos.telerik.com/aspnet-ajax/input/examples/radinputmanager/validationthroughwebservice/defaultcs.aspx

    Regards,
    Dimo
    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
  8. Francois MARTIN
    Francois MARTIN avatar
    44 posts
    Member since:
    Aug 2005

    Posted 25 Jan 2011 Link to this post

    Right, but RadInputManager is nonpractical when it comes to dynamic control creation.
    Therefore it would really be interesting to have sutch native validation directly embedded in RadTextBox
  9. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 27 Jan 2011 Link to this post

    Hello Francois,

    You can create your textboxes programmatically and then specify the RadInputManager settings dynamically in order to filter the input in these textboxes. I hope this works for you.

    Greetings,
    Sebastian
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  10. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 08 Mar 2011 Link to this post

    Hi!

    Can I use RadInputManager on my RadText box control or do I need to revert them back to asp:textbox ?

    Regards
    Per
  11. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Mar 2011 Link to this post

    Hi Per,

    It is not meaningful to use RadTextBox in combination with RadInputManager since the standard asp textbox "converted" by our input manager will attain the same characteristics as the RadTextBox control.

    Greetings,
    Sebastian
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  12. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 09 Mar 2011 Link to this post

    Hi

    What I realy need is a RadTextBox with RegEx validation mechanics built in. OnBlur will make the box red if its not valid.
    Whats the best way to accomplice this ?

    Regards
    Per
  13. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Mar 2011 Link to this post

    Hello Per,

    For this purpose you can use RadInputManager with RegExpTextBox setting for the target textbox(es). See the live examples posted before for more info.

    Best,
    Sebastian
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  14. Ryan
    Ryan avatar
    4 posts
    Member since:
    Sep 2011

    Posted 04 Sep 2011 Link to this post

    I agree. This should be standard. It's ridiculous that RadInputManager does this but only with the native .NET TextBox control.
  15. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 07 Sep 2011 Link to this post

    Hi Ryan,

    I forwarded this request to our developers for further considerations. Thank you for your feedback and effort for making our products better.

    Regards,
    Vasil
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  16. rtelles
    rtelles avatar
    11 posts
    Member since:
    Oct 2012

    Posted 14 Nov 2011 Link to this post

    Any news on this? I am yet another developer awaiting for RadTextBox to be able to use RadInputManager :(
  17. rtelles
    rtelles avatar
    11 posts
    Member since:
    Oct 2012

    Posted 14 Nov 2011 Link to this post

    Any news on this? I am yet another developer awaiting for RadTextBox to be able to use RadInputManager :(
  18. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 16 Nov 2011 Link to this post

    Hi Rtelles,

    We logged the request for integrated validation, but for Q3 2011 there ware tasks with higher priority. We would perform further research and see if we could do it for the next major release.
    Please note that the request is for integrated validation for RadTextBox (and other RadInputs), and this is not the same as making the RadInputManager to manages the RadTextBox.

    Best wishes,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  19. Nicola Farina
    Nicola Farina avatar
    8 posts
    Member since:
    Mar 2012

    Posted 22 Jun 2012 Link to this post

    Guys,

    we

    definitely need a textbox with an integrated validation properties to avoid using ASP.NET requiredfieldvalidator or something else.

    A fantastic option could be a ".warningicon" and ".warningtext" properties (f.e.).

    Any news about implementing this features in next releases?

    Thanks.

  20. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 27 Jun 2012 Link to this post

    Hi Nicola,

    We are working on this direction, and rewriting part of the client side API and simplifying the validation model of the RadInput control was some beginning steps and with adding the DisplayText/Value properties that will be later used for showing validation warnings. However there is still long way to go and I could not say if such feature will be available in the next release.

    Kind regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  21. RP2414
    RP2414 avatar
    14 posts
    Member since:
    Jul 2011

    Posted 29 Aug 2012 Link to this post

    Hello,

    Was this functionality added in the recent release?. This would be really good feature to have with radtextbox's. 

    Thanks!!
  22. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 03 Sep 2012 Link to this post

    Hi,

    The most recent release for now is the ServicePack of Q2 2012, and you can check the changes of RadInput in the Q2 2012 release in the blog referred in my previous post. In service packs we do only fixes and does not include new major functionalists. And integrated validation is still not scheduled for Q3.

    All the best,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  23. Anthony
    Anthony avatar
    6 posts
    Member since:
    Feb 2011

    Posted 16 Oct 2012 Link to this post

    This would be BEAUTIFUL.
  24. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 21 Oct 2012 Link to this post

    me too, i really wish to see that real soon.
  25. rtelles
    rtelles avatar
    11 posts
    Member since:
    Oct 2012

    Posted 23 Oct 2012 Link to this post

    2 years later and we are still awaiting for this functionality. I seriously doubt is hard to include this in the current control. Telerik please hear your customers.
  26. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 25 Oct 2012 Link to this post

    Hello,

    We did a lot of research and tests. It looked like it is way too hard to implement such validation keeping compatible with the Asp:Validators and without breaking any of the currently working scenarios. So currently we don't have plans for implementing such validation.

    For sample cases it is possible to use min/max values properties provided, instead of RangeValidator. Another option is to create a custom control that to contain RequiredFieldValidator in combination with input to make it required. And then to use it on multiple places.

    Kind regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017