I'm work on Orubase Syncfusion in asp.net mvc
I have a list box in my view that has it's
value from model from controller , I want to assign for each item specific
value to use it in JavaScript
I tried to use
Item.PrimaryKeyValue //where PrimaryKeyValue is integer
And
Item.Value
//where Value is string
But when
I access it in java script by using the following code
function listDetal(sender, args) {
alert(args.Text.toLowerCase());
alert(args.Value);
}
Or
alert(args. PrimaryKeyValue);
It gave me undefined value
So, how can I assign values to Items in listbox
Thanks and Regards