Hi
I have 20-25 comboboxes to be used in my page...
I perform "selectedindexchanged event" to fill a textbox with selected value...
the whole page refreshes..& focus is moved to the first half of the page ,where my combo is sitting in the next half & I havw to scroll down to see where it is..
How can I resolve this...
my aspx
~~~~~~
a.<telerik:RadComboBox ID="rcb_M1020_1" runat="server"
DataTextField="Descriptionwithcode" DataValueField="CODE"
EnableLoadOnDemand="True" Width="150px" Height="150px"
AllowCustomText="true"
LoadingMessage="loading..you can enter the text in the box"
EmptyMessage="Type your Diagnosis here.."
HighlightTemplatedItems="true"
AutoPostBack="true" CausesValidation="false"
ShowMoreResultsBox="true" Skin="Web20"
onitemsrequested="rcb_M1020_1_ItemsRequested" onselectedindexchanged="rcb_M1020_1_SelectedIndexChanged">
</telerik:RadComboBox>
aspx.cs
~~~~~~~~
protected void rcb_M1020_1_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
IOASISFormController controllerobj = new OASISFormController();
if (rcb_M1020_1 != null)
{
if (!string.IsNullOrEmpty(e.Text))
{
rcb_M1020_1.DataSource = controllerobj.ListDiagnosticsData(e.Text.Trim());
rcb_M1020_1.DataBind();
}
}
}
protected void rcb_M1020_1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
txt_M1020_2.Text = rcb_M1020_1.SelectedValue;
}
Please suggest a solution
I have 20-25 comboboxes to be used in my page...
I perform "selectedindexchanged event" to fill a textbox with selected value...
the whole page refreshes..& focus is moved to the first half of the page ,where my combo is sitting in the next half & I havw to scroll down to see where it is..
How can I resolve this...
my aspx
~~~~~~
a.<telerik:RadComboBox ID="rcb_M1020_1" runat="server"
DataTextField="Descriptionwithcode" DataValueField="CODE"
EnableLoadOnDemand="True" Width="150px" Height="150px"
AllowCustomText="true"
LoadingMessage="loading..you can enter the text in the box"
EmptyMessage="Type your Diagnosis here.."
HighlightTemplatedItems="true"
AutoPostBack="true" CausesValidation="false"
ShowMoreResultsBox="true" Skin="Web20"
onitemsrequested="rcb_M1020_1_ItemsRequested" onselectedindexchanged="rcb_M1020_1_SelectedIndexChanged">
</telerik:RadComboBox>
aspx.cs
~~~~~~~~
protected void rcb_M1020_1_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
IOASISFormController controllerobj = new OASISFormController();
if (rcb_M1020_1 != null)
{
if (!string.IsNullOrEmpty(e.Text))
{
rcb_M1020_1.DataSource = controllerobj.ListDiagnosticsData(e.Text.Trim());
rcb_M1020_1.DataBind();
}
}
}
protected void rcb_M1020_1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
txt_M1020_2.Text = rcb_M1020_1.SelectedValue;
}
Please suggest a solution