Here my snipet. I have two problems. First, i can't view selected item, after i select item in dropdown and save. Second, if create new item without select domain, it has wrong site code. Domain can't be zero because site_data not contains item with code 0;
Help me please
selectabletotruein the ListView.You get value
0for domain because you did not define a default value forsitein yourdataSourceso being a number the default value is0and it is not important the fact that there is no0in the list of values that you provide (there is no such validation). So you should have it as:Where I set
defaultValueforsiteto1(first value in the list).Your code modified here: http://dojo.telerik.com/@OnaBai/Ihab