CausesValidation

11 posts, 0 answers
  1. Steven Marchessault
    Steven Marchessault avatar
    14 posts
    Member since:
    Aug 2006

    Posted 27 Mar 2008 Link to this post

    In the pre prometheus version of RadToolBar it supported causes validation property on all buttons. In the new version, it is defined at the ToolBar level.

    Why?
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 27 Mar 2008 Link to this post

    Hi Steve,

    Thanks for your question!

    RadToolBar validation is still under construction. We are working on the implementation of per-button validation and we hope we will have it up and running for the official release.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jason Maronge
    Jason Maronge avatar
    322 posts
    Member since:
    Jan 2005

    Posted 04 Apr 2008 Link to this post

    I found this out the hard way.  I removed my buttons added a toolbar only to find out that it does not work.  I was able to still do validation by calling Page.Validate()/("validationgroup") on the toolbar click server event  .

    Jason
  5. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 07 Apr 2008 Link to this post

    Hi guys,

    Jason, I'm sorry for the troubles you've encountered. Thanks for sharing your workaround!

    I just wanted to note that the RadToolBar "Prometheus" validation is ready and the control is on its way for the official release scheduled for the next week. Stay tuned...

    Cheers,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Michael Hennessy
    Michael Hennessy avatar
    5 posts
    Member since:
    Aug 2005

    Posted 04 May 2008 Link to this post

    Hi, I am using the official version, but validation does not fire.  I have set CausesValidation property on the control level to true and then the individual buttons to the respective true or false value.  I am also using a validationGroup.  The validation never fires, so that when I use the Page.IsValid property in the code behind I get ans asp.net exception. 

    So, is validation implemented or what is the official workaround?

    Thank you.
  7. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 05 May 2008 Link to this post

    Hi Michael,

    We found that RadToolBar for ASP.NET Ajax does not properly perform server-side validation. We fixed that already and the fix will be available in the official service pack of the suite. Please, find attached the .NET 2.0 assemblies from the most recent build.

    For a dev version, please, open a formal support ticket and specify the .NET runtime version you use so that I can send you the dev version.

    Best regards,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. TerraForum
    TerraForum avatar
    12 posts
    Member since:
    May 2007

    Posted 26 Jul 2008 Link to this post

    Hi,

    im having problems with the current version, i have tried setting causesvalidation=false in radtoolbar and/or its items, but i t seems not to work with the regularexpressionvalidator control, shoud it work on that too?

    tks,

    TerraForum.
  9. TerraForum
    TerraForum avatar
    12 posts
    Member since:
    May 2007

    Posted 27 Jul 2008 Link to this post

    What i found is that the problem seems to be related to the radajaxmanager i have on the same page, even though i dont have an ajaxsetting for the toolbar control, it is behaving like that, it is only working when i set enableajax=false.
  10. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 28 Jul 2008 Link to this post

    Hi TerraForum,

    The problem happens because of the RadToolBar intagration with the ASP.NET validation mechanism. There is a flicker, that happens when validation is disabled for a button. You can overcome this by adding the validators to the UpdatedControls collection of the AjaxSetting. Please, find attached a demo page.

    Let me know if I am missing something.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  11. TerraForum
    TerraForum avatar
    12 posts
    Member since:
    May 2007

    Posted 28 Jul 2008 Link to this post

    My problem now is that when i enable ajax in radajaxmanager , the toolbar buttons doesnt even become clickable, the cursor stays as default pointer and no action happens when its clicked.
  12. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 29 Jul 2008 Link to this post

    Hi TerraForum,

    I'm afraid I could not reproduce the problem you explain. Can you please, open a formal support ticket and send me the page you have? Or, if the page is too complicated, modifying the one I sent you so that it reproduce the error will suffice. Once we are able to identify the problem we will do our best to fix it.

    By the way, are you sure the version of the Telerik.Web.UI.dll assembly is 2008.2.723?

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017