vcarter
-
7/23/2013 3:35:43 PM
RE:Nested repeater question.
Ah, that makes a lot more sense. Where I am getting stuck is at the nested repeater.
I have a document called fact sheet. It has a bunch of detail information. One column of that table is assigned to related business units. These are picked from a multi select list and are stored via kentico as a pipe delimited list in my fact sheet database table.
Ideally I would just store the names in that column, however kentico uses the ID as the value of my checkboxes.
Business units are not a document type. They are just reference data pulled from a custom table. So what I end up with is
Item | Description | Business Units ----------------------------------------------- Red | A color | 1|3|7
I am trying to change "1|3|7" to Business1, Business3, Business7.
So my thought was to nest a repeater however I am not sure how I would pass the list 1|3|7 into the repeater to return the names.
I have tried to do this via my select statement but it seems I would require the addition of a function in order accomplish that task. Adding additional functions, while possible, is not optimal at this time. And my ability to add custom controls(my preferred way to handle this) is limited by my clients control of their environment. I am not able to add code without submission to the kentico directory on their server.
So my task has become solving simple coding problems only using the portal engine. And for the most part, Kentico has proven quite robust, the main issue I am having is when it comes to relational data like my business units.
thoughts?
|