A reference? Well the only reference I have in a snece is the button OnHold event navigationg to the second page.
User 8442265
Posts
-
Listbox / Button Text update -
Windows Phone 7.5 Listbox / button text update across multiple pagesHey all, I am trying to figure out something simple...maybe.. A very simple 2 xaml page app for windows phone. Page1 has a button with default text.."button"..no biggie OnHold event navigates to second page: this I have...that was easy. Page 2 has a Listbox, with say 3 items..item1, item2 and item3. Here's what I want to do. I select an item, 1 or 2 or 3, and the items name is displayed in the button...updated text...so now the button says item1 , for example. Also...the item selected, selects an object that resides ina folder in the solution.. Lets say I call this folder Resources..and in the folder are text files or png's or whatever.. How would I update the text in the button, that shows the selected item from a different page?
-
Listbox / Button Text updateWell actually I think simpler than that? this is strictly going to be a windows phone application using a couple xaml pages. No windows.exe or anything like that. so no mesenger service either as navigating from one xaml to another in a windows phone app is normal and accepted.
-
Listbox / Button Text updateHey all, I am working on some code for Silverlight / windows phone: I have 2 Xaml pages , Main and Second page: Main page , I have a button. With default text. " button" I have an OnHold event, that navigates to Second.xaml page. On Second.xaml page is a ListBox. With lets say 3 ListBoxItems. item1, item2 and item3. Here's where I am lost. I want to have my selected item() 1 2 or 3, do 2 things: 1. Update the text in the button on the MainPage.xaml. The text says "item1" or whateveritem I selected. 2. The selected item in the listbox also selects an object in a folder. Call this folder resources. and the objects lets say are text or png files or whatever...just something I created outside of the IDE. I wil worry about any OnClick functions or what to do with the objects in the folder later. Its the selection / update upon multiple pages that gets me right now.