Search

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

Matching Posts

  • Re: SelectList returns as null in DropDownList

    Problem solved. The issue turned out to be the same as the one given here. http://forums.asp.net/p/1329660/2663838.aspx
    Posted to ASP.NET MVC (Forum) by HMobius on 2/12/2009
  • SelectList returns as null in DropDownList

    Hello, I'm having problems using the Html.DropDownList helper on a MVC RC1 form. In the controller class, I create a SelectList like this SelectList selectList = new SelectList(db.SiteAreas, "AreaId", "AreaName"); ViewData["AreaId"] = selectList; or like this IEnumerable areaList = from area in db.SiteAreas select new SelectListItem { Text = area.AreaName, Value = area.AreaId.ToString(), Selected = false }; ViewData["AreaId"] = areaList; and then add it
    Posted to ASP.NET MVC (Forum) by HMobius on 2/12/2009
    Filed under: asp net mvc, asp asp.net mvc null viewdata, ASP.NET MVC RC1, "ASP.NET MVC"
  • Re: Have some input into "Programming ASP.NET 4.0"

    OK, and time. I'll try my darnedest to get VB code into the book as well as C#. Who knows, there might even be some IronRuby or IronPython in there if there is time. Anything else?
    Posted to Free For All (Forum) by HMobius on 12/3/2008
  • Have some input into "Programming ASP.NET 4.0"

    With the .NET 3.5 cycle out of the way and ASP.NET 4.0 on the horizon, it's time to try and figure out a way to incorporate the many new features and techniques that have emerged \ been released into the next editions of ASP.NET books. So then, what would you put in 'Programming ASP.NET 4.0' and what would you NOT put in it? Books are supposed to be for the programming community so here's your chance to have your say.
    Posted to Free For All (Forum) by HMobius on 12/1/2008
    Filed under: asp.net 4.0, books
  • Re: Folder-scoped resource files?

    Hi Vivek, As I said above, App_GlobalResources doesn't make logical sense. Each folder is a different client's web site so having one file to rule them all doesn't work and would also reboot all the sites when any of the resources was changed. dan
    Posted to Localization (Forum) by HMobius on 7/28/2008
  • Folder-scoped resource files?

    Hi there, I'm just starting to look at localization and was wondering if there is a way to create a middle ground between app_globalresources and app_localresources where you can create a set of resouce files that are scoped to the all the pages in a folder rather than all the pages in a site or a single page. The web app I'm looking to introduce dynamically generates clients (reporting) websites under a single folder within the one web application. It's not feasible to continually add
    Posted to Localization (Forum) by HMobius on 7/28/2008
    Filed under: App_LocalResources App_GlobalResources
  • Re: Inconsistencies in ASP.NET dealing with dynamically changing control tree

    Actually I'm using VS2008 and ASP.NET 3.5. Yes, disabling ViewState on the page means that the error doesn't occur, but I'm still a little lost on why the error does not occur when switching from control #1 to control ~2 but not the other way around.
    Posted to Web Forms (Forum) by HMobius on 6/9/2008
  • Re: CS0436 problems with WDP 2008

    I'm guessing it is the Web Deploymnet Project that we are using in our Release build.
    Posted to VS Web Deployment Projects (Forum) by HMobius on 6/6/2008
  • Re: CS0436 problems with WDP 2008

    Ah-ha, I have found the solution. The whole site is a Web Application Project rather than a Web Site project. It also has an App_Code folder. It appears that what is happening is that the WAP is acting like a website and compiling App_Code into its own DLL as well as into a DLL for all the code in the WAP, hence the two conflicting versions of the class. The solution is to rename my App_Code folder to something else and then the errors disappear. The question remains however why the build server
    Posted to VS Web Deployment Projects (Forum) by HMobius on 6/6/2008
  • Re: Inconsistencies in ASP.NET dealing with dynamically changing control tree

    @Ravi: err, That doesn't actually answer my question The Placeholder control doesn't have a Count property, so your change doesn't compile.
    Posted to Web Forms (Forum) by HMobius on 6/5/2008
Page 1 of 4 (40 items) 1 2 3 4 Next >