S
shapper
Hello,
I have a page with 2 web controls. WC2 is inside WC1 as follows:
Page
|---- WC1
|------ WC2
On WC1 I have a GridView.
I need to access a value in WC2 which is defined on the GridView
RowEditing event in WC1.
So what I did was:
1. Create a property in WC2 named "MyVal"
2. On my WC1 GridView RowEditing event I defined WC2.MyVal = "Test"
I added on WC2 Load event the code Response.Write(Me.MyVal). I get
nothing.
What am I doing wrong?
Thanks,
Miguel
I have a page with 2 web controls. WC2 is inside WC1 as follows:
Page
|---- WC1
|------ WC2
On WC1 I have a GridView.
I need to access a value in WC2 which is defined on the GridView
RowEditing event in WC1.
So what I did was:
1. Create a property in WC2 named "MyVal"
2. On my WC1 GridView RowEditing event I defined WC2.MyVal = "Test"
I added on WC2 Load event the code Response.Write(Me.MyVal). I get
nothing.
What am I doing wrong?
Thanks,
Miguel