Search

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

Matching Posts

  • any difference when put using in different location?

    Any differece for following two ways to put using in different place: using System; using System.Globalization; using System.Windows.Data; namespace Mynamespace{ class myClass{ //..... } } namespace Mynamespace{ using System; using System.Globalization; using System.Windows.Data; class myClass{ //..... } }
    Posted to C# (Forum) by KentZhou on 11/11/2009
  • Dictionary can't find out same key/value existed in it

    I created a fllowing dictionary: Dictionary<IClassA, ClassB> tabs; Then I have an implementation of IClassA, I use following way to instaniate class in a event handler(for example, click on a button): IClassA ca = new MyImplementA{...}; ClassB cb = new ClassB{...}; then add it to dictionary(Logic here is only adding new key/value pair) if (!tabs.ContainsKey(ca)){ tabs.Add(ca, cb); } Problem is: first time click on the button, the key/value is added to the dictionary, when I click the button
    Posted to C# (Forum) by KentZhou on 10/29/2009
  • What "this" means in in a method signature in c#?

    I run into some demo code have a method like: public static void LogBrowser(this object obj){ .... } Here what "this" means?
    Posted to C# (Forum) by KentZhou on 10/15/2009
  • Re: url.action not work on Vista/Windows 2008

    Find out the reason: database connection failed cause Controller action failed.
    Posted to ASP.NET MVC (Forum) by KentZhou on 9/8/2009
  • url.action not work on Vista/Windows 2008

    I have a MVC app that works fine before. but it did not work any more with no change. Pretty confused. My view has follwing hyperlink for data input validation: <span><a href="#" id="validate">Verify Input</a> </span> the validation code is: <script type="text/javascript"> $(function(){ $("#validate").click(function(){ alert("Test 1"); $.post("<%=Url.Action("Verify","MyVerify") %>"
    Posted to ASP.NET MVC (Forum) by KentZhou on 9/5/2009
  • When VS 2010 will be relased offically?

    When VS 2010 will be relased offically? Does it include following component: .NET Ria Service? Data Model tool? MVC framework with template?
    Posted to Visual Studio 2010 Beta 1 (Forum) by KentZhou on 8/12/2009
  • Can I Install vs 2010 with vs 2008/2005/2003 side by side?

    Because on my computer, there is 2008/2005/2003 installed side by side on XP, I want to know if I install vs 2010, any impact on existing stuff? Such EF for vs2008, silvelright for vc 2008, etc. If it can be installed side by side, after installation, how many component or framework need to be reinstalled? such as slivelight, ria service? btw, how many space needed for vs2010?
    Posted to Visual Studio 2010 Beta 1 (Forum) by KentZhou on 8/4/2009
  • Re: Customize error message not working on production

    Hi Guys,my production is windows 2008 with IIS 7. I createa new site on IIS with all default settings. and then move the app build(with pubilsh featuer in VS 2008) to the server. Nothing special. I am confused.
    Posted to ASP.NET MVC (Forum) by KentZhou on 7/30/2009
  • How to set ActionLink as an image link?

    Following script in MVC view will be rendered as html link: <%= Ajax.ActionLink("more", "myControl", new { id = item.ID}, new AjaxOptions { UpdateTargetId = "pop", OnComplete="showdetail" })%> < a href = "/admin/MyControl?id=1" onclick = "Sys.Mvc.AsyncHyperlink.handleClick(this, new Sys.UI.DomEvent(event), { insertionMode: Sys.Mvc.InsertionMode.replace, updateTargetId: 'pop', onComplete: Function.createDelegate(this, showdetail
    Posted to ASP.NET MVC (Forum) by KentZhou on 7/29/2009
  • Customize error message not working on production

    I config a MVC app for error in web.config as below: <customErrors mode="On" defaultRedirect="~/Error/Unknown"> <error statusCode="404" redirect="~/Error/NotFound"/> <error statusCode="403" redirect="~/Error/NoAccess"/> </customErrors> Then try an unexisted url in browser. It works fine in vs2008 on Cassini server. But when I published it and move it to windows 2008, the error 404 is captured by IIS, not my customize
    Posted to ASP.NET MVC (Forum) by KentZhou on 7/29/2009
Page 1 of 57 (570 items) 1 2 3 4 5 Next > ... Last »