Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:807521
More Search Options
RSS Available
Matching Posts
Re: Hosting a virtual directory under MVC
I am having this issue. I am trying to install the time tracking starter on a virtual directory with a MVC app on the root. I have called the virtual directory Time. Below is the web.config from the time app <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <connectionStrings> <add name="aspnet_staterKits_TimeTracker" connectionString="Server=208.78.24.53,14333;Database=databaseName;Uid=jamiejon;Password
Posted to
ASP.NET MVC
(Forum)
by
jamie-jones
on 10/30/2009
Re: MVC Entity framework selectionlist updatemodel
Thanks for the suggestions, I have tried them with still no joy. I have debugged and the collection contains - collection.ToValueProvider() Count = 2 + [0] {[ProjectID, System.Web.Mvc.ValueProviderResult]} System.Collections.Generic.KeyValuePair<string,System.Web.Mvc.ValueProviderResult> + [1] {[name, System.Web.Mvc.ValueProviderResult]} System.Collections.Generic.KeyValuePair<string,System.Web.Mvc.ValueProviderResult> with correct values which looks promising. The thing is my Task object
Posted to
ASP.NET MVC
(Forum)
by
jamie-jones
on 2/26/2009
Re: MVC Entity framework selectionlist updatemodel
Hi If I reverse them the projectids are shown in the dropdown and not the project name as I would like. I will still try reversing them to see if it works. Thanks for the reply.
Posted to
ASP.NET MVC
(Forum)
by
jamie-jones
on 2/26/2009
Re: MVC Entity framework selectionlist updatemodel
Hi, Thanks for the reply. I have tried: public ActionResult Create() { ViewData["projectID"] = new SelectList(toDoManager.ProjectSet.ToList(), "id","name"); return View(); } // // POST: /ToDoList/Create [AcceptVerbs(HttpVerbs.Post)] public ActionResult Create(FormCollection collection) { var taskToAdd = new Task(); TryUpdateModel(taskToAdd, new[] { "name", "projectID" }, collection.ToValueProvider()); if (string.IsNullOrEmpty(taskToAdd.name)) ModelState
Posted to
ASP.NET MVC
(Forum)
by
jamie-jones
on 2/26/2009
MVC Entity framework selectionlist updatemodel
Hi, I have been searching with no answers to a problem that has had me stuck all day. I am new to the MVC and entity frameworks so forgive my ignorance. I have the following tables Project(id, name) and Task(id, name, projectId) and using the entity framework dragged them on to the creator to generate the model. My issue is with creating a new task. Controller public ActionResult Create() { ViewData["Project"] = new SelectList(toDoManager.ProjectSet.ToList(), "id", "name"
Posted to
ASP.NET MVC
(Forum)
by
jamie-jones
on 2/25/2009
Re: Programatically create a content page from a masterpage
Thanks for the replies. I have looked a DNN but it seems to be written in some sort of VB :) It is not really a serious project just me messing around with .net a bit. The idea of one page is a good one, I have already written a VirtualPathProvider but i could use the one page, set the master page and get all the contentplaceholders from it and an add content panels to the page then save it as a virtual file. Seems easier than writting out all the header and tags etc myself. I'll give it a go
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jamie-jones
on 11/7/2008
Programatically create a content page from a masterpage
What I want to achieve is to have a masterpage as a template with contentplace holders. The reason is to create a cms, so it will be a virtualfile. What I want to know is, is there a way to create a content page from a masterpage programatically or do i need to get all the placeholder controls in the master page and write the matching content controls out myself? Thanks
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jamie-jones
on 11/6/2008
Re: VirtualFile Masterpage
I forgot to include, I was wondering on peoples thoughts/hints on creating something like sitefinitys page editior, with dragable content sections. Should i be looking at webparts and contentplaceholders in the master pages?
Posted to
Web Forms
(Forum)
by
jamie-jones
on 11/2/2008
VirtualFile Masterpage
Hi, I am developing a central cms and I have implemented a custom VirtualPathProvider which is working fine for the sites. I am not working on the content editing. I am going to use master pages for the templates. What i want to know is do I have to parse the VirtualFile content myself to find the masterpage used and change it? Any hints would be good. Thanks
Posted to
Web Forms
(Forum)
by
jamie-jones
on 11/2/2008
Re: Binding a checkboxlist to custom business objects and get the selected obejcts
Thanks, this is the way I'm doing it.
Posted to
Getting Started
(Forum)
by
jamie-jones
on 6/15/2008
Page 1 of 2 (11 items) 1
2
Next >
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online