The attribute name roles suggests that the value can contain more than one role. I haven't checked the documentation for this attribute, but I know that the users attribute takes a comma separated list of users, have you tried a comma separated list of roles?
Despite everything, the person most likely to be fooling you next is yourself.
I have a page that has a number of items on it (ImageButtons, to be exact). When an image button is clicked, it posts back and I use the ModalPopupExtender to bring up a modal dialog that can contain a user control that is loaded dynamically, depending on what was clicked. After a button on the modal popup is clicked, I need to save changes into a hidden field on the form. However, after postback, the control is totally gone. How do I need to recover the data that was in the form?
Another option would be to use the viewstate to track data from the control. You just have to manually set the data in the viewstate.
I prefer this method because you can store any serializable object in the viewstate, so it gives you more control over how the data is stored. Plus, you can use viewstate encryption to encrypt the data and prevent users from seeing the contents.
I need to put in place an architecture which has the following prime features
Assume Company X's IT Team A
1) Team A has many .NET projects lined up, Web, Windows, Services, WPF etc..
2) For Web based projects... Team A requires the same look and feel for all projects.
3) Requirement : UI elements such as Master pages, js , css etc should not be copied over to every new project(No duplicate copies in each project)
4) Requirement : There should be a central repository kind of project/files/ etc.. which will serve as UI framework for all projects
5) Requirement : Data Access for all projects should also be driven by the same concept. One project drives data to all other projects
For Data I can think of a Service. I am just not sure of how to get the architecture for the UI as mentioned above,
Can someone recommend me what is the best approach.
I would think any source control would serve for this. We use SourceSafe but ut is a dog, many use SVN here. We have exactly that type of environment. A segregation of duties and a set of procedures and roles within the team works resonably well.
Not really an architecture question, this is setting up a standard development environment. You can then get into the style of development you want to follow, Agile, waterfall etc.
Never underestimate the power of human stupidity
Seriously though, if your converting to a particular technology then you are going to want to make use of the features that make it worth using the particular technology, therefore converting an application between the two is going to require a rewrite.
P S - This is what part of the alphabet would look like if Q and R were eliminated Mitch Hedberg
Hi to all,
I m working with datalist control in asp.net.there is an item category whose value is coming from database at runtime.Each category is associated with many images.I want to display those images randomly one by one after a gap of 10 seconds.but my problem is that the images are saved in database .Plz help me to solve this problem.
Last Visit: 31-Dec-99 19:00 Last Update: 4-Mar-24 21:53