Click here to Skip to main content
15,913,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCall JavaScript function from c# code in cshtml Pin
sunsher7-Dec-16 19:56
sunsher7-Dec-16 19:56 
AnswerRe: Call JavaScript function from c# code in cshtml Pin
F-ES Sitecore8-Dec-16 0:40
professionalF-ES Sitecore8-Dec-16 0:40 
No, your cshtml is compiled and executed as .net code on the server, the result is that it generates html, that html is then sent to the client browser to be executed and the client browser can interpret and execute javascript. So you can't run javascript in your views as the javascript doesn't yet technically exist.
GeneralRe: Call JavaScript function from c# code in cshtml Pin
sunsher8-Dec-16 10:47
sunsher8-Dec-16 10:47 
GeneralRe: Call JavaScript function from c# code in cshtml Pin
F-ES Sitecore8-Dec-16 22:29
professionalF-ES Sitecore8-Dec-16 22:29 
Questionnpm install is not installing and erroring continuosly Pin
indian1437-Dec-16 10:49
indian1437-Dec-16 10:49 
QuestionEdit not working Pin
sunsher7-Dec-16 0:57
sunsher7-Dec-16 0:57 
AnswerRe: Edit not working Pin
Vincent Maverick Durano7-Dec-16 2:11
professionalVincent Maverick Durano7-Dec-16 2:11 
AnswerRe: Edit not working Pin
Richard Deeming7-Dec-16 2:13
mveRichard Deeming7-Dec-16 2:13 
AnswerRe: Edit not working Pin
jkirkerx7-Dec-16 8:38
professionaljkirkerx7-Dec-16 8:38 
QuestionAngularJS 2.0 with MVVM and C# Pin
indian1436-Dec-16 14:00
indian1436-Dec-16 14:00 
AnswerRe: AngularJS 2.0 with MVVM and C# Pin
Vincent Maverick Durano7-Dec-16 2:12
professionalVincent Maverick Durano7-Dec-16 2:12 
GeneralRe: AngularJS 2.0 with MVVM and C# Pin
indian1437-Dec-16 11:07
indian1437-Dec-16 11:07 
GeneralRe: AngularJS 2.0 with MVVM and C# Pin
Vincent Maverick Durano8-Dec-16 1:24
professionalVincent Maverick Durano8-Dec-16 1:24 
GeneralRe: AngularJS 2.0 with MVVM and C# Pin
indian1438-Dec-16 6:38
indian1438-Dec-16 6:38 
QuestionQuick and Dirty Web Forms Pin
DrMaltz5-Dec-16 11:55
DrMaltz5-Dec-16 11:55 
AnswerRe: Quick and Dirty Web Forms Pin
ZurdoDev6-Dec-16 6:05
professionalZurdoDev6-Dec-16 6:05 
GeneralRe: Quick and Dirty Web Forms Pin
DrMaltz13-Dec-16 8:53
DrMaltz13-Dec-16 8:53 
GeneralRe: Quick and Dirty Web Forms Pin
Wastedtalent15-Dec-16 2:31
professionalWastedtalent15-Dec-16 2:31 
QuestionThoughts about creating some sort of hash for a duplicate online order Pin
jkirkerx5-Dec-16 10:21
professionaljkirkerx5-Dec-16 10:21 
QuestionSingle Sign On with ASP.Net Identity Pin
Chandra_NVS5-Dec-16 5:40
Chandra_NVS5-Dec-16 5:40 
AnswerRe: Single Sign On with ASP.Net Identity Pin
Afzaal Ahmad Zeeshan5-Dec-16 5:54
professionalAfzaal Ahmad Zeeshan5-Dec-16 5:54 
GeneralRe: Single Sign On with ASP.Net Identity Pin
Chandra_NVS5-Dec-16 6:08
Chandra_NVS5-Dec-16 6:08 
GeneralRe: Single Sign On with ASP.Net Identity Pin
Afzaal Ahmad Zeeshan5-Dec-16 6:35
professionalAfzaal Ahmad Zeeshan5-Dec-16 6:35 
GeneralRe: Single Sign On with ASP.Net Identity Pin
F-ES Sitecore7-Dec-16 0:00
professionalF-ES Sitecore7-Dec-16 0:00 
QuestionASP.Net Printing Pin
Zeyad Jalil2-Dec-16 22:47
professionalZeyad Jalil2-Dec-16 22:47 

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.