Hi,
I'm using Masked textbox multiline mode.
and prapare the mask like,
protected
void
Page_Load(
object
sender, EventArgs e)
{
string
mask =
string
.Format(
"xxxx: L## xx: #######{0}"
, Environment.NewLine);
StringBuilder maskBuilder =
new
StringBuilder();
for
(
int
i = 0; i < 5; i++)
{
maskBuilder.AppendFormat(
"{0}"
, mask);
}
RadMaskedTextBox1.Mask = maskBuilder.ToString();
}
this mask displaying correctly firefox and chrome but IE not displaying correctly.
I,m faced with this situation after updating version
new version: 2013.3.1114.40
previous version : 2012_3_1205
5 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 18 Dec 2013, 05:05 AM
Hi,
Please try the following Code snippet which works fine at my end.
C#:
Thanks,
Shinu.
Please try the following Code snippet which works fine at my end.
C#:
protected
void
Page_Load(
object
sender, EventArgs e)
{
StringBuilder maskBuilder =
new
StringBuilder();
for
(
int
i = 0; i < 5; i++)
{
maskBuilder.Append(
"xxxx: L## xx: #######"
);
maskBuilder.AppendLine();
}
RadMaskedTextBox1.Mask = maskBuilder.ToString();
}
Thanks,
Shinu.
0

collapse
Top achievements
Rank 1
answered on 18 Dec 2013, 07:31 AM
thanks,
but not work for me.
I wonder, your textbox width 140px or less? When I set 140px it's displayed well. But higher then 140px, it looks bad shape.
but not work for me.
I wonder, your textbox width 140px or less? When I set 140px it's displayed well. But higher then 140px, it looks bad shape.
0

Shinu
Top achievements
Rank 2
answered on 19 Dec 2013, 10:40 AM
Hi,
As a work around please try the following sample code snippet which works fine at my end.
ASPX:
CSS:
C#:
Hope this will helps you.
Thanks,
Shinu.
As a work around please try the following sample code snippet which works fine at my end.
ASPX:
<
telerik:RadMaskedTextBox
ID
=
"RadMaskedTextBox1"
runat
=
"server"
TextMode
=
"MultiLine"
Width
=
"250px"
>
</
telerik:RadMaskedTextBox
>
CSS:
<style type=
"text/css"
>
.RadInput_Default textarea
{
white-space
:
pre
!important
;
}
</style>
C#:
protected
void
Page_Load(
object
sender, EventArgs e)
{
StringBuilder maskBuilder =
new
StringBuilder();
for
(
int
i = 0; i < 5; i++)
{
maskBuilder.Append(
"xxxx: L## xx: #######"
);
maskBuilder.AppendLine();
}
RadMaskedTextBox1.Mask = maskBuilder.ToString();
}
Hope this will helps you.
Thanks,
Shinu.
0

collapse
Top achievements
Rank 1
answered on 19 Dec 2013, 10:48 AM
I've tried it.
ie11 is working properly, but also lower versions looks corrupted0

Shinu
Top achievements
Rank 2
answered on 20 Dec 2013, 05:32 AM
Hi,
Unfortunately I couldn't replicate the issue at my end.
Thanks,
Shinu.
Unfortunately I couldn't replicate the issue at my end.
Thanks,
Shinu.