Hi,
I have an ASP.NET Wizard. On the first screen, when user select a specific dropdownlist value, I want to put a custom Telerik radconfirm before it goes to next wizard step. I can't get this thing to work. Can someone please help me? Thank you.
I have an ASP.NET Wizard. On the first screen, when user select a specific dropdownlist value, I want to put a custom Telerik radconfirm before it goes to next wizard step. I can't get this thing to work. Can someone please help me? Thank you.
| <asp:Wizard ID="wzdJob" runat="server" ActiveStepIndex="0" |
| DisplayCancelButton="true" Height="250px" Width="550px"> |
| <WizardSteps> |
| <asp:WizardStep ID="wzs1" StepType="Start" Title="Step 1" runat="server"> |
| <asp:dropdownlist runat="server" id="ddlDeviceType" /> |
| </asp:WizardStep> |
| <asp:WizardStep ID="wzs2" StepType="Step" Title="Step 2" runat="server"> |
| Step 2 |
| </asp:WizardStep> |
| </WizardSteps> |
| </asp:Wizard> |
| Private Sub ddlDeviceType_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlDeviceType.SelectedIndexChanged |
| If ddlDeviceType.SelectedValue = "SpecificValue" Then |
| Dim nextbtn As Button |
| nextbtn = wzdJob.FindControl("StartNavigationTemplateContainerID").FindControl("StartNextButton") |
| nextbtn.OnClientClick = "radconfirm('** Warning Message, proceed? **', CallBackFn, 400, 100);" |
| End If |
| End Sub |
| function CallBackFn(args) { |
| if (args == true) { |
| //Move to Wizard Step 2 |
| } else { |
| //Do nothing |
| } |
| } |