Get list of users with assigned roles in asp.net identity 2.0
I have a drop down list box which lists roles. I want to get the list of users having that role. I mean list of users that are in “Administrator” role or “CanEdit” role. Here is my code:
I have a drop down list box which lists roles. I want to get the list of users having that role. I mean list of users that are in “Administrator” role or “CanEdit” role. Here is my code:
I have been using Castle MonoRail for the last two years, but in a new job I am going to be the one to bring in ASP.NET MVC with me. I understand the basics of views, actions and the like. I just need a good sample for someone with MVC experience. Any good links besides … Read more
I’m running a DbDataReader on a query to remove items from a dropdownlist if they are already attached to a specific submission, and I keep getting an error telling me the reader is closed. Can’t see why my reader is being seen as closed here. What am I missing?
I’m trying to add button to Users Maintenance and on button’s click download excel file, containing some data. I have created PXAction and it’s method as above:
I’m so sorry for my poor English and poor programming in java. Please teach me the detail. Thank so much for help.
I have a string:
Using the bellow code .
How to minimize viewstate size of a page in asp.net?
Please help.
I’ve written some custom model binders (implementing IModelBinder) in our ASP.NET MVC application. I’m wondering what is a good approach to unittest them (binders)?
Just wondered if anyone could point me in the right direction here?