I have a textbox that will collect the ip address from the user. I double click in the designer to take me to my .CS code it takes me to the correct location for _TextChanged.
One thing I notice it that event is grayed out and say it’s not used, even though I click on it and allowed me to enter code. I tryed moving it outside of the partial class, it just made all the controls unseeable. I have no errors at design time.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: ‘ASP.memberpages_ftpform1_aspx’ does not contain a definition for ‘txtServerIP_TextChanged’ and no extension method ‘txtServerIP_TextChanged’ accepting a first argument of type ‘ASP.memberpages_ftpform1_aspx’ could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 7:
Line 8: FTP Server:
Line 9: 0.0.0.0
Line 10:
Line 11: User Name:
Make sure your text box has an ontextchanged property with the method name from your code behind.
Inside your webform partial class: