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

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:
    408
    RA Scheltema
    Jan 6, 2004
  2. Marijn
    Replies:
    5
    Views:
    474
    Marijn
    Feb 13, 2004
  3. Replies:
    0
    Views:
    2,240
  4. Skip

    Set value in Details view

    Skip, Dec 19, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    726
  5. Amadeus W. M.
    Replies:
    2
    Views:
    399
    Amadeus W. M.
    Jul 4, 2006
Loading...

Share This Page