This is a migrated thread and some comments may be shown as answers.

Need some help in the right direction please

3 Answers 48 Views
TileView
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 28 May 2015, 11:45 PM

I have been going over the TileView control in the examples and this is what I need.  I am trying to create a project that needs to have that Windows 8.1 feel and the tiles are a great way for this program to look like this.  I would like to set up my program to start with a login, then when approved, display the tiles for the steps that need to be done to gather the data.  Each tile will represent a single page on a nine page report that will require data to be input.  The report looks like the spreadsheet control.  When all the data has been entered and validated, the users could shrink the tile or just open the next one.  If the data is complete and validated then I would like an icon in the tile header to indicate that page of the report is done and validated.  Once all the data is entered and validated, I would then save the data to a local text file that would be processed when the program goes online. 

Any help is appreciated.

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 02 Jun 2015, 07:45 AM
Hello John,

Please, keep in mind some of your requirements are application logic that depends on your scenario. This is why I can only give you suggestions that you can use a reference for your implementation.

Let me split your requirement in few parts:
  • I would like to set up my program to start with a login, then when approved, display the tiles for the steps that need to be done to gather the data.  Each tile will represent a single page on a nine page report that will require data to be input.  The report looks like the spreadsheet control
    You can define the TileView control and the template for its items in your application and when you press the "login" button (or whatever action logs in the user) you can populate the tileview's ItemsSource with the business objects that contain the information about the reports. Also, you can define different templates for your tiles based on their State. You can do that by using the RadFluidContentControl. In addition, the Use the Fluid Content Control help article could be helpful.
  • When all the data has been entered and validated, the users could shrink the tile or just open the next one.
    You can do that by using the RadTileViewItems'  Maximize/Restore button which is placed at the top right corner of the item's header.
  • If the data is complete and validated then I would like an icon in the tile header to indicate that page of the report is done and validated.
    I can suggest you couple approaches for achieving this - the first one is to declare the icon in the HeaderTemplate of the RadTileViewItem and bind its Visibility or image source (or to whatever is displayed) to a property in your view model that indicates if the tile's content is valid. The second approach includes modifying of the tileview item's template and adding the indicator there. The approach is similar to the one demonstrated in the Add a Close Button to a RadTileViewItem help article, but instead of a button you can add the icon indicator.
  • Once all the data is entered and validated, I would then save the data to a local text file that would be processed when the program goes online. 
    You can save the data in the file when you validate the data in your view model and then process and load it in the control when you start the application.

I hope this information is helpful.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
john
Top achievements
Rank 1
answered on 02 Jun 2015, 02:40 PM
Thank you Martin.  This information is most valuable and a help in the right direction for me.  This give me the information needed to continue forward.
0
John
Top achievements
Rank 1
answered on 03 Jun 2015, 09:20 PM
Thanks for the information.  I now have a direction to proceed with.
Tags
TileView
Asked by
john
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
john
Top achievements
Rank 1
John
Top achievements
Rank 1
Share this question
or