Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

Wwwxxxapc, CAM::PDF::Renderer::TextF Fragen, adodb.recordset error '800a0cc1', php save mails as eml, WWWXXXAPC, sqlexpress database file auto-creation error, sqlexpress database file auto-creation error, dbf2mysql parameter, wwwxxxAPC, How to unsubscrube from dategen spam

Links

XODOX
Impressum

#1: GridView: how to hide/show controls based on a value in another cell?

Posted on 2008-04-18 20:43:16 by dan

Hi,

I have a GridView with five columns. One of the column renders its content
either as a FileUpload or TextBox - depending on a value in another cell. I
created an EditItemTemplate for the column and placed both controls in it.
The controls' Visible property is initially set to false for both of them.
Based on a value of another field I'd like to be able to set Visible
property to true for one of the controls.
Could someone please let me know the best way of doing this?

Thanks,
Dan

Report this message