Click here to Skip to main content
15,891,607 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: .Net Core 2.1 and MVC, playing around with Angular 6 Pin
Nathan Minier16-Jul-18 1:35
professionalNathan Minier16-Jul-18 1:35 
GeneralRe: .Net Core 2.1 and MVC, playing around with Angular 6 Pin
jkirkerx16-Jul-18 6:43
professionaljkirkerx16-Jul-18 6:43 
AnswerRe: .Net Core 2.1 and Angular 6, styles and fonts Pin
jkirkerx17-Jul-18 12:46
professionaljkirkerx17-Jul-18 12:46 
GeneralRe: .Net Core 2.1 and Angular 6, styles and fonts Pin
jkirkerx17-Jul-18 13:44
professionaljkirkerx17-Jul-18 13:44 
QuestionConditionally Loading Partial View in a Page using Javascript Pin
indian14313-Jul-18 8:10
indian14313-Jul-18 8:10 
AnswerRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx13-Jul-18 12:13
professionaljkirkerx13-Jul-18 12:13 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14313-Jul-18 13:40
indian14313-Jul-18 13:40 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx16-Jul-18 6:37
professionaljkirkerx16-Jul-18 6:37 
Well I can think of 2 ways.

1 is to combine all the partial views into 1 partial view, and ID the main <div> elements to make them separate units. Them use JQuery to show the one you need based off the change event of the dropdown.

2, Maybe try your Angular experience from the last couple years and see if you can go all JavaScript, and build the partial views using Angular.

3, Perhaps that's what view components are for in .Net Core 2+.

I have something similar in one project, where you pick a payment method off an array of buttons, and I use Bootstrap collapse to expand the proper payment HTML. I have it setup sort of like an accordion.

I have another where the partial HTML is small enough to just generate HTML in JQuery. I call the function Print_One which just appends the DOM.

I try hard not to use the dropdowns anymore, and switched to radio buttons, or small text buttons instead.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 8:25
indian14318-Jul-18 8:25 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 8:36
professionaljkirkerx18-Jul-18 8:36 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 8:51
indian14318-Jul-18 8:51 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 9:00
professionaljkirkerx18-Jul-18 9:00 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 9:06
indian14318-Jul-18 9:06 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 9:13
professionaljkirkerx18-Jul-18 9:13 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 10:23
indian14318-Jul-18 10:23 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 10:26
professionaljkirkerx18-Jul-18 10:26 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 12:38
indian14318-Jul-18 12:38 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 13:12
professionaljkirkerx18-Jul-18 13:12 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 14:33
indian14318-Jul-18 14:33 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx19-Jul-18 7:09
professionaljkirkerx19-Jul-18 7:09 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14319-Jul-18 7:47
indian14319-Jul-18 7:47 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx19-Jul-18 8:46
professionaljkirkerx19-Jul-18 8:46 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14319-Jul-18 9:09
indian14319-Jul-18 9:09 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14319-Jul-18 11:21
indian14319-Jul-18 11:21 
Questiongetting these smtp exceptions in my mvc .net project,used different ports but still not workin ,can u plz help me? Pin
Member 1390903412-Jul-18 3:32
Member 1390903412-Jul-18 3:32 

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.