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

RadTextBox with hiddenvalue

2 Answers 87 Views
Input
This is a migrated thread and some comments may be shown as answers.
Johnny
Top achievements
Rank 2
Johnny asked on 05 Jan 2012, 06:46 AM
hi i want to add hiddenvalue with RadTextbox
one of my webpage i m using html input text , i use the name property to add hidden value
mean user couldn't see the value

but in the RadTextbox i couldn't set name property
if i set with Attributes.Add("name", something)
the name property automatcally changed to id

is there any other way to add hiddenvalue related to that particular RadTextbox

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Jan 2012, 08:20 AM
Hello,

Take a look into the following forum thread.
RadTextBox Attribute

Thanks,
Princy.
0
Johnny
Top achievements
Rank 2
answered on 05 Jan 2012, 08:33 AM
hi i set the name attribute something but i got the RadTextBox.Id + _text

 

 

Dim rtb As New RadTextBox
rtb.Width = New Unit(98, UnitType.Percentage)
'rtb.ID = row("LField").ToString.Trim & "dmssmd_txt"
rtb.ID = "cpid" & cpid.ToString
rtb.MaxLength = row("Length")
rtb.Attributes.Add("name", row("LField").ToString.Trim & "dmssmd_txt")




javascript

 




var tempid = $find(id)._textBoxElement.getAttribute("name");


 

 


Tags
Input
Asked by
Johnny
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Johnny
Top achievements
Rank 2
Share this question
or