We use Kendo menu to create main menu items. Some of the menu items have a text box for user to enter search data. The menu is working on IE (version 9.0.8112.16421) but not in Chrome (version 36.0.1985.125). We are using version 2014.1.415.340 of the Kendo.Mvc.dll assembly.
Here is the code for creating the menu:
@(Html.Kendo().Menu()
.Name("MainMenu2")
.Items(mainMenu =>
{
mainMenu.Add()
.Text("Order Maintenance");
mainMenu.Add()
.Text("Admin")
.Items(menuItem =>
{
menuItem.Add()
.Text("Branch");
menuItem.Add()
.Text("Container");
menuItem.Add()
.Text("Employee");
menuItem.Add()
.Text("Event");
menuItem.Add()
.Text("Product");
});
mainMenu.Add()
.Text("Invoicing");
mainMenu.Add()
.Text("Go To Order")
.Content(@<text>
<table>
<tr>
<td>
<input id="DirectOrderNumber" type="text" />
<br />
<span>Order Number</span>
</td>
<td>
<input id="DirectOrderNumberGoButton" type="button" value="Go" />
</td>
</tr>
</table>
</text>
);
mainMenu.Add()
.Text("Go To Container")
.Content(@<text>
<table>
<tr>
<td>
<input id="DirectContainerNumber" type="text" />
<br />
<span>Container Number</span>
</td>
<td>
<input id="DirectContainerNumberGoButton" type="button" value="Go" />
</td>
</tr>
</table>
</text>
);
mainMenu.Add()
.Text("Go To Invoice")
.Content(@<text>
<table>
<tr>
<td>
<input id="DirectInvoiceNumber" type="text" />
<br />
<span>Invoice Number</span>
</td>
<td>
<input id="DirectInvoiceNumberGoButton" type="button" value="Go" />
</td>
</tr>
</table>
</text>
);
}))
Please advise how it can be fixed.
Thanks
Here is the code for creating the menu:
@(Html.Kendo().Menu()
.Name("MainMenu2")
.Items(mainMenu =>
{
mainMenu.Add()
.Text("Order Maintenance");
mainMenu.Add()
.Text("Admin")
.Items(menuItem =>
{
menuItem.Add()
.Text("Branch");
menuItem.Add()
.Text("Container");
menuItem.Add()
.Text("Employee");
menuItem.Add()
.Text("Event");
menuItem.Add()
.Text("Product");
});
mainMenu.Add()
.Text("Invoicing");
mainMenu.Add()
.Text("Go To Order")
.Content(@<text>
<table>
<tr>
<td>
<input id="DirectOrderNumber" type="text" />
<br />
<span>Order Number</span>
</td>
<td>
<input id="DirectOrderNumberGoButton" type="button" value="Go" />
</td>
</tr>
</table>
</text>
);
mainMenu.Add()
.Text("Go To Container")
.Content(@<text>
<table>
<tr>
<td>
<input id="DirectContainerNumber" type="text" />
<br />
<span>Container Number</span>
</td>
<td>
<input id="DirectContainerNumberGoButton" type="button" value="Go" />
</td>
</tr>
</table>
</text>
);
mainMenu.Add()
.Text("Go To Invoice")
.Content(@<text>
<table>
<tr>
<td>
<input id="DirectInvoiceNumber" type="text" />
<br />
<span>Invoice Number</span>
</td>
<td>
<input id="DirectInvoiceNumberGoButton" type="button" value="Go" />
</td>
</tr>
</table>
</text>
);
}))
Please advise how it can be fixed.
Thanks