Hiddenfield in formview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • win

    Hiddenfield in formview

    I've created a formview and bind the columns.
    The column ModifyUser should not be be displayed so that I've modified from
    Textbos to HiddenField.

    How can I change the bind value of a Hiddenfield and update the formview?

    Thank you

  • Jialiang Ge [MSFT]

    #2
    RE: Hiddenfield in formview

    Hello

    We can use ItemTemplate to bind value to a HiddenField. The asp.net article

    demonstrates the use of ItemTemplate. For HiddenField, we can write it in
    this way:

    <asp:HiddenFiel d ID="HiddenField 1" runat="server" Value='<%#
    Eval("FileName" ) %>' />

    Regards,
    Jialiang Ge (jialge@online. microsoft.com, remove 'online.')
    Microsoft Online Community Support

    =============== =============== =============== ====
    Delighting our customers is our #1 priority. We welcome your comments and
    suggestions about how we can improve the support we provide to you. Please
    feel free to let my manager know what you think of the level of service
    provided. You can send feedback directly to my manager at:
    msdnmg@microsof t.com.

    This posting is provided "AS IS" with no warranties, and confers no rights.
    =============== =============== =============== ====

    Comment

    Working...