Let me start by saying I'm new to programming, and so far I've only spent a few months learning Java, and even less time learning visual basic well over a year ago - that's it. Now I'm stuck in a team having to do a group project and the group lead decided to code this in c#, which I've never used, and we're coding it in visual studio - which I have almost no experience with. I've searched all over google with little luck, so I'm posting on here to see if anyone can help. There's a form with a rich textbox on it. I've added a label and I want it to display the number of characters remaining that the user can type into the box. This is what I've managed to piece together:
There are no errors, but nothing happens. The label is empty. I don't understand.
C#:
protected void rtdDisclaimer(object sender, EventArgs e)
{
lblCharCount.Text = "Characters Remaining:" + (700 - rtbDisclaimer.Text.Length).ToString(); // char count limit set to 700
}
There are no errors, but nothing happens. The label is empty. I don't understand.