I have a TWebListControl on my webform and it is populated with a list of files:
for I := 0 to aJS.Length - 1 do
begin
lItem := FileList.Items.Add;
jItem := JS.toObject(aJS[I]);
lItem.Text := JS.toString(jItem['Name']);
lItem.AddLink( 'store/' + JS.toString(jItem['File']), '_blank');
lItem.Active := True;
end;
aJS is a TJSArray;
However, the items don't respond to being clicked by calling the URL (which is a relative on like "store/file1.pdf"
ideas? thanks