J
Jenny
In test.aspx page, I have:
<%@ Reference Control="./user_control/e_multi_choice.ascx" %>
In test.aspx.vb page, I have:
Dim mcFab As e_multi_choice =
CType(LoadControl("./user_control/e_multi_choice.ascx"), e_multi_choice)
CType(mcFab, e_multi_choice).Table = "Table1"
CType(mcFab, e_multi_choice).Caption = "Table 1 Title"
If I put this piece of code in Page_load event, it works fine. However,
if I put it under a Button_Click event, the property value doesn't get
passed.
Please advise. Thank you very much.
Jenny
<%@ Reference Control="./user_control/e_multi_choice.ascx" %>
In test.aspx.vb page, I have:
Dim mcFab As e_multi_choice =
CType(LoadControl("./user_control/e_multi_choice.ascx"), e_multi_choice)
CType(mcFab, e_multi_choice).Table = "Table1"
CType(mcFab, e_multi_choice).Caption = "Table 1 Title"
If I put this piece of code in Page_load event, it works fine. However,
if I put it under a Button_Click event, the property value doesn't get
passed.
Please advise. Thank you very much.
Jenny