C2025-023 - Electronic Procedures - Modifications to PROMS
1. undo changes to store checkbox/textbox in cell grid 2. change to use roid as key for RO listbox items
This commit is contained in:
@@ -329,9 +329,9 @@ namespace VEPROMS.CSLA.Library
|
||||
string roid = FormatRoidKey(rosource, false);
|
||||
rochild[] children = lookup.GetRoChildrenByRoid(roid);
|
||||
|
||||
List<ROListItem> mylist = children.Select(x => new ROListItem(x.title, x.ID)).ToList();
|
||||
List<ROListItem> mylist = children.Select(x => new ROListItem(x.title, x.roid)).ToList();
|
||||
if (includeblank)
|
||||
mylist.Insert(0, new ROListItem("", -1));
|
||||
mylist.Insert(0, new ROListItem("", ""));
|
||||
|
||||
return mylist;
|
||||
}
|
||||
@@ -348,8 +348,8 @@ namespace VEPROMS.CSLA.Library
|
||||
public class ROListItem
|
||||
{
|
||||
public string Text { get; private set; }
|
||||
public int Value { get; private set; }
|
||||
public ROListItem(string _text, int _value)
|
||||
public string Value { get; private set; }
|
||||
public ROListItem(string _text, string _value)
|
||||
{
|
||||
Text = _text; Value = _value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user