<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_chLang" Codebehind="mod_chLang.ascx.cs" %>
<table id="table1" runat="server" cellspacing="1" cellpadding="1" class="centerMenu">
    <tr class="ctrHeaderPager">
        <td>
            <asp:Label id="lblScegli" runat="server"  />
        </td>
    </tr>
    <tr>
        <td>
            <asp:DataList id="dataListLingue" runat="server" DataKeyField="Lingua" DataSourceid="ods_lingueApp" Width="100%" OnSelectedIndexChanged="dataListLingue_SelectedIndexChanged">
                <ItemStyle CssClass="ctrRowStyle" />
                <AlternatingItemStyle CssClass="ctrAltRowStyle" />
                <ItemTemplate>
                    <asp:LinkButton id="Linkbutton1" runat="server" name="Linkbutton1" CausesValidation="false" CommandName="Select">
                        <img alt='<%# DataBinder.Eval(Container, "DataItem.Lingua") %>' src='./images/flag-<%# DataBinder.Eval(Container, "DataItem.Lingua") %>.png' />
                         
                        <asp:Label id="LinguaLabel" runat="server" Text='<%# formattaLingua(Eval("Lingua"),Eval("DescrizioneLingua")) %>' Width="250px"/>
                        <img alt='<%# DataBinder.Eval(Container, "DataItem.Lingua") %>' src='./images/flag-<%# DataBinder.Eval(Container, "DataItem.Lingua") %>.png' />
                    </asp:LinkButton>
                </ItemTemplate>
            </asp:DataList>
            <asp:ObjectDataSource id="ods_lingueApp" runat="server" OldValuesParameterFormatString="Original_{0}"
                SelectMethod="GetLingue" TypeName="GMW_data.selDataVoc">
            </asp:ObjectDataSource>
        </td>
    </tr>
</table>
