Priya Avanigadda

Priya Avanigadda

  • 1.9k
  • 44
  • 13.1k

Checkbox with in listbox in master page??

Mar 2 2015 12:52 AM
I need a checkbox selection with in dropdown/listbox,the below code is my sample code,that is working very fine with out master page but when I insert the same code with in master page then only the check boxes are not comming but I can able to select multiple items from list,I know the problem is with Jquery. Jquery is not triggering properly when I place the content in master page,so can any one help me to rectify this error
<html xmlns="">
<title>jQuery Multi Select Dropdown with Checkboxes</title>
<script type="text/javascript" src=""></script>
<link href=""
rel="stylesheet" type="text/css" />
<script type="text/javascript" src=""></script>
<link href="" rel="stylesheet" type="text/css" />
<script src="" type="text/javascript"></script>
<form id="form1" runat="server">
<div style="padding:20px">
<asp:ListBox ID="lstFruits" runat="server" SelectionMode="Multiple">
<asp:ListItem Text="Mango" Value="1" />
<asp:ListItem Text="Apple" Value="2" />
<asp:ListItem Text="Banana" Value="3" />
<asp:ListItem Text="Guava" Value="4" />
<asp:ListItem Text="Orange" Value="5" />
<asp:Button ID="Button2" Text="Submit" runat="server" OnClick="Submit" />
<script type="text/javascript">
$(function () {
includeSelectAllOption: true

Brought to you by:

Answers (1)