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

resizing issue in IE

4 Answers 119 Views
Input
This is a migrated thread and some comments may be shown as answers.
Jiju
Top achievements
Rank 1
Jiju asked on 22 Mar 2012, 12:27 PM
Hi,

I have telerik rad datepicker and rad textbox  in my page, I have set width to this controls, and when using telerik version 2009, it works fine, I have changed telerik version to Q1 2012 and now when rendering page in IE (8.0) it shows width less than the width specified, but when focusing on this controls, the width change to the specified width. In other browsers it rendering correctly,
How can i solve this issue.

thanks in advance
Jiju

4 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 26 Mar 2012, 02:12 PM
Jiju:

It’s probable that the problem with the layout of your Advanced Form is caused by a newly introduced modification to the RadInput (RadTextBox control) in the 2012.1.215.35 release. A newly implemented Single input rendering property of the textbox is currently set to true as a default, and could be the cause of the odd behavior that you’re experiencing.

 

Try the following:  explicitly set the “EnableSingleInputRendering” property of all RadTextBox controls in your form to False.

Let me know if this helps!

0
Jiju
Top achievements
Rank 1
answered on 27 Mar 2012, 04:49 AM
hi
I have set EnableSingleInputRendering to false and it solve my issue. Thank you very much for your help.
Should i have to set this property to each and every textboxes individually or is there any alternative?

Thanks
Jiju
0
Jiju
Top achievements
Rank 1
answered on 27 Mar 2012, 08:03 AM
Hi,
If there is a radajax panel in the page and if there is a textbox and a button inside this ajax panel then by setting EnableSingleInputRendering to false it solve the issue when rendering. but if there is a postback from the button then the issue came.
How can i solve this?

Thanks in advance
Jiju
0
Richard
Top achievements
Rank 1
answered on 27 Mar 2012, 02:59 PM
Jiju:

It's difficult to determine the cause of this odd behavior without being able to see your code. Where do you set the "EnableSingleInputRendering" to false? You should do this in the .aspx markup and not in the code behind, so that it will apply even with a postback. Also, how are you setting your width property? Are you doing this in the .aspx, or by using CSS or in code behind?

I would also suggest that if you continue to have problems setting and maintaining the correct width, you should open a support ticket with Telerik and provide them with your complete code, including any custom CSS that you are using. This will help to expedite a solution for you.

There have been recent changes to the method in which RadInput controls are rendered, so you may want to download the latest internal build (currently the Telerik.Web.UI_2012_1_327_Dev)  and try that one without setting the "EnableSingleInputRendering" to false (which does not use the newly implemented rendering approach which will eventually become the standard approach).

Regards,
Tags
Input
Asked by
Jiju
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Jiju
Top achievements
Rank 1
Share this question
or