Last post Oct 20, 2008 02:18 AM by sjnaughton
Oct 17, 2008 12:12 AM|Ferds|LINK
Hi, i have a lookup table that has a column 'deleted' i don't want rows that are marked as deleted to be shown on the dropdownlist when editing or adding new records, how do i do it? thanks.
Oct 17, 2008 11:02 AM|sjnaughton|LINK
Hi Ferds, Firstly is this in the FK dropdown list or the Filter Drop down list? [:$] Duh! I should read the subject [:$]
1. FK Dropdown List, I would create a new version of the ForeignKey_Edit.ascx FieldTemplate and use
UIHint to select it's use.
2. Filter Dropdown, Using the Advanced Filter from DD Futures I woudl then add a new filter and use the custom filter attribute to force the use of my new custom filter.
Hope thsi helps [:D]
Oct 19, 2008 08:48 PM|Ferds|LINK
i will try creating the UIHint.
can i ask you a different question? you see i have a custom page and whenever i use the sort by column (clicking the column twice), then i click on the next page, the row count is correct but some records from the first page are repeated. I don't know if
this happened to anyone yet. What could be the problem? i'm really stuck.
by the way i used Catalyst.Web.DynamicData on my list.aspx template to have a search control for the gridview.
Oct 20, 2008 02:18 AM|sjnaughton|LINK
The first thing to check is does this happen without the custome page, if it does it could be a bug (unlikely). It is more like ly that you have introduced an issue, try commenting out any custom code in the code behind and see what is causing the issue.
I know this may sound obvious but it is easy to run away trying to solve the issue without going back to basics. I know I do it myself [:D]