InfoPath new document - infopath

I'm trying to experiment with InfoPath, but I can't even create a new document. This is what the new dialog looks like.
Weird?

There are two different programs: InfoPath Designer and InfoPath Filler. You appear to have opened InfoPath Filler. You will need Designer to create your own forms.

Related

New ASP.NET programmer - how do you maintain existing Visual Studio auto generated code in ASP.NET?

Gridview and detailsview app: the select statements, aspx.cs codes, etc of the old program were auto generated from Visual Studio wizard. Now, they are asking to add another column to the select statement and a drop down box for this column in the existing detailsview. How do I update it?
By manually typing and inserting the new code to the existing files, or by using the Visual Studio wizard to re-generate the old code with new requirements? Will I lose the old author initials and comments because it will auto-regenerate all code?
You now have a choice, do you want to code the HTML pages or stick to drag and dropping control.
For consideration, you cannot drag and drop javascript code and certainly cannot use drag and drop control to create MVC's View.
Or your real question is how to put drop down on gridview ? See here

Render PDF snapshot of ASP.Net MVC Bootstrap 3 printable view

I have a view/page with a form on it which is rendered using
ASP.Net MVC 4.5.1 and Razor
Bootstrap 3
I would like to be able to render a pdf snapshot of the printable view of the page as soon as the user submits the form, and save the pdf snapshot to the server for auditing purposes.
At the very least, if PDF is not possible, I should be able to render an html view, using the data that has just been submitted, and save it to disk (in .html format, for instance).
Any ideas on how I can achieve this?
Rotativa is pretty easy to use for creating a PDF view of what you want. It can be designed as a view on its on which you can access through any other view by creating an #Html.ActionLink.

InfoPath 2013 - Individual Default View for Create, Edit, and Delete

In InfoPath 2010 there was a trivial manner to set the view called for an item based on the function desired, e.g. a separate view could be made for create, edit, and display and set as the default.
See here:
http://chanakyajayabalan.wordpress.com/2013/06/20/individual-newedit-and-display-forms-for-sharepoint-using-infopath-forms/
I cannot however find the equivalent for InfoPath 2013, nor am I able to locate the corresponding element via SharePoint Designer.
It also would appear that you cannot append the view to the URL in order to directly call a view.
Creating a rule for Form Load that detects some attribute of the call, and sets the view accordingly seems like another option, but I'm just not certain how to access the appropriate identifier.
Final resort would be to do away with the InfoPath form, and create/modify pages via Designer, but would rather avoid this if possible.
Found the way around this is edit the page in SharePoint. You can't do it in SharePoint designer anymore.
Create your views in Infopath then publish. After for the form you want to change the view on, IE create new item or edit item. Once there choose edit page from the settings menu, then modify the Infopath web part to use the the view you want.
This will work for additional forms as well if you want to add custom actions to the list.

Excel Sheet in web page ? Asp.net

In web application, can we display the excel sheet in web page [asp.net web page], is they any way to display rather tahn grid view, i tried in gridview but it is not displaying in a good format, can you please sujest me, how to display the excel sheet in web page.
i tried in gridview but it is not displaying in a good format
You should have to learn and experience the power of cascade style sheet.
You may use DataList, ListView, Repeator or you may construct your own control to display data on web-page.
If you are looking for an ASP.NET control which works similar to Excel then try using these answers.
Excel like server side control for ASP.NET
http://www.componentart.com

printing a view page in asp net mvc2

I'm developing an ASP.Net MVC2 project. What I need is that I want to print the view when user clicks a link.
You could use Javascript on a link
Print
In combination with the answer from #M.Shuwaiee you can also take advantage of creating a style sheet specifically for the printer so your view can render more accurately for a paper layout.
http://www.webcredible.co.uk/user-friendly-resources/css/print-stylesheet.shtml has some information on this.

Resources