I'm implementing a multilingual website and I have two flags that, when people click on them, submits the form and changes the language. I tried using the imagebutton but you can't assign a value to them. What do I need to use?
Here is the HTML...
and on the server...HTML Code:<form id="Form1" method="post" runat="server"> <TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; TOP: 8px" cellSpacing="0" cellPadding="0" width="760" align="center" border="1" runat="server"> <TR> <TD height="60"> <table cellpadding=0 cellspacing=0 border=0 width=756> <tr> <td> <asp:label id="Label4" runat="server" ForeColor="Blue"> Enter Work Order Number (or click 'Find Work Order' button to look up from list)</asp:label> </td> <td align=right> <asp:ImageButton ImageUrl="images/english.gif" ID="Language" runat=server /> <asp:ImageButton ImageUrl="images/french.gif" ID="ImageButton" runat=server /> </td> </tr>
VB Code:
' check the querystring If Request("Language") <> "" Then sLanguage = Request("Language") End If




Reply With Quote