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?
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.
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
Member
2 Points
13 Posts
Conditional Edit page
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.
All-Star
52683 Points
15720 Posts
Re: Conditional Edit page
Dec 13, 2012 08:05 PM|oned_gk|LINK
try
or
Suwandi - Non Graduate Programmer
Member
2 Points
13 Posts
Re: Conditional Edit page
Dec 14, 2012 12:27 AM|jvdub22|LINK
Thanks, thats worked great!
All-Star
17916 Points
5681 Posts
MVP
Re: Conditional Edit page
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
Always seeking an elegant solution.
Member
2 Points
13 Posts
Re: Conditional Edit page
Dec 14, 2012 06:44 PM|jvdub22|LINK
Hi oned_gk,
this worked for hiding the DynamicControl, but the label is still visible. How do I hide the entire row?
Thanks.
All-Star
17916 Points
5681 Posts
MVP
Re: Conditional Edit page
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.
Always seeking an elegant solution.