I created a project and on the first preview it's showing blank screen, a simple project, with no codes, only this steps in sequence:
I only add two Form Panels, named them, created add two buttons on mainPanel, and them created NavigationView and linked mainPanel on MainNav (NavigationView).
Here my project on Deposit Files to Download
Related
We have an MVC web application, and recently we migrated from Microsoft ReportViewer from 11.0.0.0 to 15.0.0.0 version.
We started having different issues in terms of UI, one of which is mentioned as below.
When we run the report from SSRS (SQL Server 2016), and click on the plus icon used to open the sub record (inner record), the vertical scroll bar maintains position and we can see the data clearly, as shown in below image
However, when the same report is run from MVC web application, using ReportViewer control, when we click on the plus button the scrollbar scrolls to the expanded icon and it does not gives good look and feel to end user. Sometimes the scroll even hide half of the current record. E.g. below is the screenshot when we run report from MVC web application using ReportViewer control. 1st image shows before clicking on the plus icon, and 2nd image shows after clicking on the plus icon.
Image-1
Image-2
Has anyone come across such situation? How can I avoid such scrolling on opening a sub record ?
Following is code I have used in .aspx file of which uses ReportViewer control
I just created a brand new Asp.net Core Web Application (MVC) to reproduce a problem I have with another project.
When I try adding a view from the controller's action menu (right click > add a view) it creates a view within the Controller's folder instead of creating a new subfolder in the Views folder, naming it and placing the created view inside it.
My dotnet version is 3.1.401 and I am on Microsoft Visual Studio Community 2019 Version 16.7.2.
See underneath, the "index.cshtml" placed within the Controller folder. I am expecting a "Test" subfolder created in the Views folder and that "index.cshtml" view placed in it.
-- update :
The image underneath is to show where the view created from the controller's action menu (right click > add a view) ends up... Another precision, after I have created the folder manually and placed one view into it, any further views created with (right click > add a view) end up in the right folder automatically.
When you click the "Add View..." option to add view, perhaps you are select the "Razor View - Empty" template, screenshot as below:
After clicking the Add button, it will add a View page in the Controller folder.
To add a new view page in the subfolder under the Views folder, you could select the second item ("Razor View"):
Then, enter the view name and select model template:
After clicking the Add button, the view will add in the Views folder:
You are doing it in wrong way. In order to create a view for the specific Controller action you should go to you controller, put cursor in the name of desired action and click right button of a mouse. Then you will have an option to create a View for this action by clicking to Add View.
Look image below:
I know that an application template comes with default 'Main Menu' items already existing and attached.
But if this default 'Main Menu' structure was deleted then how to re-add main menu items to the application? Simply adding fresh menu items tree to XIB and connecting it to the application's window 'menu' outlet using the visual connector does not make these menu items to appear in the application main menu - application menu bar still stays empty.
What is the right way to add menu to application?
Background:
My project uses the "Master Detail" project from Xamarin.Forms, so it comes equipped with the hamburger menu button in the top left which is supposed to be the main source of navigation throughout the app. However, my app requires the user to go through multiple of those screens without the use of the hamburger menu. But when a user uses my own buttons to change the detail, the hamburger menu still says the user is on the previous page.
For example, a user is on Page A. They click a button outside of the menu which sends them to Page B. The menu will still show Page A.
My Attempt:
I really didn't know where to start, so I tried taking the MenuItemType and passing it through the following function:
// This changes the screen without changing the menu and it works.
((MasterDetailPage)Application.Current.MainPage).Detail = new NavigationPage(new PageB());
// This was my attempt to change the menu.
(Application.Current.MainPage as MenuPage).RootPage.NavigateFromMenu((id)MenuItemType.PageB);
But that returned a Null Reference Exception when run.
I've also tried manually calling the list view associated with the hamburger menu and changing the selectedItem property, but that didn't work either. Is there any way to change the selected menu?
For Clarity:
Since StackOverflow won't let me post a video, here's a link to how the app acts. As you can see, I use the Menu to go to the "About" Page. I click a button on the screen which takes me back to the "Browse" Page. However, when I open the menu, it still says "About" is selected. I can't reselect "About" until the menu moves away, meaning I have to reopen "Browse" despite already being on that screen.
What I'm looking for is a function which will automatically change the selected menu item to "Browse" when I press that button on the "About" Page. The app is currently using a Master Detail Page which has the "Detail" component changing from the About Page to the Browse Page. The menu page is a Content Page which came built with the app beforehand.
Following these steps:
Open the Weather app.
Right click
Click on places
See that little item with the + symbol? I want to do something exactly like that, the looks and behaviour.
Assuming you are just trying to get some basic ideas about metro-ui controls and you are on Release Preview.
When you do right click, the control that's being triggered is called App Bar. The "place" button is a App Bar Command. Clicking on the button will take you to another page (HTML or XAML). This page contains a ListView control with GridLayout. You can dynamically change the ListView Template and assign different actions to the itemInvoke event.
Here is a quick tutorial for App Bar and commands:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465309.aspx
Here is a quick tutorial for List View control:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465496.aspx