Khaniya wrote:
TextBox control name txtName
Khaniya wrote:
I put TextBox name like TextName
Stylecop is just forcing the rules that has been put into it as a coding standard.
Try:
1. textbox name as
txtName and
2. textboxKeyDown event as
TxtName_KeyDown
Just make sure, while binding the event, you use proper method name.
It's not necessary that you have to start your event name as your control name.