Asp.Net how to create seperate event handler for programmatically generated controls
In my asp.net web application, i have created controls programmaticall y, when i try to get the Id assigned to the current lblId control it returns the last id assigned to lblid control.
The code is given below.
Code:
Private Sub LoadProducts(ByVal grpId As Integer)
Dim img1 As Integer = 50
Dim PropertyFromTop As Integer = 130
Dim PriceFromTop As Integer = 150