Auto Click the next button

1 Answer 52 Views
Wizard
Kobus
Top achievements
Rank 1
Iron
Kobus asked on 26 Sep 2022, 04:21 PM

Hi. 

 

I have images on the screen for the DB and when I select one, I need the app to simulate a "Next" Click

 

code:

            txt_db.Text = "MSSQL";

            frm_generator_database_connection_step02_mssql frm = new frm_generator_database_connection_step02_mssql() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true };
            frm.FormBorderStyle = (FormBorderStyle);
            pContainer.Controls.Clear();
            pContainer.Controls.Add(frm);
            frm.Show();

 

 

Regards

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Sep 2022, 10:05 AM

Hi, Kobus,

You can simulate clicking the Next button by using the following approach:

this.radWizard1.CommandArea.NextButton.PerformClick();

Thus, whenever you want to navigate to the next page, feel free to call this method.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Wizard
Asked by
Kobus
Top achievements
Rank 1
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or