This is a migrated thread and some comments may be shown as answers.

IE7 postback problem

11 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vitaly
Top achievements
Rank 1
Vitaly asked on 25 Jan 2012, 03:58 PM
Hi guys,
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

Sort by
0
Vasil
Telerik team
answered on 30 Jan 2012, 10:37 AM
Hello Vitaly,

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>
C#:
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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Vitaly
Top achievements
Rank 1
answered on 30 Jan 2012, 04:30 PM
Hi Vasil and thanks for your responding:
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.

 

0
Vasil
Telerik team
answered on 30 Jan 2012, 06:20 PM
Hi Vitaly,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Vitaly
Top achievements
Rank 1
answered on 30 Jan 2012, 06:52 PM
I am sorry Vasil I should include in my previous message couple more coding that will not confuse you:

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");

 

 

 

}

}

0
Vasil
Telerik team
answered on 31 Jan 2012, 10:06 AM
Hello,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Vitaly
Top achievements
Rank 1
answered on 31 Jan 2012, 04:46 PM
Hi Vasil,
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.
0
Vasil
Telerik team
answered on 01 Feb 2012, 10:57 AM
Hi Vitaly,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Vitaly
Top achievements
Rank 1
answered on 01 Feb 2012, 04:20 PM
Good morning Vasil,
thanks for your help.Yes I found it:
Product version is 2009, 2, 701,20

0
Vasil
Telerik team
answered on 01 Feb 2012, 04:28 PM
Hello,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Vitaly
Top achievements
Rank 1
answered on 01 Feb 2012, 04:42 PM
Hi Vasil,
could you tell where I can get a new version of Rad Controls 2011.3.1305.
Thanks.
0
Vasil
Telerik team
answered on 01 Feb 2012, 05:12 PM
Hi Vitaly,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Vitaly
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Vitaly
Top achievements
Rank 1
Share this question
or