Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > General Discussions > whether "Tag" like properties available in rad textbox control

Not answered whether "Tag" like properties available in rad textbox control

Feed from this thread
  • Raj avatar

    Posted on Feb 8, 2012 (permalink)

    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

    Reply

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Feb 8, 2012 (permalink)

    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 >>

    Reply

  • Raj avatar

    Posted on Feb 9, 2012 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > General Discussions > whether "Tag" like properties available in rad textbox control