Skip to main content

Hidden Field Inside GridView

If you add Visible="False" to any control Such control is not rendered on the client side at all. It is accessible on server side only. If you want to get it invisible, but present in DOM and accessible using JavaScript change Visible="False" to style="display:none"

Comments

  1. Setting style to hidden in this way doesn't work:
    Attribute 'style' is not a valid attribute of element Boundfield.

    ReplyDelete

Post a Comment

Popular posts from this blog