This time my question is somewhat complex or at least for me since I'm starting with different functions in Asp.Net
.
To try to be very explicit, when starting my application, I generate several XML files where, for example, one is called MyListOfMCH and contains the following values:
<?xml version="1.0"?>
-<ArrayOfArea xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-<Area>
<TOOL>MAK-1234</TOOL>
<AREA>FCH</AREA>
<POOL>Pool 30</POOL>
<TEAM>514</TEAM>
<STATION>1020</STATION>
<OPERATION>Apriete pedal del clutch</OPERATION>
<TORQUE>30</TORQUE>
<TL_NAME>cesar</TL_NAME>
<STATUS>Ok</STATUS>
<STANDBY>0</STANDBY>
<REG_DATE>Monday, June 19, 2017</REG_DATE>
</Area>
-<Area>
<TOOL>SAM-15946</TOOL>
<AREA>FCH</AREA>
<POOL>Pool 30</POOL>
<TEAM>513</TEAM>
<STATION>1020</STATION>
<OPERATION>Apriete pedal del clutch</OPERATION>
<TORQUE>30</TORQUE>
<TL_NAME>Carlos</TL_NAME>
<STATUS>Ok</STATUS>
<STANDBY>1</STANDBY>
<REG_DATE>Monday, June 19, 2017</REG_DATE>
</Area>
-<Area>
<TOOL>NAÑM-46</TOOL>
<AREA>FCH</AREA>
<POOL>Pool 30</POOL>
<TEAM>516</TEAM>
<STATION>1020</STATION>
<OPERATION>Apriete de pedal</OPERATION>
<TORQUE>30</TORQUE>
<TL_NAME>Carmelo</TL_NAME>
<STATUS>OK</STATUS>
<STANDBY>0</STANDBY>
<REG_DATE>Monday, June 19, 2017</REG_DATE>
</Area>
</ArrayOfArea>
As you can see I have 3 teams, 513, 514 and 516. In other XML files I have similar information but with different Team's.
I have three buttons with their respective XML files, these buttons activate a modal
These are the buttons
In this modal I have several buttons with the% property of display:none
Something like that
My intention is that depending on the number of teams (already defined) a certain amount of buttons will be shown (I want to use the same buttons for all) and that the Team's names change on each button depending on the XML file that is send to call ...
That is to say as shown in the previous image. I hope I have been explicit and can help me resolve my question. Thanks!