This is a migrated thread and some comments may be shown as answers.

OnChangeEvent with selector.MultiSelectByText(string)

3 Answers 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 06 May 2014, 02:24 PM
Hello,

There's an overload for a selector element titled SelectByText(string, bool) which has its second parameter invoke an on change event. This overload is what's necessary in my code to select a single option on my software's page.

However, there appears to be no MultiSelectByText overload with a similar invoke event, and it seems an immediate call to

selector.InvokeEvent(ArtOfTest.WebAii.Core.ScriptEventType.OnChange) 

after the MultiSelectByText() is done, does not have my software respond to the selected options.

Note, the options do show as selected, implying the MultiSelectByText is setting them, and it just looks like it needs the same overload functionality to initiate the OnChangeEvent.

Any Help would be appreciated, thanks.

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 09 May 2014, 01:26 PM
Hello Matt,

Thank you for your feedback.

I have logged a feature request which you can track and vote for it here.

Here is an article how you can invoke jQuery events manually.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Matt
Top achievements
Rank 1
answered on 09 May 2014, 05:16 PM
Thanks Boyan, I realized I've been invoking events incorrectly and was not using jQuery invokes.
0
Boyan Boev
Telerik team
answered on 12 May 2014, 04:53 AM
Hi Matt,

Glad to hear that.

Should you have any additional questions, please do not hesitate to contact us.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Matt
Top achievements
Rank 1
Share this question
or