I'm having a weird behavior to my messagebox
here is the code
sender, System.Windows.Input.GestureEventArgs e)
id = (
MobileServiceCollection<rating, rating> items;
IMobileServiceTable<rating> itemTable = App.MobileService.GetTable<rating>();
items = await itemTable
.Where(Table => Table.userid == userId)
i = 0; i < items.Count; i++)
(items[i].itemid == id)
"You already giving your rating."
i = items.Count;
"Is this information accurate?"
, closedHandler: (args) =>
buttonIndex = args.ButtonIndex;
(buttonIndex == 0)
(buttonIndex == 1)
so what my code above do is i trigger that rate_tap from my listbox that already contain image, and each time i tap it , it suppose to check to my windows azure server and check if there is itemid that equal to id then i will show messagebox saying i already rate it and if there isn't any itemid that equal to id then it will execute radmessagebox.
but it's not working that way, when it check there is itemid that equal to id, it show messagebox and after that it show the radmessagebox... it weird... so where the wrong part?