dotnetrockerzzz
Top achievements
Rank 2
dotnetrockerzzz
asked on 29 Jul 2011, 01:09 PM
RadTextBox Focus Style Width Not Working:--
When we bring textbox to focus the width does not change to 400pixels , however the Font-size property appears to work properly ..
Help
<
telerik:RadTextBox
ID
=
"tbspost"
runat
=
"server"
>
<
FocusedStyle
Font-Size
=
"Large"
Width
=
"400px"
/>
</
telerik:RadTextBox
>
When we bring textbox to focus the width does not change to 400pixels , however the Font-size property appears to work properly ..
Help
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 01 Aug 2011, 06:24 AM
Hello Vaibhav,
I tried the same scenario and it is working as expected in my end. 2011,1,315,35 is the version in which I tested. Here I am pasting the full code that I tried.
aspx:
Thanks,
Princy.
I tried the same scenario and it is working as expected in my end. 2011,1,315,35 is the version in which I tested. Here I am pasting the full code that I tried.
aspx:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
>
</
asp:ScriptManager
>
<
telerik:RadTextBox
ID
=
"tbspost"
runat
=
"server"
>
<
FocusedStyle
Font-Size
=
"Large"
Width
=
"400px"
/>
</
telerik:RadTextBox
>
Thanks,
Princy.
0
dotnetrockerzzz
Top achievements
Rank 2
answered on 29 Sep 2011, 02:11 PM
Respected Princy,
It does not seem to be working ..
My telerik version -- 2011,1,315,40
What I want - whenever we click inside the textbox, the width of the textbox should increase but it does not happen so
It does not seem to be working ..
My telerik version -- 2011,1,315,40
What I want - whenever we click inside the textbox, the width of the textbox should increase but it does not happen so
0
Accepted
Princy
Top achievements
Rank 2
answered on 30 Sep 2011, 10:19 AM
Hello Vaibhav,
Try setting the FocusedStyle-CssClass to set the FocusStyle Width
aspx:
CSS:
Thanks,
Princy.
Try setting the FocusedStyle-CssClass to set the FocusStyle Width
aspx:
<
telerik:RadTextBox
ID
=
"tbspost"
runat
=
"server"
FocusedStyle-CssClass
=
"myclass"
>
<style type=
"text/css"
>
.myclass
{
width
:
200px
!important
;
}
</style>
Thanks,
Princy.
0
dotnetrockerzzz
Top achievements
Rank 2
answered on 30 Sep 2011, 10:58 AM
!important always helps..
thanks a lot it worked.. but still telerik needs to work upon that 'small' patch of functionality of theirs..
thanks a lot it worked.. but still telerik needs to work upon that 'small' patch of functionality of theirs..