Click here to Skip to main content
15,889,595 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can I refresh partial view in ASP.NET MVC 5? Pin
Member 1299209416-Mar-17 9:40
Member 1299209416-Mar-17 9:40 
GeneralRe: How can I refresh partial view in ASP.NET MVC 5? Pin
bVagadishnu17-Mar-17 8:24
bVagadishnu17-Mar-17 8:24 
GeneralRe: How can I refresh partial view in ASP.NET MVC 5? Pin
Member 1299209417-Mar-17 9:17
Member 1299209417-Mar-17 9:17 
QuestionWhat manual do i need. Pin
xiecsuk15-Mar-17 1:22
xiecsuk15-Mar-17 1:22 
AnswerRe: What manual do i need. Pin
Richard MacCutchan15-Mar-17 3:10
mveRichard MacCutchan15-Mar-17 3:10 
AnswerRe: What manual do i need. Pin
ZurdoDev15-Mar-17 8:30
professionalZurdoDev15-Mar-17 8:30 
AnswerRe: What manual do i need. Pin
Richard Deeming15-Mar-17 9:00
mveRichard Deeming15-Mar-17 9:00 
GeneralRe: What manual do i need. Pin
xiecsuk16-Mar-17 6:07
xiecsuk16-Mar-17 6:07 
The message says
'viewDataDictionary does not contain a constructor that takes 0 arguments'
The problem is that MSDN isn't detailed enough. It doesn't say anywhere I could find that Html.RenderPartial should be prefixed with @ sign. That was the first thing that caused me problems. Under VS 2010, it started with <%.

And my requirements have now changed a bit. ~/Counter/counter.ascx used to count the number of visitors and overwrite the value in RLSBC.txt. I have moved that function to Start.cs to make sure it is only run once per visit. (The old method used to be run more than once per visit.) The viewDataDictionary part took id (the current number of visits) in RLSBC (RLSBC.txt) and display it as 6 characters using digits (digits.gif). Digits.gif and RLSBC.txt are both in the wwwroot/Counter directory.

Is HTML.RenderPartial / viewDataDictionary still the correct way to achieve my goals?
GeneralRe: What manual do i need. Pin
Richard Deeming16-Mar-17 6:49
mveRichard Deeming16-Mar-17 6:49 
GeneralRe: What manual do i need. Pin
xiecsuk17-Mar-17 0:07
xiecsuk17-Mar-17 0:07 
Questionacquire data from a website Pin
Member 1306012114-Mar-17 23:17
Member 1306012114-Mar-17 23:17 
QuestionRe: acquire data from a website Pin
ZurdoDev15-Mar-17 1:16
professionalZurdoDev15-Mar-17 1:16 
QuestionOpen template word doc and replace values Pin
byka14-Mar-17 5:34
byka14-Mar-17 5:34 
SuggestionRe: Open template word doc and replace values Pin
CHill6014-Mar-17 5:43
mveCHill6014-Mar-17 5:43 
AnswerRe: Open template word doc and replace values Pin
Richard Deeming14-Mar-17 6:54
mveRichard Deeming14-Mar-17 6:54 
GeneralRe: Open template word doc and replace values Pin
byka14-Mar-17 8:09
byka14-Mar-17 8:09 
GeneralRe: Open template word doc and replace values Pin
Richard Deeming14-Mar-17 11:06
mveRichard Deeming14-Mar-17 11:06 
QuestionDotnet Core Reference Issue Pin
S_A_S9-Mar-17 0:11
S_A_S9-Mar-17 0:11 
AnswerRe: Dotnet Core Reference Issue Pin
Afzaal Ahmad Zeeshan14-Mar-17 11:53
professionalAfzaal Ahmad Zeeshan14-Mar-17 11:53 
QuestionApi post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan8-Mar-17 18:36
mrkeivan8-Mar-17 18:36 
AnswerRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore8-Mar-17 23:08
professionalF-ES Sitecore8-Mar-17 23:08 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 0:05
mrkeivan9-Mar-17 0:05 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore9-Mar-17 0:18
professionalF-ES Sitecore9-Mar-17 0:18 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 17:56
mrkeivan9-Mar-17 17:56 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore9-Mar-17 22:51
professionalF-ES Sitecore9-Mar-17 22:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.