Click here to Skip to main content
15,910,773 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionaspx on mobile browsers Pin
Member 1243345618-Mar-17 3:39
Member 1243345618-Mar-17 3:39 
AnswerRe: aspx on mobile browsers Pin
Richard Deeming18-Mar-17 7:05
mveRichard Deeming18-Mar-17 7:05 
QuestionFailed to resolve include text for file:C:\Users\XXXXX\Desktop\Angular2Apps\BSCSecurityAddressBookWeb\BSCSecurityAddressBookWeb\Scripts\Manager.ttinclude Pin
indian14316-Mar-17 13:41
indian14316-Mar-17 13:41 
AnswerRe: Failed to resolve include text for file:C:\Users\XXXXX\Desktop\Angular2Apps\BSCSecurityAddressBookWeb\BSCSecurityAddressBookWeb\Scripts\Manager.ttinclude Pin
ZurdoDev17-Mar-17 2:05
professionalZurdoDev17-Mar-17 2:05 
GeneralRe: Failed to resolve include text for file:C:\Users\XXXXX\Desktop\Angular2Apps\BSCSecurityAddressBookWeb\BSCSecurityAddressBookWeb\Scripts\Manager.ttinclude Pin
indian14320-Mar-17 13:28
indian14320-Mar-17 13:28 
QuestionUsing a MVC attribute to confirm identity, rediect to signin, then to original destination Pin
jkirkerx16-Mar-17 9:31
professionaljkirkerx16-Mar-17 9:31 
AnswerGot this to work, not sure if it's kosher Pin
jkirkerx16-Mar-17 11:11
professionaljkirkerx16-Mar-17 11:11 
QuestionHow to read Excel data and insert into the access database using Microsoft.Office.Inteop.Excel in asp.net using CSharp language Pin
Member 1306265215-Mar-17 22:53
Member 1306265215-Mar-17 22:53 
AnswerRe: How to read Excel data and insert into the access database using Microsoft.Office.Inteop.Excel in asp.net using CSharp language Pin
F-ES Sitecore15-Mar-17 23:16
professionalF-ES Sitecore15-Mar-17 23:16 
AnswerRe: How to read Excel data and insert into the access database using Microsoft.Office.Inteop.Excel in asp.net using CSharp language Pin
Richard MacCutchan16-Mar-17 0:36
mveRichard MacCutchan16-Mar-17 0:36 
QuestionHow can I refresh partial view in ASP.NET MVC 5? Pin
Member 1299209415-Mar-17 6:38
Member 1299209415-Mar-17 6:38 
AnswerRe: How can I refresh partial view in ASP.NET MVC 5? Pin
bVagadishnu16-Mar-17 7:28
bVagadishnu16-Mar-17 7:28 
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 

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.