I need the menu items on the master page to change dynamically, i.e. different menu items on master page on different detail pages ? How can we achieve this .
Say on login page I have two menu items , after login I get a master page with four menu items.
If you mean listing the items with different template you can use ListView with TemplateSelector. If you want to use different page template you can use ContentPage or TemplatedPage for both Master and Detail side with setting te property ControlTemplate
Related
Is there a way to add a new button to ALL PAGES in CRM?
I have tried different ways but in some views, the new button is shown at the end. Im trying to found a way to create a button and place it as first button, to any view, entity and page in CRM. Is this accomplisable?
I'm afraid that out-of-the-box buttons will often take precedence over custom buttons, and the only way to change that would be to hide the out-of-the-box buttons.
I'm assuming you are adding the button via the Application Ribbon, correct? (not every single form and grid)
You can add items to the "Jewel", (the dropdown from "File" in the top left). It's not exactly the same as putting it in the ribbon because you have to make an extra click, but it should show up globally.
We have 5 pages in our website with below fixed menu.
HOME | MENU1 | MENU2
| SUBMENU1.1 | SUBMENU2.1
| SUBMENU2.2
I have captured UIMap of Homepage and am able to navigate to any of the page from Homepage. But how do i click on menu Items when I am not on Homepage. I don't want to capture UIMaps of Menu for everypage.
Solution:
Taking a hint from yonitdm's suggestion below I created a separate UIMap having navigation menu items only. In that UImap I stripped all the search/filter properties from all controls having Window Title and other non common properties. So now i have a generic UIMap of navigation menu working for all pages.
Compare the menu from the homepage to one of the other pages and see what the difference is. Strip that out of the properties list in the UIMap and you'll have generic menu items.
Places to look: Window Titles, Control definition, href. Make sure to check both the filter properties and the search properties.
You can test this on a few pages by using "locate control" in the UImap to make sure coded ui can still find the menu items.
You could try going directly to the hyperlinks by using
NavigateToUrl()
I will start by saying that I am an absolute newbie to web development and to MVC as well.
I want to implement a view for a Subscriber page (part of an MVC4 application dealing with Email marketing). What I want to implement is:
1) When the user clicks the "+ Add a List" button, a new Category should appear on the left and the cursor should blink, meaning it should be ready to receive the name for the category from the user. I also want that whenever the user hovers over any category name on the left, a small bar containing two buttons (edit and delete) should appear which should let the user edit the category name or delete that category. The thing I want is that all of these must happen without reloading the page.
2) When the user clicks the "+ Add Contact" button, a pop up dialog box containing two tabs should appear which lets the user either manually enter the details or upload a CSV to capture the details. Whenever the user clicks the "Add Contact" button or "Upload and Add Contacts" in the pop up dialog box, I want the new contacts to display in the contact list region shown in the picture (once again, without reloading the page). I also want the same hover bar for the contacts too (same as categories).
I am confused as to how to implement this in a Razor view? What do I use - JavaScript/jQuery/AJAX?
I am pretty much lost. Can someone please guide me a little bit so that I can continue and finish my first MVC4 project?
You need some javascript libraries like jQuery UI or maybe Kendo UI, I'd recommend to use jQuery UI at this time. they have many widgets but look at these. and keep in mind that a cshtml view can be look upon like a html page, you can have all tags, css and javascript you want there:
http://jqueryui.com/dialog/
http://jqueryui.com/tabs/
http://jqueryui.com/
I have NEWS, EVENTS and other list items which i want to show in tabbed interface..and also want next and previous buttons to navigate list items on each tab. how to achieve this.
use Easytabs
for the Tabs, the selection has to be made by Jquery and the client Object model by hand, I sugges
Lars
I have a Tab Control on a Winform. I want to add another page but I want it to appear between the current page 1 and page 2, basically I want to insert it. How can I do this?
If you are looking to do this from the deseigner:
Under the TabControl Properties,
select TabPages. This will bring up
the tab pages dialog.
Click the Add button. Should add a
new tab page at the end.
Use the arrows to move the page to
the position required.
If you wish to do this from code:
Have a look at TabControl.TabPages.Insert
Inserts a tab page into the collection
at the specified index.