Posted on: 8/23/2013 11:50:24 AM | Views : 735

Hi,

I have a user contr (Child) inside my usercontrol (parent)'s DataLIst's Item Template. chiled user control has a property called advertid which is supplied from a field in data list.
But for every row AdvertId is always 0

Please see the Code Below.
parent.ascx
<%@ Register Src="~/App_Usercontrol/_JobInSeachList.ascx" TagPrefix="uc1" TagName="_JobInSeachList" %> <ContentTemplate>--%> <table> <tr> <td></td> <td></td> <td></td> </tr> <tr> <td> <asp:TextBox ID="ucjstxtKeyword" runat="server"></asp:TextBox> </td> <td> <asp:TextBox ID="ucjstxtPostCode" runat="server"></asp:TextBox> </td> ...

Go to the complete details ...