forum

Home / DeveloperSection / Forums / ControlID is not recognized in code behind

ControlID is not recognized in code behind

Anonymous User 1906 29-Sep-2014

This is my asp code 

<tr class="footer" runat="server">
    <td colspan="4" runat="server">* By WWW.Play.org
       <asp:DropDownList AutoPostBack="true" runat="server" ID="callDispositionSelector" OnSelectedIndexChanged="callDispositionChanged">
           <asp:ListItem Value="-1">Select Disposition Reason</asp:ListItem>
           <asp:ListItem Value="1">Reservation</asp:ListItem>
           <asp:ListItem Value="2">Change of Reservation</asp:ListItem>
           <asp:ListItem Value="3">Cancellation</asp:ListItem>
           <asp:ListItem Value="4">Wait List</asp:ListItem>
           <asp:ListItem Value="5">Other</asp:ListItem>
       </asp:DropDownList>
    </td>
</tr>

In code behind, I am not able to type this callDispositionSelector. In other words, visual studio doesn't recognize that id.


Updated on 29-Sep-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By