whether "Tag" like properties available in rad textbox control

3 posts, 0 answers
  1. Raj
    Raj avatar
    33 posts
    Member since:
    Jan 2012

    Posted 08 Feb 2012 Link to this post

    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 
  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 08 Feb 2012 Link to this post

    Hi Raj,

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

    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 >>
  3. DevCraft R3 2016 release webinar banner
  4. Raj
    Raj avatar
    33 posts
    Member since:
    Jan 2012

    Posted 09 Feb 2012 Link to this post

    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.
Back to Top