radWizard disable finishButton

6 posts, 0 answers
  1. Jota
    Jota avatar
    7 posts
    Member since:
    Dec 2014

    Posted 07 Apr 2015 Link to this post

    Hi!

    I do somes verification on the codeBehind on the event "RadWizard_ActiveStepChanged(object sender, EventArgs e)".

    I need to show or not the finishbutton on c#. How i can do?

    thanks

  2. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 10 Apr 2015 Link to this post

    Hello,

    Hiding the finish button in RadWizard is only supported from the client side. You cna find it with jQuery and hide it as for example in the code below:
    var $ = $telerik.$;
    $(".rwzFinish").hide();


    Regards,
    Plamen
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jota
    Jota avatar
    7 posts
    Member since:
    Dec 2014

    Posted 10 Apr 2015 Link to this post

    I found a solution working on codeBehind;

    in aspx: 

    <telerik:RadWizardStep runat="server" ID="stepFinal" Title="Resum" StepType="Step" >

    in c#:

    if verification is correct:

     

    this.stepFinal.StepType = RadWizardStepType.Finish;

     

    Thanks!

    this.stepFinal.StepType = RadWizardStepType.Finish;
  5. Matthew Bishop
    Matthew Bishop avatar
    57 posts
    Member since:
    Apr 2007

    Posted 30 Aug 2015 Link to this post

    Just make it simple and stupid, use a CSS rule:

    .rwzFinish {
        display: none !important;
    }

    Then its done and dusted and no hassle....
  6. Frank
    Frank avatar
    5 posts
    Member since:
    Jul 2015

    Posted 14 Dec 2015 Link to this post

    Thanks, Matthew.

    It was a pain in the ass finding a solution for this actually simple task.

    Telerik...??

  7. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 15 Dec 2015 Link to this post

    Hi,

    Yes indeed unfortunately there is no built in functionality for such issue yet we have exposed all the CSS classes of the control in this article so if some additional styling or jQuery action is needed it is much easier to find the desired element.

    Regards,
    Plamen
    Telerik
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017