Avatar of Basic

asked on 

user control properties in datagrid

hi all

 i have user control which is populates with in datagrid

<asp:datagrid id="DataGrid1" runat="server">
<Columns>                                                      <ItemTemplate>
<usercontrol:My id="UC" runat="server"/>

the user control has properties like

 Public Property empID() As Integer
            Return ID
        End Get
        Set(ByVal Value As Integer)

            ID = Value

        End Set
    End Property

how to dynamically get and set the properties of usercontrol?????????????????

i tried  method findcontrol() with in DataGrid ItemDataBound method but it doest working

please help me


Avatar of undefined
Last Comment

8/22/2022 - Mon