Hello
I am trying to grab the SelectedValue of a RadComboBox unsuccessfully on button click.
protected void smsBtn_Click(System.Object sender, System.EventArgs e)
{
MyClass MC= new MyClass (_FID, emTxBx.Text);
{
if (!MC.IsError)
{
string _carrier = carrierRcb.SelectedValue;
MC.SMSMessage(_FID, _carrier, cellTxBx.Text);
statusLbl.ForeColor = System.Drawing.Color.Red;
statusLbl.Text = "Your Code Key has been sent.";
statusPnl.Visible = true;
}
else
{
statusLbl.ForeColor = System.Drawing.Color.Red;
statusLbl.Text = "There was an error sending your request.";
statusPnl.Visible = true;
}
}
}
Seems like a simple thing to do. Am I missing something here?
I am trying to grab the SelectedValue of a RadComboBox unsuccessfully on button click.
protected void smsBtn_Click(System.Object sender, System.EventArgs e)
{
MyClass MC= new MyClass (_FID, emTxBx.Text);
{
if (!MC.IsError)
{
string _carrier = carrierRcb.SelectedValue;
MC.SMSMessage(_FID, _carrier, cellTxBx.Text);
statusLbl.ForeColor = System.Drawing.Color.Red;
statusLbl.Text = "Your Code Key has been sent.";
statusPnl.Visible = true;
}
else
{
statusLbl.ForeColor = System.Drawing.Color.Red;
statusLbl.Text = "There was an error sending your request.";
statusPnl.Visible = true;
}
}
}
Seems like a simple thing to do. Am I missing something here?