klipkop
Posts: 16
|
Posted: 09/24/2008, 3:11 AM |
|
I can't understand why this is not working. I have the following structure
The Panel 1 and Panel 1_n are YUI Tabview and TabTab panels
Page >Page>Panel1>Panel1_1
Page >Page>Panel1>Panel1_2>Grid1>Panel1_2_1
Page >Page>Panel1>Panel1_2>Grid1>Panel1_2_2
Panel 1_2_1 and 2 is panels that Hides a Column in Grid 1
I use the grids BeforeShow and BeforeShowRow event to hide the column based an a variable value
Using the following ASP.Net VB code:
'Panel Panel_1_2_2 Event BeforeShow. Action Custom Code @135-73254650
If MatrixMode = "False" Then
Panel1_2_2.Visible = False
I get :
Compiler Error Message: BC30451: Name 'Panel1_2_2' is not declared.
I have tried
Panel1_2_2.Visible = False
GridPanel1_2_2.Visible = False
Nothing works
Do I ref anything wrong??? ( I added the panels after I created the grid, but did it correctly)
Any help appreciated.
Andre
|