View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004570 | NoesisGUI | Studio | public | 2025-11-24 17:38 | 2025-11-24 18:17 |
| Reporter | dstewart | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | Studio_Beta | ||||
| Target Version | Studio_Beta | Fixed in Version | Studio_Beta | ||
| Summary | 0004570: LisBox Items Don't Immediately Populate from Data When Bound Until After Page is Closed and Re-Opened | ||||
| Description | Currently, creating a ListBox Item Template, and assigning Data to the TextBlock contained within, results in the Items of the ListBox not correctly displaying the Data within it until the Page is closed and re-opened. For the ListBoxItem in which the binding is performed, the TextBlock renders blank at the moment of Binding. This persists until the Page is closed and re-opened, demonstrating that the bindings were correct, jut not rendering. See attached video. Repro Steps: 1) Create a Studio Project featuring a MainPage.xaml 2) From the Data Panel, create a DataStructure named "MyStructure", containing a DataProperty of name "MyString", of type 'String', and set to be served as a 'Single'. 3) From the Data Panel, create a second DataStructure named "MyViewModel" containing a DataProperty of name "MyCollection" and of type "MyStructure" (referencing the Structure created in Step 2), and set to be served as a 'Collection'. 4) From the Data Panel, create a Data Set called "MyDataSet' from the "MyViewModel" Structure, apply it to the Page, and generate Sample/Random Data for its contents. 5) Introduce a ListBox to the RootGrid of the Page, and set its 'ItemSource' Property to be bound to the "MyCollection" of the Data Context. 6) Right-Click on the ListBox on Stage, and create a new Template for its ListBox Item Template from its Context Menu, saved to the GlobalResources. 7) Inside of the ListBox Item Dummy Editor, select the TextBlock in the Navigator, and in its Properties, adjust its Binding to link to the 'MyString' Data Property of the DataContext. Observe how the previously visible text of the ListBox Item on the Stage disappears when this is performed. 8) Press the 'Home' icon in the upper-left of the ListBox Item Template's Dummy Editor to return to the Page. Observe how the first entry is still blank, and how all other entries are not showing their Data Set values either. 9) Close and re-open MainPage.xaml Observe how now, all items in the ListBox are now showing the correct values from the Data Set. Expected Results: Data Bindings are immediately visible in the page when bound/applied. | ||||
| Attached Files | |||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-24 17:38 | dstewart | New Issue | |
| 2025-11-24 17:38 | dstewart | File Added: 2025-11-24 11-33-14.mp4 | |
| 2025-11-24 18:10 | sfernandez | Assigned To | => sfernandez |
| 2025-11-24 18:10 | sfernandez | Status | new => assigned |
| 2025-11-24 18:10 | sfernandez | Target Version | => Studio_Beta |
| 2025-11-24 18:17 | sfernandez | Status | assigned => resolved |
| 2025-11-24 18:17 | sfernandez | Resolution | open => fixed |
| 2025-11-24 18:17 | sfernandez | Fixed in Version | => Studio_Beta |
| 2025-11-24 18:17 | sfernandez | Note Added: 0011461 |