Set default value of templated field in details view control

Discussion in 'ASP .Net Datagrid Control' started by RJ, Jul 5, 2006.

  1. RJ

    RJ Guest

    I am trying to set the default value (upon insert only and then display
    read-only after that) of a databound label (I made the column into a template
    field) in Visual Studio 2005 to My.User.Name... unfortunately, I can not
    figure out how to access the object to set it from code nor have I been able
    to successfully get around the 'parameter' field with doesn't like an
    evaluate expression in the 'default=""' value.
    Please help...
    --
    Thanks,
    RJ - VS 2005 Newbie
     
    RJ, Jul 5, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RA Scheltema
    Replies:
    3
    Views:
    599
    RA Scheltema
    Jan 6, 2004
  2. Replies:
    0
    Views:
    2,436
  3. Skip

    Set value in Details view

    Skip, Dec 19, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    831
  4. Skip

    Setting Value in Details View

    Skip, Dec 20, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    385
  5. Tatyana
    Replies:
    0
    Views:
    317
    Tatyana
    Jun 26, 2006
  6. Parthiv Joshi
    Replies:
    1
    Views:
    1,097
    Samuel L Matzen
    Jul 6, 2004
  7. VUNETdotUS
    Replies:
    25
    Views:
    891
    Thomas 'PointedEars' Lahn
    Nov 10, 2007
  8. jr
    Replies:
    3
    Views:
    677
Loading...