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

IE7 postback issue

0 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vitaly
Top achievements
Rank 1
Vitaly asked on 20 Jan 2012, 10:31 PM
Good afternoon folks,
I have in my aspx page a form where user fill out all necessary information to sent email.The form contains numerious numbers of Telerik controls.
I have RadComboBox with autopostback = true(this is in the middle of the form).When user select from ComboBox 'Yes' or 'No' it fire event:

protected

 

void ddlAprv_SelectedIndexChanged1(object o, RadComboBoxSelectedIndexChangedEventArgs e)

 

{

 

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

 

 

 

}

}


 

 

Focus goes to the next Box and ask to put some numbers.This is working for IE8
But for IE7 focus is lost and form jump right to the top.

Please help me to resolve this issue.
Thanks

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Vitaly
Top achievements
Rank 1
Share this question
or