Grid not populating on Dropdown selection

webform , , Miami, United States
  • 10 years ago


    On my webform, i have one grid, 2 dropdownlist and one datepicker control.

    When i select items from my both dropdown and date from datepicker control,

    i want to populate my grid based on above mention control selections.

    But, my problem is on selection, my grid is not showing any data.

    Please help.

    Code i am using is below: .ASPX CODE

    BreakFast Lunch AlaCarte BreakFast-F Lunch-F <%@ Page Title="" Language="vb" AutoEventWireup="True" MasterPageFile="~/Dss.Master" CodeBehind="ProductionRecordmain.aspx.vb" Inherits="DSS.ProductionRecordmain" %>

                            ID="ddlmenutype" OnSelectedIndexChanged ="ddlmenutype_SelectedIndexChanged" runat="server"
                            Height="20px" Width="90px" AutoPostBack="True" ToolTip="Select Menu Type" ForeColor="Black"
                        <asp:ListItem Value="B">Br</asp:ListItem>
                        <asp:ListItem Value="L">Lu</asp:ListItem>
                        <asp:ListItem Value="A">Al</asp:ListItem>
                        <asp:ListItem Value="M">BrF</asp:ListItem>
                        <asp:ListItem Value="N">LuF</asp:ListItem>

                        ID="ddlSch" runat="server" Height="20px" Width="203px" AutoPostBack="True" Font-Size="12px" 

                        ID="RadDatePick" Runat="server" AutoPostBack="True" Culture="en-US" 
                        Skin="Outlook" Width="100px" Font-Size="10px" ForeColor="Black">



            GridLines="None" Height="261px" ShowHeader="False" Skin="Outlook" Width="1107px"
             AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
            <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                <Selecting AllowRowSelect="True" />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
            <MasterTableView CommandItemDisplay="Bottom" 
    EditMode="PopUp" InsertItemPageIndexAction="ShowItemOnCurrentPage">


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Linux is only free if your time has no value” - Jamie Zawinski