Search

You searched for the word(s): userid:705737

Matching Posts

  • Re: MVC1.0 Databind dropdownlist one-to-many

    How do you accomplish the following; IN ASP.NET MVC, USING ENTITY FRAMEWORK, LINQ TO ENTITIES, How do you achieve a VIEW PAGE that displays an inner join query? Of course on the Index() and Details() method I just want a list view, no selectlist or dropdowns, BUT on the Edit() methods, I do need a dropdown so they can modify the foreign key that points to the master record. select c.customerid, c.companyname, o.orderid, o.orderdate from customers c inner join orders o on c.customerid = o.customerid
    Posted to ASP.NET MVC (Forum) by dr43058 on 12/31/2009
    Filed under: MVC - bind custom class
  • MVC1.0 Databind dropdownlist one-to-many

    How do you accomplish a basic one-to-many join in an Index method in MVC? I woul like the join column values to appear in a dropdownlist on the view side? Can anyone help? Will the following work on the code-behind side? public ActionResult Index() { ViewData["Jobs"] = _jte.Jobs.Include("JobTypes").ToList(); return View(); //return View(_jte.Jobs.Include("JobTypes").ToList()); //return View(_jte.Jobs.ToList()); }
    Posted to ASP.NET MVC (Forum) by dr43058 on 12/28/2009
    Filed under: mvc - databind one-to-many
  • Re: MVC1.0 Databind dropdownlist one-to-many

    using System; using System.Linq; using System.Web.Mvc; using JobTracker.Models; namespace JobTracker.Controllers { public class JobsController : Controller { private JobTrackerEntities _jte = new JobTrackerEntities(); // // GET: /Jobs/ public ActionResult Index() { ViewData["Jobs"] = _jte.Jobs.Include("JobTypes").ToList(); return View(); //return View(_jte.Jobs.Include("JobTypes").ToList()); //return View(_jte.Jobs.ToList()); } // // GET: /Jobs/Details/5 public ActionResult
    Posted to ASP.NET MVC (Forum) by dr43058 on 12/28/2009
    Filed under: mvc - databind one-to-many
  • Re: Context-sensitive help VS2008

    Thanks for your help. I was able to uninstall Preview 5 and get MVC1.0 running. Just started from scratch. Thanks again, DR
    Posted to Visual Studio 2008 (Forum) by dr43058 on 12/28/2009
  • HELP WITH MVC1.0

    I started off with a preview 5 mvc app. Now trying to upgrad to mvc1.0. Can anyone help? Finally uninstalled preview5mvc then installed mvc1.0. After successfully upgrading to mvc1.0, I am trying to carefully upgrade individual solutions that were started under preview5. I have successfully updated all 4 references, but System.Web.Mvc is giving me problems. I read somewhere that the futures where contained in this dll. So I downloaded it but I think it is the latest one and it corresponds to mvc2
    Posted to ASP.NET MVC (Forum) by dr43058 on 12/23/2009
    Filed under: MVC 1.0
  • Re: Context-sensitive help VS2008

    Was finally able to un-install preview5 and successfully install mvc1.0. In light of this, has anyone successfully upgraded their preview5 solution to 1.0 ??? Does anyone know how to update the references? System.Web.Mvc and Microsoft.Web.Mvc ??? Here is a picture;
    Posted to Visual Studio 2008 (Forum) by dr43058 on 12/23/2009
  • Context-sensitive help VS2008

    NOT getting context-sensitive help in vs2008 for ASP.NET MVC projects. When right-clicking on index method in homecontroller, I am not getting the add view Dialog window like Walther get's in his video. Does anybody know why. I do have ReSharper installed in my VS08. Is Resharper blocking the context-sensitive help? Also in solution explorer, when I right-click on Controllers, I don't get the Add Controller in the context-sensitive menu, I have to go to the Add New Item Dialog Window and
    Posted to Visual Studio 2008 (Forum) by dr43058 on 12/22/2009
    Filed under: ASP.NET MVC
  • Re: Need help with many2many field template

    I verified that David's sample app does indeed save any updates I make to it. I will look into the code-behind of the manytomany_update.ascx user-control and compare with Dave's in order to find any inconsistencies.
    Posted to ASP.NET Dynamic Data (Forum) by dr43058 on 10/1/2009
  • Re: Need help with many2many field template

    Yes, I am using EF. Let me recap. I have succcessfully implemented Dave Ebbo's ManytoMany field template. It is displaying correctly as excpected. The error occurs when I try to update an attribute field(not a key), that presumably is update-able. Danny R.
    Posted to ASP.NET Dynamic Data (Forum) by dr43058 on 9/24/2009
  • Re: Need help with many2many field template

    Sorry, I tend to mix database concept jargon with the nut's n bolts of DD. This is in connection with a seperate post within in this same forum. Simply put, when I try to update a record(I click 'select' on a record in ListDetails.aspx, then click on 'edit', make my edit to a field and then click 'update' I get the following error message System.Reflection.TargetException was unhandled by user code Message="Non-static method requires a target." Source="mscorlib"
    Posted to ASP.NET Dynamic Data (Forum) by dr43058 on 9/24/2009
Page 1 of 4 (31 items) 1 2 3 4 Next >