Read only view using sharepoint designer 2010 - sharepoint-2010

I have to create a read only view using SharePoint Designer 2010.
When user submits the form it has to switch to that read only view.
Could some one suggest as to how to make the view read only and also to switch between views using SharePoint Designer 2010.
Thank You

You can create the form in infopath and create same views of your form:
http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
and activate the version control in the list
http://www.youtube.com/watch?v=HUDRfhcL18U

Related

Custom Windows workflows with inforpath task forms-Switching Multiple views in same form

I am customizing a developed windows workflow by adding more views to the task form. And in Workflow.xml there are task forms defined as "Task0_FormURN,Task1_FormURN,Task2_FormURN,Task3_FormURN,Task4_FormURN,Task5_FormURN" (Tags were Removed here). And each of these forms works fine with current workflow.
But when I add a new view and increment the form as "Task6_FormURN" in workflow xml and set the "TaskType" property as "6" in the code behind of the workflowproperies it only shows the default view. The currently added view is not shown as the next form rather it shows the default view.
I already published and deployed the inforpath form and it is correctly updated in the central administration inforpath templates folder as well.I used Sharepoint 2007, Visual Studio 2008,Inforpath 2007.
Is there any configuration to be done in the Inforpath form to view the newly added view?
How can I get the connection between workflow and Inforpath view other than these?
Great Help Friends.
This can be done via a Rule. The Rule can be specified in the inforpath form Options section.
Form Options -> Open and Save ->Rules Section you can Define a rule to Switch Views depending on the TaskType.
Hope this will help you.

Custom ASPX Form whats the better way

I have developed a portal using SharePoint 2010 (Standard Edition). I want to develop a Master-Detail "Requisition" form using Visual Studio 2010. I don't want users to access the List and click on "Add New" to access the form. I want to create a link on portal's homepage like "Requisition Form" when user will click on the link it should open the form right there.
Should I create a Visual WebPart ..then create new page and embed the webpart there? or should I develop WebPart Page..I've never done webpart page so what's the better approach? and to Edit the page do I need to create another Visual part with Gridview control and fill currently logged in user's Requisitions including Item ID and pass it on to MyCustomRequisitionEditForm.aspx ?
Please advise.
Why don't you customize standard new form of the list with Sharepoint Designer or InfoPath? You can create a link to this form on the homepage of your portal.

Insert javascript code in a list form.

I have a list, and want to insert custom javascript code in a new form for this list (when form loaded). For example, when new form for this list is opened, I want to make some layout modifications for this form.
How it can be done? And how many ways exist to achieve this?
Thanks.
Upd: I ask about SharePoint list, and SharePoint list forms, I suppose you look at the tags of the question :).
You put tags for both SharePoint 2007 and 2010 and the methods are a bit different.
I agree with the previous post that with SP2010 you can simply use InfoPath designer for form design and do whatever you like to the look.
In SharePoint 2007, there are a couple ways incuding using SharePoint Designer, editing the form .aspx file, hiding the out of the box form and inserting a custom form which you will then be able to edit. You can also add in JavaScript code there as well.
My preferred method if you are just making some visual modifications is always JQuery which you can add in to a content editor and you can look for the particular tags surrounding rows or columns and attach to them and make your changes.
I think your question and tags need further clarification to get an articulate answer from anyone that will actually help you.
You can edit the layout using InfoPath 2010 like described here:
http://office.microsoft.com/en-us/sharepoint-designer-help/edit-list-forms-using-infopath-2010-in-sharepoint-designer-HA101631624.aspx
If you've got the SP2010 Foundation or SP2007 version, you can create custom list forms using SP Designer which gives you the option to do whatever you like since those are .aspx files.
http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-custom-list-form-HA010119111.aspx
You can also edit the aspx List form in SP designer. To add Javascript or jQuery you should create a form for New in PS design then edit in Advanced mode to insert your Javascript in the proper place. There are many tutorials on the Web that talk about this... Also, you can add content editor webparts to the new aspx page where you can insert your Javascript or jQuery.

Navigation bar and Menu in sharepoint 2010

I have a custom Mega drop down Menu need to brand it on sharepoint 2010 am I obliged to override the specific CSS of sharepoint menu or there is another solution if there is anaother one how can i do it cause the menu that i need is so complicated. thanks in advance please guys some help is needed here :)
Drop downs in list forms (choice or lookup fields) can be customized using InfoPath designer. In Aspx pages, masterpages and web parts, the drop down lists are normal ASP.NET DropDownList controls and can be customized via css classes as usual.

SharePoint Designer 2010 List Forms

Are SharePoint 2010 Designer List Forms portable or custom rendering templates still the best way to customize the List Forms? InfoPath 2010 is out of question because of enterprise licensing issues.
Regards,
Nitin
It depends on the extent of your customization. You can achieve quiate a lot with the standard DataFromWebPart and custom XSLT but if you want to add custom controls you'll run into problems (as highlighted here http://www.chaholl.com/archive/2010/01/26/extending-the-dataform-web-part-to-allow-custom-field-controls.aspx).
For extensive customization the best bet is to create a custom webpart and include it on the edit form. Bear in mind that field controls automatically pick up and update content from the SPContext object so calling SPContext.Current.Listitem.Update() is enough to save the values of all field controls in your custom webpart. Of course if you're using standard asp.net control on there as well you'll need to pickup and set their values manually.