Forms Data Controls :: Users Are Able To View Their Grades For Specific Courses?
Dec 2, 2010
I am building a website in which students are able to view their grades for specific courses. They are able to view their grades through the use of grid views and formviews. The students are able to login and through the "Administer website" feature on the login view, if they arent a student then they will not be authorized to view the gridview page in which all the grades are listed.
What I want to do next is to be able to 1. when a student logs in, i want that specific student that logged in to be able to view his/her specific grade and not be able to view any other person's grade, how do i do that? My code is written in C#, but I am using the postback URL feature,
View 3 Replies
Similar Messages:
Apr 9, 2013
How to allow users to view content .give permission to user to view specific content only .
View 1 Replies
Jul 27, 2010
I want to put a form in my project in which through a sqldatasource some data will be shown (courses) and the user (student) with use of radiobuttons (since courses of same lesson cant be checked) would check some courses. How can i all these selected courses put in a datatable (registration)?
View 3 Replies
Jul 21, 2010
how to get text value from each row in a specific column in a list view
View 6 Replies
Jan 24, 2010
I have following grid view and in it item template button2 now i want to make it enable only for some specific value say for session or some userid.so that only specific user can del the record.
<Columns>
<asp:CommandField ShowSelectButton="True" ItemStyle-Width="5" />
<asp:TemplateField HeaderText="del" ItemStyle-Height="100" ItemStyle-Width="50">
<ItemTemplate>
[Code]....
View 6 Replies
Feb 10, 2011
currently I am doing a web application such that after user search for all the contracts,the contract id is a hyperlink in which user can click on it to view the results tied to it. There is 2 pages. One is for the search page and after searching results is populated below. The contract id in the grid view is a hyperlink so that when user clicks on it, they will go to another page and view the specific records tied to it. How shld I do this as I am creating this web application in 3-tier formatting.
This is the search.aspx:
[Code]....
This is the next page that will display the results tied to this particular ID:
[Code]....
View 3 Replies
May 7, 2015
I have 2 pages page1 and page2, page1 has a button and page2 has a multiview with many viewswhat I need is:when I click on the button in page1 I want to go to a specific view in page2 ex: view3
View 1 Replies
Sep 2, 2010
I am using ASP.Net Forms Authentication. My Web.config looks like this.
[code]....
So currently every aspx page requires authentication.
I want to allow access to even unauthenticated users to a specific page named special.aspx. How can I do this?
View 2 Replies
Oct 1, 2010
I have the following implementation and I'm sure there is an easy way to do what I want to do but I can't figure it out.
1. I use forms based authentication to authenticate to my site
2. I use active directory to authenticate the users
3. I use the Allow Users="xxx" tag to authorize the users limited to the list that can access my site. (e.g.. even though Mary is an AD user she can't access my site unless I put her credentials in the allow users tag in the web.config file)
All is working well but I want to move the users access list (e.g.. <allow users="john" />" from the web.config to a database table so that I can create a user maintenance page for my admins to add and delete user access. For the life of me I can't figure out how to do this and I can't seem to find an article on it either.
[code]....
View 1 Replies
Apr 4, 2011
I have looked all over for elegant solutions to this not so age-old question. How can I lock down form elements within an ASP.Net MVC View, without adding if...then logic all over the place? Ideally the BaseController, either from OnAuthorization, or OnResultExecultion, would check the rendering form elements and hide/not render them based on role and scope. Another approach I have considered is writing some sort of custom attributes, so as to stay consistent with how how we lock down ActionResults with [Authorize]. Is this even possible without passing a list of hidden objects to the view and putting if's all over? Other background info: We will have a database that will tell us at execution time (based on user role/scope) what elements will be hidden. We are using MVC3 with Razor Viewengine. We're utilizing a BaseController where any of the Controller methods can be overridden.
View 1 Replies
Sep 30, 2013
Just to avoid misuse of website i have to make it specific for certain region. Like people could view menu across the world and only the people of mumbai can order online. I want a submit button that would be visible to only mumbai people.
View 1 Replies
Mar 16, 2011
Is there any reasonably efficient way to get a list of users who are not in a specific role?
The only methods I can see are Get all the users from DB and do a check in code
Go directly to the db and sidestep the role provider
View 3 Replies
Sep 23, 2010
asked in forums but I could not find any forum, newsgroup or discussion boards for "trainers" (teachers, coachers) and supporters (writers of courses, sysadmins of labs, et al) of professional courses for IT developers Might be the certified by major vendors trainers have the sites with forums but they are closed to non-certified "colleagues". Are there? I even do not know!I train as a hobby, sporadically, and I am not certified as trainer, at least by private entity. I daresay I spend on preparation to train more than I earn from training
View 1 Replies
Mar 26, 2010
I need to send notification emails to specific users at different times, Can this be done in the Global.asax page using vb? Also will i have to upgrade my Database from sql express to standard?
View 2 Replies
Mar 6, 2010
How can I collect all user (guid) from a specific role?
View 3 Replies
Jul 2, 2010
I am working on a .NET web application and I'm trying to use ajax CalendarExtender for the users to specify a specific date. For some reason, when I click the icon to display the calendar, the background seems to be transparent, shown below:
What could be the reason for this?
I've tried googling it but it seems nobody has worked it out yet.
I've also tried setting up it's z-index property to as high value as 5000000 but still doesn't work.
View 6 Replies
Mar 19, 2011
I've been reading about asp web administration tool. I read about creating roles and stuff and forcing a controller to use authentication in order to be viewed. My question is, say create on the administration tool a user called Peter and I assign him the Administrator role. Then I want to create another role called LimitedAdministrator. But I want Peter to create new users on his View (I'm using MVC). Can anyone point me in the direction of how to do this.
I want peter to see on his page, like "Create user" and this user will be created as a LimitedAdministrator.
View 1 Replies
Feb 1, 2011
I use EF 4 and Membership Provider Shipped with ASP.Net 4.0.
I need find all Users in a Specific Role and Populate a DropDownList using List<ListItem>.
DataBase Tables involved are:
[code]....
Problems:
IF return FALSE always, so I am not able to populate List<>.
I suppose I am doing wrong in if an some Properties.
View 1 Replies
Jun 26, 2012
How to save a text into a specific folder of computer(in document) by default, when the user clicks yes(for,Do you want to save the file?) to save a file into his computer? If the folder doesnot exist create and save the textfile?
View 1 Replies
Mar 27, 2010
i have had a little search and cant find anything that really I have created a search page which searches the records based on a the value of a text box and it displays the results using a repeater:
[Code]....
[Code]....
What i would like to know is if there is anyway i can pass the ID of the search result to another page where im using a details view to show the full details and how i would go about it?
View 6 Replies
Dec 1, 2010
I'm writing a program that records time-in and time-out and I have a problem when trying to retrieve data for a specific date.In the table, the "timein" and "timeout" fields have format of "smalldatetime". To record the timein, I insert the system time (by using System.DateTime.Now) into the "timein" field.I want two types of searches.
1) Search records between a date range
2) Search records for a specific date
For example, First, I want to search if there are any records between 11/2/2010 and 12/1/2010. I will ask user to input "11/2/2010" as start date and "12/1/2010" as end date. I will use Convert.DateTime() methods to convert these two input before put them
into SQL query like:
"SELECT * FROM timesheet WHERE timein BETWEEN Convert.DateTime(startdate) AND Convert.DateTime(enddate)"
The output results do not include the date 11/2/2010 and 12/1/2010. I get only the dates in between. I know that is the limitation of BETWEEN. I wonder if someone has a way to work around this limitation.
Secondly, I want to prompt users to enter a specific date like (11/2/2010) and search the table for rows match that criteria. I can't get this to work. I have tried "SELECT * from timesheet WHERE timein LIKE '%searchdate%'", "......timein = 'searchdate'" but none works.
(I'm using VS 2010 C# and SQL 2008 for this project)
View 6 Replies
Jan 31, 2011
Im looking to improve performance on my site and would like to implement OutputCaching for a number of actions on my controllers. The main problem is when administrators navigate to an action with an output cache specified I need to ignore the cached content and execute the action.
Is there a way I can configure the OutputCahing mechanism to not deliver cached content for specific users if they are authenticated and a member of a specific role?
View 2 Replies
Aug 17, 2010
If i have a page which displays all the data but with only a few fields, then i select one of the data and then i want to be able to view that data with all the fields related to that data on another web page.
I have been able to view the data in Grid view and enable the Select, Update, Insert and Delete. But not able to use the select button to view the information on another web page.
View 2 Replies
Sep 7, 2010
speed Performane i create a web site but it very slow run i use tree view and grid view but i do it run very fast
View 1 Replies
Feb 9, 2011
i have gridview , it contains record of productsname field of product table and hyper link, hyperlink named as Detail.
when i click Detail link ,it will show record of that row in another page,means it shows complete fields of table in another page,,
i want to know only that,how detail link will perform,to view only that row record,
View 3 Replies