RyanTaite

Results comments of RyanTaite

I was able to do what I wanted with a very very basic example in this project using Controllers: https://github.com/RyanTaite/DynamicListExample But I would still really like to know how to...

@Rick-Anderson I will likely ask on StackOverflow, but I would really like for the documentation to show an example of calling a Partial View or View Component from a Razor...

@Rick-Anderson Yes, in my demo application that I linked above: https://github.com/RyanTaite/DynamicListExample It works for the most part: In `Startup.cs`'s `Configure` method you have to add: `app.UseMvc(routes => routes.MapRoute("default", "{controller}/{action=Index}/{id?}"));` Then...

@Rick-Anderson Hey Rick, that link makes no mention of adding or removing Roles to a User, am I misunderstanding it or is there by chance another topic I can view?

@Rick-Anderson Yes, [pranavkm](https://github.com/aspnet/Docs/issues/8132#issuecomment-415480829)'s examples seem to be exactly what I was after in regards to returning a Partial View from a Razor Page @guardrex I'm happy to help with updating...

@guardrex I think I'm going to lean towards reviewing your write up, since I've really only done very small updates here-and-there to the docs as I've walked-through tutorials. That said,...

I'm currently in a scenario in a .Net Core 2.1 web app where I'm creating a drop down list that is grouped and also shows disabled items (in theory anyways):...

@dougbu Unfortunately, that seems to break the grouping: ![selectlistitemarrayresult](https://user-images.githubusercontent.com/5490996/46546348-9d47dd80-c87d-11e8-964a-5e6cc6f67832.PNG) So while the `Disabled` setting is now being respected (see `TA Brochures` in the picture) each item is being treated as...

Thanks @dougbu! That did it for me. I had to throw in an null check at `SelectListGroup { Name = name ?? "" }` and `groups[materialType.Company.Name ?? ""]`, but other...