Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Hide or Remove items Based on Selected DropDownList items

$
0
0

hi,

 we have  two Drop down Lists 1. Year drop down List 2. Months Drop down List

Year Drop Down List-->Binding Years to this Drop Down list from Share point List(1990 to 2020)

Months Drop Down List-->

<asp:ListItem>-Select-</asp:ListItem>
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
                <asp:ListItem>9</asp:ListItem>
                <asp:ListItem>10</asp:ListItem>
                <asp:ListItem>11</asp:ListItem>
                <asp:ListItem>12</asp:ListItem>

Like this binding,

once we select  2015 in Year Drop Down list we want hide(or) Remove in  5 to 10 ListItems in Months Drop Down List through  Java script or J query Or Client  side.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>