We are currently on RadControls for ASP.NET 2007 Q1 and are planning a migration to RadControls for ASP.NET AJAX in the near future and were wondering if the '_wrapper' spans were still used as a wrapper in the new version. We've found a use for setting the css class of the wrapper and would like to make sure this is still viable in the new version before we fully implement it.
Thank you,
Jim
Thank you,
Jim
5 Answers, 1 is accepted
0
Hi Jim,
We are not using the "_wrapper" spans in all AJAX controls any more. This was used as a workaround to a limitation we have now completely solved with the new framework.
Please let us know what controls you are using and what exactly is you scenario for the custom CSS classes. We will do our best to help you do that with the new controls as well.
Kind regards,
Ivo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We are not using the "_wrapper" spans in all AJAX controls any more. This was used as a workaround to a limitation we have now completely solved with the new framework.
Please let us know what controls you are using and what exactly is you scenario for the custom CSS classes. We will do our best to help you do that with the new controls as well.
Kind regards,
Ivo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 28 May 2008, 03:39 PM
I am trying to set the class in order to cause the control background to change color when a valid entry is in the field. I want to be able to do this with the RadTextBox, the RadNumericTextBox, the RadMaskedTextBox, the RadComboBox, and the date and time fields.
0
Hi Jim,
RadInput still renders "_wrapper" spans. In this case you can use the same approach as you used for RadControls for ASP.NET.
RadComboBox is rendered as div and it hasn't a "_wrapper" span around it. I suggest you use the CssClass property of RadComboBox to change its visual appearance.
Also you could read more about how to control visual appearance of RadComboBox here
Hope this helps.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
RadInput still renders "_wrapper" spans. In this case you can use the same approach as you used for RadControls for ASP.NET.
RadComboBox is rendered as div and it hasn't a "_wrapper" span around it. I suggest you use the CssClass property of RadComboBox to change its visual appearance.
Also you could read more about how to control visual appearance of RadComboBox here
Hope this helps.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 09 Jun 2008, 01:44 PM
The only difficulty I have with setting the CssClass property is that I am trying to make these changes on the Client side.
0
Hello Jim,
You can find the div element which represents RadComboBox and change its style by the following way:
<script type="text/javascript">
var combo = $find('<%=RadComboBox1.ClientID%>');
var div = combo.get_element();
div.style = "set your style here";
</script>
Hope this helps.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can find the div element which represents RadComboBox and change its style by the following way:
<script type="text/javascript">
var combo = $find('<%=RadComboBox1.ClientID%>');
var div = combo.get_element();
div.style = "set your style here";
</script>
Hope this helps.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center