P
Phil Barber
I have dropdown list I want to let the user pick an item in the list and add
it to text box.
It works all fine as long as I set the Autopostback on the dropdown list.
the only problems I have is the speed of page as it is being redrawn on
every selection.
my question is there a way to move the selection to the text box on the
client side without the trip to the server?
this is the code behind the dropdiwn list:
protected void CmbClaimPrefix_SelectedIndexChanged(object sender,EventArgs
e)
{
if (TxtCvgNum.Text=="ALL")
TxtCvgNum.Text=CmbCvgNum.SelectedValue;
else
TxtCvgNum.Text+=","+CmbCvgNum.SelectedValue;
}
it to text box.
It works all fine as long as I set the Autopostback on the dropdown list.
the only problems I have is the speed of page as it is being redrawn on
every selection.
my question is there a way to move the selection to the text box on the
client side without the trip to the server?
this is the code behind the dropdiwn list:
protected void CmbClaimPrefix_SelectedIndexChanged(object sender,EventArgs
e)
{
if (TxtCvgNum.Text=="ALL")
TxtCvgNum.Text=CmbCvgNum.SelectedValue;
else
TxtCvgNum.Text+=","+CmbCvgNum.SelectedValue;
}