J
Joe
Hi,
I have an ASP.NET web page with a radio button list on it.
When I go to the .vb code behind module and attempt to reference the
radio button list, it tells me that the control does not exist. My
aspx code is below:
<InsertItemTemplate>
<table border="1">
..........
<tr>
<td> <asp:RadioButtonList ID="rbtnNewEstimate"
runat="server" AutoPostBack="True" >
<asp:ListItem>Create A New Estimate </
asp:ListItem>
<asp:ListItem>Create A New Estimate, Based On An
Existing Estimate</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
In my VB code I am attempting to do this
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
rbtnNewEstimate.Checked = ......
End Sub
But it cannot see rbtnNewEstimate. Can anyone tell me why my VB
page does not "see" the controls on my web page?
I have an ASP.NET web page with a radio button list on it.
When I go to the .vb code behind module and attempt to reference the
radio button list, it tells me that the control does not exist. My
aspx code is below:
<InsertItemTemplate>
<table border="1">
..........
<tr>
<td> <asp:RadioButtonList ID="rbtnNewEstimate"
runat="server" AutoPostBack="True" >
<asp:ListItem>Create A New Estimate </
asp:ListItem>
<asp:ListItem>Create A New Estimate, Based On An
Existing Estimate</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
In my VB code I am attempting to do this
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
rbtnNewEstimate.Checked = ......
End Sub
But it cannot see rbtnNewEstimate. Can anyone tell me why my VB
page does not "see" the controls on my web page?