Last post Dec 14, 2012 06:55 PM by sjnaughton
Dec 13, 2012 07:53 PM|jvdub22|LINK
Im trying to figure out how to create a custom Edit page where the editable columns are determined by the "status" column. For example if status = "Active" then I only want the "comment" column to be shown in the edit page, but if status="Queued" then I
want most of the columns to visible and editable. Thoughts anyone?
Thanks in advance.
Dec 13, 2012 08:05 PM|oned_gk|LINK
Visible='<%# Eval("Status")=="Active" %>'
Visible='<%# Eval("Status")=="Active" ? True : False %>'
Dec 14, 2012 12:27 AM|jvdub22|LINK
Thanks, thats worked great!
Dec 14, 2012 08:15 AM|sjnaughton|LINK
Hi jvdub22, that will work on data load but not on data change I have an article on my blog that cover this see it here
Dec 14, 2012 06:44 PM|jvdub22|LINK
this worked for hiding the DynamicControl, but the label is still visible. How do I hide the entire row?
Dec 14, 2012 06:55 PM|sjnaughton|LINK
Hi Jvdub22, have look at my article, you then look for the table row <tr> using Get Parent recusicle until you fine the element type the you can hide it.