Search

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

Matching Posts

  • Re: Swapping out a Data Access Layer

    Mark, Thanks for your advice! I did exactly as you said and defined my model in a separate project (just one class with interfaces) and presto! Thanks again. Jason
    Posted to Architecture (Forum) by Freakish_05 on 11/24/2009
  • Swapping out a Data Access Layer

    Hi Everyone, A general achitecture query query really... I'm creating a component that may have to use different types of datasource (i.e. SQL, XML) depending on the deployment sinario. I've already written all the code for a SQL deployment and I've used the repository pattern in much the same way that Rob Conery did with his MVC Storefront tutorials. Can someone please tell me how best to achieve this? I've tried refactoring the data access classes (mainly the repository stuff) into
    Posted to Architecture (Forum) by Freakish_05 on 11/22/2009
  • Re: FCK Editor - not working after deploying website

    Sounds like your free hosting might be doing something untoward with your FCK control, which IIRC, utilises JavaScript. Do you have a link to the page so that we can see whats happening? A link to your source would also be helpful :) Cheers, Jason
    Posted to Component Discussions (Forum) by Freakish_05 on 7/19/2009
  • Rendering a view to part of a JSON object

    Hi all, Following on from My Previous Short Thread about rendering a view without its master page, I'm now trying to render the HTML of the view to a part of a JSON object so that I can return dynamically generated page titles as well at the html. This has plagued me all weekend. I've tried writing my own implementation of the ActionResult class to render directly to Response.Output, but I need to HTMLEncode the output of IView.Render() so that the special characters, namely quotes in this
    Posted to ASP.NET MVC (Forum) by Freakish_05 on 7/6/2009
  • Re: Rendering a view to part of a JSON object

    Hi Nissan Fan, Thanks for taking the time to reply. I agree with you completly, and most of the time I do render the results of an action directly to a div. However, some of my page titles are dynamically generated in the Controller so they need to be part of the ajax response too so that my javascript code (I'm using jQuery in this instance) can update the document.title property. In any case it appears that I've inadvertantly solved the problem by stumbling upon this very useful thread
    Posted to ASP.NET MVC (Forum) by Freakish_05 on 7/6/2009
  • Re: Rendering a View without its Masterpage

    Thanks CodeHobo! That worked perfectly!
    Posted to ASP.NET MVC (Forum) by Freakish_05 on 7/4/2009
  • Rendering a View without its Masterpage

    Hi all, All of my views need to have masterpages associated with them so that if a client is browsing without ajax support the site still works. But for clients supporting ajax sometimes I need to render just the view to inject into the content div of my masterpage. How do I do this? I've tried taking the masterpage attribute of the page header, this works when I use return View("ViewFile", "~/Path/To/MasterPage.Maser"); but when I use return View("ViewFile") I get
    Posted to ASP.NET MVC (Forum) by Freakish_05 on 7/3/2009
  • Re: Custom Website Interface API

    Hi Mike, I think your best bet is going to be web services. They are static methods which take parameters from HTTP Post Requests using JSON, url-encode and SOAP to name but a few A quick Google yeids a few results which will help you get started. Hope that helps, Jason
  • Re: Securing User Input

    Thanks very much for your input, I'll have a good read of those links too :)
    Posted to Web Forms (Forum) by Freakish_05 on 6/13/2009
  • Securing User Input

    Evening Everyone, This subject probably comes up a lot. I'm just wondering if which is best... To secure user input using regex etc to strip out any nasty stuff, OR, let users input whatever they want (within reason!) and Server.HTMLEncode it all? Discuss :) Jason
    Posted to Web Forms (Forum) by Freakish_05 on 6/13/2009
Page 1 of 5 (47 items) 1 2 3 4 5 Next >