Click here to Skip to main content
15,902,447 members

Comments by JoshWigley (Top 4 by date)

JoshWigley 26-Feb-19 9:33am View    
Hi Sitecore,

Thanks for the suggestion, I have made the relevant alterations.

I had originally attempted this with different interations of the @model statement but all I appear to get is an error message of:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Which then, unsurprisingly, doesn't load up the partial view.
JoshWigley 18-Jul-18 6:47am View    
Thanks for the info! Again, this is all relatively new to me, so apologies if the question appears (most likely) as totally novice.

Your comment has pushed me in the right direction, and I've now assigned the data to a variable outside of the loop, which has achieved exactly what I'm after. I was possibly trying to overcomplicate things, when actually it was incredibly simple.

If you put your comment as a solution, I'll happily accept this as the correct answer.

Appreciate your help buddy! :)
JoshWigley 17-Jul-18 7:03am View    
Hi Graeme,

Thanks for this. I've not come across this article before, so I'll read it before I try anymore attempts at resolving this issue. Appreciate the help.

Thanks,
Josh
JoshWigley 22-Jun-18 10:06am View    
I'm currently using a very simple piece of JS, which at the moment is just refreshing the webpage (Which is horrid). I've taken a look at doing an Ajax call, but will need to do a bit more reading to fully understand how to implement the Ajax call. I'm seeing a lot to do with GET/POST etc. As I'm not trying to insert any data, I assume that I'm wanting to use the GET method, rather than POST?