Example #1
0
 private void loadDropSets()
 {
     DropSets.Items.Clear();
     DropSets.Items.Add(new ListItem(GetLabel("LblSelectSets", "Select Attribute Set"), "-1"));
     var sfilter = new AttributeSetFilter();
     var sets = sman.GetByFilter(sfilter, "");
     foreach (var set in sets)
     {
         DropSets.Items.Add(new ListItem(set.Name, set.Id.ToString()));
     }
 }
Example #2
0
 protected void ObjDs1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
 {
     var filter = new AttributeSetFilter();
     e.InputParameters["filter"] = filter;
 }