Posted on: 3/31/2011 8:41:14 PM | Views : 819

so here is the deal as a image box is created i want to assign it to be handled by a event handler there was a similar post here in 2010
problem is it does not work. So here is the code
Imports Microsoft.CSharp Public Class Dashboard Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub ImgGauge_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgGauge.Click RadAjaxPanel1.Controls.Clear() Dim tb As New Table() tb.ID = "tb1" Dim rows As Integer = 4 Dim cols As Integer = 7 Dim counter As Integer = 1 Dim ibCount As Integer = 1 For j As Integer = 0 To rows - 1 Dim r As New TableRow() For i As Integer = 0 To cols - 1 Dim c As New TableCell() If (j = 0 OrElse j Mod 2 = 0) Then ...

Go to the complete details ...