Browse by Tags

Related Posts

  • Getting ViewResult as String?

    Hello, first sorry for my bad english, it's not my first language 1 [AcceptVerbs(HttpVerbs.Post)] 2 public JsonResult Draw( int width, int height) 3 { 4 AddTask.Assign( "#mapContainer > div" , View( "Map" , Fields)); 5 AddTask.Call( "map.initialize" ); 6 7 return...
    Posted to ASP.NET MVC (Forum) by n26 on 10-31-2008, 12:00 AM
    Filed under: MVC, ViewResult, json, ajax
  • Re: JsonResult and Extjs

    [quote user="JProgrammer"] Here is how method of button search looks like now, but nothing changes, by the way this method is in another controller, cause CartaGarantiaController have one method register thats builds and call the actual aspx, but methods for searchs or list are in respective...
    Posted to ASP.NET MVC (Forum) by ravivb.net on 07-24-2008, 12:00 AM
    Filed under: MVC, json
  • Re: JsonResult and Extjs

    i am not sure that i followed your question. I have not used ExtJS but working with JQuery. With MVC preview 3, the JSON method would return the objects in json format so, i think the below line is not needed. (with your code, i think you are JSONing a JSONized string - i need to send those 2 words to...
    Posted to ASP.NET MVC (Forum) by ravivb.net on 07-23-2008, 12:00 AM
    Filed under: MVC, json
  • Choose which properties to serialize?

    I'm returning a collection of FileInfo objects and I keep getting a recurcursionlimit exceeded exception. Yes I have modified the web.config file. Now before I go set the limit to something like 10000000, I wanted to modify my logic. Is there any mvc serialization method where I can pass my object...
    Posted to ASP.NET MVC (Forum) by ashish879 on 11-17-2009, 12:00 AM
    Filed under: MVC, json, JsonResult
  • Returning view & url (both json and standard get request) similar to Web Application Toolkit FAQ?

    Hello all, I've downloaded the Web Application Toolkit FAQ (built with asp.net MVC) and really like the way they renders the url/view. Basically, they are both JSON & and standard GET request, so you get the best of both worlds: SEO and ajax'ed view that seamlessly return views! And in case...
    Posted to ASP.NET MVC (Forum) by xuanvu on 11-21-2009, 12:00 AM
    Filed under: MVC, json, Web applicatiob toolkit for faqs
  • Re: Circular Reference issues with Json()

    The other option is to control what is serialized by the Javascript serializer. Check out the System.Web.Script.Serialization.ScriptIgnoreAttribute. I applied this attribute to the property of my domain object to remove it from serialization. This cleared up the circular reference for me.
    Posted to ASP.NET MVC (Forum) by besharah on 12-09-2009, 12:00 AM
    Filed under: MVC, json, JsonResult, javascriptserializer
Page 1 of 1 (6 items)