Link to home
Start Free TrialLog in
Avatar of riskyricky1972
riskyricky1972

asked on

usercontrol asp.net and gridview wizard

The following code has usercontrol and inside of the usercontrol is just a dropdown box that I have. I also want to create gridview though
Gridview wizard and want to pass one value from the dropdown usercontrol to the gridview. How can I find that dropdown name and send to the gridview?


<%@ Page Language="C#" MasterPageFile="~/MasterPageSecure.master" AutoEventWireup="true" CodeFile="AdvancedSearch_byproducttype.aspx.cs" Inherits="Secure_AdvancedSearch_byproducttype" Title="Untitled Page" %>

<%@ Register Src="../UserControls/ProductTypeList.ascx" TagName="ProductTypeList"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table>
<tr><td colspan="2"><uc1:ProductTypeList ID="ProductTypeList1" runat="server" /></td></tr>
<tr><td style="width: 80px"><br /></td><td><asp:Button ID="btnsearch" runat="server" Text="Search" /></td></tr>
<tr><td colspan="2"><asp:GridView ID="GridView1" runat="server"></asp:GridView></td></tr>
</table>
</asp:Content>
ASKER CERTIFIED SOLUTION
Avatar of sabeesh
sabeesh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of riskyricky1972
riskyricky1972

ASKER

can you show me  the actual codes? I am new for c# asp.net 2