On Selected Index Changed within II

For sharing any UNIT-e Workstation screens, Web II screens or Advantage II screens and other customisations
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
ryanfoster659
Posts: 14
Joined: Fri Nov 11, 2016 9:11 am
Forename: Ryan
Surname: Foster
College Name: Strode's
Position: Web/MIS Developer
LinkedIn Profile: https://www.linkedin.com/in/rfoster8?tr ... tity-photo
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

On Selected Index Changed within II

Post by ryanfoster659 » Mon Mar 06, 2017 2:52 pm

Hello,

does anyone know if you can use the c# for .selectedindexchanged to get some nice code to show a textbox if there is a value you want selected or not?

this is what i have so far to see if it can be implemented but no message box shows :
object [] uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4_Found = webClient.Controls.Find("uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4",true);
if (uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4_Found.Length>0)
{
this.uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4 = webClient.Controls.Find("uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4",true)[0] as UNITeWebLookUp;
this.uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4.SelectedIndexChanged += change_DropDown;
}

void change_DropDown(object sender, EventArgs e)
{
MessageBox.Show("Hello");
}

User avatar
robinwilson16
Site Admin
Posts: 185
Joined: Sun Oct 16, 2016 6:46 pm
Forename: Robin
Surname: Wilson
College Name: FEA
Position: MIS Consultant
LinkedIn Profile: https://www.linkedin.com/in/robinwilson16
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: On Selected Index Changed within II

Post by robinwilson16 » Tue May 16, 2017 11:30 pm

Hello Ryan

Sorry I'm not able to help with this as this is not something I have worked with and I don't believe we have the required II licence.
If this is a web app, you aren't able to use standard JavaScript for this are you where maybe it could be outputted as part of the HTML?

What about testing with OnClick just in case it's not liking the index change event?

Sorry I can't be any more help.

Robin

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 2 guests