Need some help in the right direction please

4 posts, 0 answers
  1. john
    john avatar
    4 posts
    Member since:
    Sep 2008

    Posted 28 May 2015 Link to this post

    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.

  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 02 Jun 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. john
    john avatar
    4 posts
    Member since:
    Sep 2008

    Posted 02 Jun 2015 in reply to Martin Link to this post

    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.
  5. John
    John avatar
    8 posts
    Member since:
    Feb 2012

    Posted 03 Jun 2015 in reply to Martin Link to this post

    Thanks for the information.  I now have a direction to proceed with.
Back to Top