public void textFocusOut(Telerik.WinControls.UI.RadTextBoxControl textBox, string text) { if (textBox.Text == "") { textBox.Text = text; textBox.ForeColor = Color.Gray; } }
public void textFocusIn(Telerik.WinControls.UI.RadTextBoxControl textBox, string text) { if (textBox.Text == text) { textBox.Text = ""; textBox.ForeColor = Color.Black; } }
public void passwordFocusOut(Telerik.WinControls.UI.RadTextBoxControl textBox, string text) { if (textBox.Text == "") { textBox.PasswordChar = '\0'; textBox.Text = text; textBox.ForeColor = Color.Gray; } }
public void passwordFocusIn(Telerik.WinControls.UI.RadTextBoxControl textBox, string text) { if (textBox.Text == text) { textBox.Text = ""; textBox.ForeColor = Color.Black; textBox.PasswordChar = '•'; } }