I have a inptSelectedItemIds as Global.System.Web.UI.HtmlControls.HtmlInputHidden
I need to order it by each control's PARENT ID.
Was thinking of using some kind of List and ordering it as stated above but I am unable to make one.
Right now it looks like this:

 Dim appNames As String()
 appNames = inptSelectedItemIds.Value.Split(";")

I need it to look something like this:

    Dim appNames As String()
    Dim nameOfList as List or collection of inptSelectedItemIds
    'order this list by each item's parent ID
     appNames = nameOfList.Value.Split(";")

Can anyone help?
Alternatively, ordering the inptSelectedItemIds by their DOM order (on server side, not JS) can help as well.

Related posts

Recent Viewed