SHAREPOINT 2007
I've created a customer site column. When the user creates a webparts page the column must be populated.
What I want to do is have the value of this column automatically appear on the web page.
This should not be that hard.....
If you are using the out of the box input form, for them to fill in the data, the column will show up there automatically. If you are referring to a list view that is already on a page, you will need to edit the page, modify the webpart settings and customize the view (or simply pick an existing view that has the column added to it.)
When you put a list on a web part page, the list view format is psuedo copied to the page in that the page will not reflect and changes to the view that existed when it was put on the page, which is why you either have to reselect the default view or else customize the view of the webpart on the page.
Related
I would create a View page that has initially a dropDownBox.
When the user will change the dropDownBox's initial value, the application will create a new dropdownbox with the same values.
How can i make it?
I've a page called Page where I'll add some blocks called a PageBlock. This two are both document types. Under the Page you could create Pageblocks and Pages. Inside my listview on the backoffice, I'll only show the Pages. In the content three, I'll only show the Pages.
How could I do that?
I've tried to find a filter but nothing found and I wouldn't write a plugin. I'm using Umbraco 7.6
Update: I know how to create an listview but how could I make a filter to show only the childeren of one document type?
I don't know if I understand the question correctly, but I think what you want to do is set the permission of Pages to allow Pageblocks as its children (On the permissions tab of Pages)
Now if you want to display the children of Pages as a listview go to List view (top right) of Pages and enable Yes - Enable list view
If you want to both be able to view children in the tree and in a listview, you can leave the above option unchecked and add a List View property to the Pages documenttype (as displayed in your screenshot)
I am using MVC 5 and I have the following situation:
I have a drop down list on a view that changes the child view that is displayed based on the selection in the list. This needs to change on the onchange or similar event. The selections in the list are populated from a database and has the following properties:
Link ID - Int (to be used as a value for the selection (must be saved on the main view)
Link Text - What is to be displayed in the drop down list.
LinK URL - The address of the child view action (made up of different areas, controllers, and actions)
In essence, when the list changes, it must call the URL (passing the model) and return the content to a targeted placeholder div on the page
Any Ideas on where to get started on this one?
We were able to get this working using ajax to call the child view. Thanks for the pointers.
I am new to MVC 3. I have a page (for eg: "Master Page") where I have some dropdown boxes to select values and click on "Go" button (type = "Button"). Based on the selection, I am filing a grid. One of the columns in the grid will have hyperlink. Upon clicking the hyperlink, opens another page (for eg: "details Page") to display other details. Now if the user click on browser back button, the values in the controls of "Master Page" is empty. How to retain the values in the dropdown boxes and grid on "Master Page".
You're relying on behavior of the browser. Some browsers can keep this data, others don't. So it's up to programmer decide where the data must be stored. In common cases you can use the following approaches:
If you make a wizard, just make some div's hidden (you will keep wizard's steps in there), and make your own next/back buttons inside of your wizard. When the user tries to go back and next, he won't go to another page, but will switch between steps via JavaScript inside of one page (all data will be kept).
You can do the same, but keeping your data on the server. In this case, by clicking on the button, your data will be kept in the database. And will be reloaded again when the user goes back.
You can manually save data to cookies. It's okay if you have small amounts of data to be kept.
I've got a big ViewModel for a ContactViewModel with several addresses (default, invoice, delivery). This ContactViewModel I would like to edit within a DefaultAddress tab, etc. and I would like to know how to handle this without JavaScript? Is this possible?
Tell me if I'm off base here;
The way i think i'd approach this is to create a partial view which takes a list. the partial view would itterate through the list and create another partial view which is the tab.
on click of the tab i'd do a postback and store the clicked tab. this id then becomes the active tab.
when i come back to rebuild my page, the partialview for the actual tab would need to check to see if it's active and then make itself visible. if not visible then simply render nothing maybe.
This can be done with CSS. Here is an example: http://www.alistapart.com/articles/slidingdoors/
The selected tab/view will need to be rendered on the server. I can see each tab being a link, when the link is clicked the correct view and selected tab is returned.
Some of the css tabs don't work correctly in IE6. I'm not sure if the above link is one of them.