How to use mvcContrib template gallery for asp.net mvc? - asp.net

Has any one ever downloaded and made use of the mvcContrib template gallery for asp.net mvc. I cant find where to download the templates from and there is no documentation for how to use it?

You can download the templates from the source tab on codeplex from here.
Each template has a folder and each folder has a zip file containing the masterpage the css and and images needed.

Related

.Net Changing page locations in Visual Studio Solution Exp

I have a .Net web project. I want to organize my solution explorer and my pages. Because there are 4 type of users and there are many pages. I want to create folders and keep some of the files in them. I've moved the page files into folders but app does not work. So what should i do?
You need to change the Page Title at the very beginning of your web page accordingly. What used to be Inherits="Myproject.MyWebPage" is now Inherits="Myproject.MyFolder.MyWebPage"
Also, aspx files have a Mypage.aspx.designer.cs file underneath and its namespace is namespace Mypage{ but it now should be namespace Myfolder.Mypage{ that's why your code behind has red lines because it can't verify your aspx page via the designer file.

MvcSiteMapProvider is using ascx

I have donwloaded the Nuget package, MvcSiteMapProvider.
In one project it only downloaded the razor views. In my other, I have both the Razor and ascx files. Also in that project it is default to using the ascx. I want it to use the razor pages instead. Does anyone know how to switch this.
When the NuGet package detects no files with a .aspx extension in your project or detects any files with a .cshtml or a .vbhtml extension, it will install the .cshtml templates. Unfortunately, there is no reasonable default when both .aspx and .cshtml extensions are detected or no files with the above extensions are detected, so this is a "best guess".
To install the Razor templates, you just need to delete the .ascx templates and copy the .cshtml templates from here.

Add asp Code to DNN Page?

I am very new to DotNetNuke. I did some development separately in Visual Studio. I just want to copy over the grid view code that I created onto an existing DNN page. When I used WordPress I simply got a PHP plug-in so that it could read the code when I added it to a page.
check out these templates to get you started building modules:
https://christoctemplate.codeplex.com/

TinyMCE editor with file upload capability for ASP.Net MVC4

I need to have Editor with file upload capability.this question suggest some choices but none of them sounds appropriate.and this one is for Asp.net MVC2 while I'm working with ASP.Net MVC4.
Why dont you use CKEditor, and CKfinder for file upload ? CKFinder is paid, but you could find few free alternatives for Ckfinder.
pdwfilebrowser is free, and works well with TinyMCE or Ckeditor. You could find more free upload plugins for both.
http://sourceforge.net/projects/pdwfilebrowser/

Adding 2 simple aspx pages to Sharepoint Site Definition

I am working on a sharepoint website which is built upon a Site Definition in visual studio.
All i would like to do is simply add 2 aspx pages to this Site Definition. Kindly reply how can i accomplish this.
Do i add new aspx files under Site Template folder or add a new Feature perhaps? so that when i deploy my solution (.wsp) the two aspx pages appear on the site.
I suggest you create a module feature, add the two .aspx pages to the feature and then add this feature to the site definition.
Maybe also helpful: How to: Provision a File

Resources