Hi Yara,
Thanks for your interest in Orubase product.
You can achieve your requirement by calling action, while
clicking the list item using ‘OnItemSelect’ clientside event. Please refer the
below code snippets.
//Script
function
SendPost(sender, args) {
$.mobile.changePage("/home/ListboxPost/"
+ args.Text.toLowerCase());
}
//Controller
public ActionResult ListboxPost(string
id) // Which gets the parent items text
{
products.Clear();
var data =
RenderChildDataSource(id); // Sending new model data for the child item
return
View(data);
}
We have also created sample for the same. Please refer the
sample in the below attachment.
DemoApp.zip
Please try this and let us know if you have queries.
Regards,
Thivya.