I've been asked to re-write an existing VS 2003 applicatoin in VS 2010. The application contains multiple sections that allows certains users the ability to edit based on security roles. Each user is able to view the sections. There is ton of code to enable/disable section permissions for each user. Is there a better option available in VS 2010? I'm not too familiar with MVC and not sure if it would work in this scenario - each section should be available when the users login.
I'm trying to create a member section for my website and a non member section. I want the nonmember pages to have access to all the member pages but just not certain features like saving to the database. Is there a way to have the same page for both members and non members but have certain controls like buttons and other things that are only usable to the member that is logged in?
Our current application is working fine but when you try to misbehave like we found out that When login with same user in multiple tab with different organization(there is a organization dropdown in the master page which sets the cookie whenever it is changed.) in tab one it is org 1 and tab 2 it is org2 , cookie has the later org 2 in it but when we go back in tab1(which had org1) and save the record org 2 will be saved with the record So can some one share some sort of a checklist with us which address these types of problem.
SiteName=mysite EnterName=Enter Name Yourage=Your Age etc...
I want to Use above assign Text or Label for dual Language. How can i show above label to my aspx site. or is there any example? i can see how to fetch to notepad data in the asp .net site for dual language? I dont want to use Label store in Database, i want to use Label from notepad.
I want my codebehind to dump a very large set of JS into the ASPX page. This is required, as I can't use external JS code for this component, and the code is also unique to each customer. Is it possible to do this from codebehind? I know how to set the value of text boxes etc. (.Text/.Value = xxx) but I can't see how I can just 'dump' code straight onto the page.
I need to create a membership section in my ASPX website and I was wondering how do I start. It should be a simple member log in section, where they could register, see their profile, and upload documents once they register. Do I need to create a database for that or visual studio 2010 already has some templates included?
I want to create a section on my website where members of our non-profit club can log-in and view personal data that we occasionally upload. Preferably PDF files.I used Expression Web 2.0 to design the existing site and have no experience with ASP.NET but would like to learn. If any of you have the time to point me to a tutorial or series of tutorialshat I would like to do is create a log in page where the employees of our golf club can log in and view payroll information. We only have 8 seasonal employees at a small non-profit golf club but this would save me a lot of time if I could have it all online for them. I am the volunteer treasurer for the club.
I have a gridview within a panel. As I am using ASP Content, and the width of the grid view will auto extend to the left, and beyond the default IE width, and I got to scroll to left using the horizontal scroll bar.
Now, I wanted to fixed the length of the Panel to maybe 800px or 900px. With this I wanted to add a section to the Panel, and put the grid view within the section, and I wanted this section to have the ability to scroll horizontally.
In short, I do not want the Ie's scroll bar, instead, I want a scroll section within a Panel.
I am looking for multi-level accordion menu (drill down to few levels deeper) (expand and collapsible) for my website. Is there a sample anywhere I can use? it will be nice if I can dock it to the left by clicking on an icon and slide back when I click on the icon again.
I can do the database and security side with no problems, I can also get the hostname from the URL, but what I am struggling to find out is how to create the basic plumbing that would allow a new customer to sign up online, provide their company name, and for the application to create the new URL, ready to be used straight away.
how do i create website which supports various screen resolution & Multi browser support (i.e 1024*768 ) and others using asp.net...
i have developed website in asp.net (vb) my monitor resoultion is 1024*768 but when i try to access my site in other monitor having the resolution more than 1024*768 then the controls are unmanaged .... in the webpage...
While converting a desktop application to a web app, I've run across my ignorance when attempting to implement a multi-column data entry form using CSS. I'm resolved to avoid using tables for this type of thing, and while I found a good reference to laying out a data entry form, I can find nothing that applies to multiple-column layouts like this one:
im creating a multi step create user wizard for new members but I run into a problem. If the create of an account is in step 3 how do I capture the values from step 1 and 2. Should I try to pass the values to sessions or is there some other code. Here is some codebehind I tried so far (did not work).
I have a question that some might find relatively simple however I keep racking my brain to try and find the solution that is most optimal. My problem is that I am not sure what the best way to setup my projects are to create a multi tier application using a Presentation Layer, Business Logic Layer and Data Access Layer. I will explain where I am and maybe someone can point out where I have gone wrong.
I have created a ASP.Net Web Application I am aware that the APP_Code folder is not required for this project type as all objects will compile no matter where the class / objects are in the project, however I thought I might try add a class library for the BLL and another for the DAL, this is where I have become stuck.
My UI references the BLL and the BLL references the DAL, his is fine and I can get this to work if however the DAL is not able to return collections of the class types that are created in the BLL. I realize that this is the case as I do not have a reference from the DAL to the BLL and I am not able to do this as it causes a circular reference error.
I guess the question is, is it correct to assume that if I was to correctly setup a project that has each component as a separate layer my UI is obviously dumb and references the BLL only, the BLL references the DAL and handles all calls to the DAL as well as converting the data returned into collections of the classes that are created within the BLL and the DAL simply makes calls to the DB and returns datasets as they are returned based on the queries.
I have found a few tutorials on the site and on others and they all refer to the use of one web project with code created in the APP_Code folders with folders BLL and DAL.
My apologies in advance if this is a question that has been answered previously, if so, please may you direct me to where I can read up on this as I have hunted High and low and can only find the solution mentioned above using the APP_Code folder.
PS: I know that topics like this cause many disputes and make some people throw things, Please this is just a question to get me on my way, I am interested in everyone's opinion as I am sure there is no "Right" or "Wrong" way as every project is different.
I am trying to create a multi column listbox by combining fields in Linq select statement, as Let Name = Last + First. The problem is how to pad the Last column with spaces as you would in SQL using REPLICATE so when I bind the listbox to the data, it looks like two columns.
We have a simple ASP.NET app that uses the ASP.NET SqlMembershipProvider and all is great.
We want to create a second app on the same server, also use the SqlMembershipProvider, but a different "applicationName" so that the user accounts between the two apps are kept separate.
It looks like this would be possible by making the two different app domains (ie they each have their own web.config), but I'm hoping to just put them in different directories so I don't have 3 web.configs (one for each app, and the main one) that all have to be kept synchronized. So what I'm after is:
/web.config /APP1 (uses membership provider in /web.config, with userlist A) /APP2 (uses membership provider in /web.config, with userlist B)
It looks simple to define multiple membership providers that use a different 'applicationName' value.
But how do you tell the system.web.authentication node which membership provider to use?
I have this error: The configuration section 'connectionStrings' cannot be read because it is missing a section declaration on my site when loading this page [URL]. The rest of the site works [URL] Setup:The server is a hosting company - Mocha Hosting. [URL] contains a phpbb forum. This has been installed via the hosting company's web tool (Plesk). There is a root web.config, but there isn't in the /forum/ folder. The forum folder has been set by the phpbb installation wizard to be a virtual directory and application - and it appears to not have asp.net configured on it. The forum worked BEFORE uploading the root web.config file, and again if i temporarily remove the root web.config.
I have some data like items list based on category. E.g. Furniture category has items like table, chair ... Stationary category has items like books,copies ... I am showing list of items based on category using asp.net. So each category is showing with items.
So i am calling each category with items as one sections. now i am showing these sections in the word file. since there are so many sections, they do not fit in one page of the word file. Now I want a complete section in one a page. But what is happening is --> since multiple sections are showing in one page, in case a complete section doesn't fit in one page, it is showing the rest in another page which is obvious. But I want complete section in one page so that its easier to view by the user. Is there any way that in case a complete section doesn't seem to fit in the current page, it should show to the new page? Is there any possibility to do that ?