this is my second notice regarding this issue.I have aspx page with various telerik controls.There is a RadCombobox control where user choose 'Yes' or 'No' and after postback should go to the next control which is a RadNumericTextBox.
In IE8 works fine but in IE7 instead of going to the next control after postback it is jump on top of the screen.
Please help me with this issue.
Thanks so much,.
11 Answers, 1 is accepted
I tried to replicate the issue using this code:
Aspx:
<
telerik:RadComboBox
runat
=
"server"
ID
=
"RadComboBox1"
onselectedindexchanged
=
"RadComboBox1_SelectedIndexChanged"
AutoPostBack
=
"true"
>
<
Items
>
<
telerik:RadComboBoxItem
Value
=
"item1"
Text
=
"item1"
/>
<
telerik:RadComboBoxItem
Value
=
"item2"
Text
=
"item2"
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadNumericTextBox
runat
=
"server"
ID
=
"RadNumericTextBox1"
></
telerik:RadNumericTextBox
>
protected
void
RadComboBox1_SelectedIndexChanged(
object
sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
{
RadNumericTextBox1.Focus();
}
And it is working correct in IE7. Could you tell us what is different in your scenario?
Greetings,
Vasil
the Telerik team

Here is my code
ASPX:
<
telerik:RadComboBox ID="ddlAprv" runat="server" TabIndex="8" AutoPostBack="true" Font-Size="Small" Width="53px" OnSelectedIndexChanged="ddlAprv_SelectedIndexChanged1">
<Items>
<telerik:RadComboBoxItem Text="Select" Value="" Selected="true" />
<telerik:RadComboBoxItem Text="Yes" Value="Y" />
<telerik:RadComboBoxItem Text="No" Value="N" />
</Items>
</telerik:RadComboBox>
<
telerik:RadNumericTextBox ID="JobPostingNo" runat="server" TabIndex="9" Font-Bold="true" MaxLength="4" Type="Number" MinValue="1" MaxValue="9999" CssClass="textbox" Width="48px" Enabled="false">
<NumberFormat GroupSeparator="" DecimalDigits="0" />
<DisabledStyle Font-Bold="true" BackColor="#EFEFEF" />
</telerik:RadNumericTextBox>
<
telerik:RadComboBox ID="ddlPost" runat="server" TabIndex="10" AutoPostBack="false" Font-Size="Small" Width="53px">
<Items>
<telerik:RadComboBoxItem Text="Select" Value="" Selected="true" />
<telerik:RadComboBoxItem Text="Yes" Value="Y" />
<telerik:RadComboBoxItem Text="No" Value="N" />
<telerik:RadComboBoxItem Text="NA" Value="F" />
C#:
if
(ddlAprvPost.SelectedValue == "Y")
{
jobPostNo.Enabled =
true;
jobPostNo.Focus();
}
else
{
if (jobPostNo.Text.Length > 0)
{
jobPostNo.Text =
string.Empty;
}
jobPostNo.Enabled =
false;
ScriptManager1.SetFocus(ddlpost.ClientID +
"_Input");
Thanks again fro your help.
In your code the ID of the ComboBox used in the page is "ddlAprv" and the ID of the combo used in the code behind is "ddlAprvPost" so it is different ComboBox. Could you check and confirm that this part of the code is executed correctly?
Kind regards,
Vasil
the Telerik team

RadPanelBar
attestPanel = (RadPanelBar)formPanel.FindItemByValue("principalForm").FindControl("attestationPanel");
RadNumericTextBox jobPostNo = (RadNumericTextBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("JobPostingNo");
RadComboBox ddlAprvPost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlAprv");
RadComboBox ddlpost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlPost");
if (ddlAprvPost.SelectedValue == "Y")
{
jobPostNo.Enabled =
true;
jobPostNo.Focus();
}
else
{
if (jobPostNo.Text.Length > 0)
{
jobPostNo.Text =
string.Empty;
}
jobPostNo.Enabled =
false;
ScriptManager1.SetFocus(ddlpost.ClientID +
"_Input");
}
}
We have tested this code in IE7 and it is working fine, see the attached video. Could you confirm that you use the latest version of our controls?
All the best,
Vasil
the Telerik team

since I am new to .NET programming could you tell me how can I check what version of the Telerik control I am using.
Thanks so much.
1. In the SolutionExplorer of Visual Studio first click the "Show All Files" icon, to see all files in the project.
2. In the SolutionExplorer find "Telerik.Web.UI.Dll" in the "\bin" folder and double click it.
3. You will see tree like "Telerik.Web.UI" - "Version" - "1[Neutral]" , double click on this note and you will see all the information about the assembly including it's version.
Kind regards,
Vasil
the Telerik team

thanks for your help.Yes I found it:
Product version is 2009, 2, 701,20
I would suggest you to upgrade to the latest version: 2011.3.1305, since we are constantly improve the controls and trying to fix all found issues. And the problem witch you currently observer is already fixed sometime back in the years and it is working correctly in the latest version.
Greetings,
Vasil
the Telerik team

could you tell where I can get a new version of Rad Controls 2011.3.1305.
Thanks.
You could find the latest controls our download page here:
http://www.telerik.com/download.aspx#asp-net-ajax
All the best,
Vasil
the Telerik team