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

whether "Tag" like properties available in rad textbox control

2 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 08 Feb 2012, 11:44 AM
hi friend.
iam collecting 3 informations like id, name,and address.
id is auto generated in server. 
when first time user enters the data, he gives name and address details and after clicking submit button, the data goes to server and fetched back to screen to display in rad grid with auto generate id.(this is done in server side coding).
when in click a row in grid, the name values and address from grid to be placed in txtname and txtaddress(this is done in client side).
for updating the the values i need to place id somewhere.
i used hiddenfield or label(visible="false"), it throws javascript error that "not a object".
if i used rad txtbox , id is placing in that txtbox without any problem, if i make that txtbox visible ="false", again iam getting same error.
is there any properties like "tag" or some otherway to hide the id for updating.

sorry if my english is poor.
thanks in advance 
S.Rajkumar

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 08 Feb 2012, 03:38 PM
Hi Raj,

What if you make the textbox ReadOnly="true" and see if it works for you?

Greetings,
Iana Tsolova
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Raj
Top achievements
Rank 1
answered on 09 Feb 2012, 06:32 AM
thanks for reply
but still iam getting error
"Microsoft JScript runtime error: 'null' is null or not an object"
client scripting :-
var customer_id = document.getElementById("rtxtcustomerid");
 customer_id.innerText = args.get_gridDataItem().get_cell("customerid").innerText
i made this textbox visible="false"and Radonly="true", buit iam not getting the values. it throws null object.
if i set visible="true", its working.
Tags
General Discussions
Asked by
Raj
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Raj
Top achievements
Rank 1
Share this question
or