Creating (hiding / Showing) Admin Menu For Website?

Sep 16, 2010

I am currently developing a website for a friend of mine who is a dj. I have a login page, which works fine however i want to inplement a menu that only users with the Administrator role can view. I have done alot of research and i have found ways to stop a user from visiting a page, when they click on it it takes the to the login page. But i want to completely hide the menu from Non Admins.

View 4 Replies


Similar Messages:

Creating 4 Website With Same Database And Admin Panel?

Jun 24, 2010

I am planning to develop around 4 product catalogue websites. The functionality of all the websites would be same. however the design, images and css would be different.

All the 4 websites will use the same admin panel, forums and database(MS Access) also.

How should I create such a system.

I dont understand what kind of folder structure should I create.

I would like to create following kind of folder structure.

(Root Folder)Admin Website ----> Website 1 (subfolder)

----> Website 2 (subfolder)
----> Website 3 (subfolder)
----> Website 4 (subfolder)

Root folder will have the database and all the common files.

Unfortunately, when I tried to create such structure, Dot Net Didnt allow me to create one website inside another

what kind of system should I use for maximum reusability.

I am a small time freelancer and cannot afford to build seperate websites for each of my client.

View 4 Replies

Why The Menu (blue Color) Is Not Showing The Contents In Some Browsers In Website

Jul 28, 2010

visit this website:

[URL]

it is in Persian Language(IRAN).the problem is the menu(blue color) is not showing the contents in some browsers on some computers.?

View 3 Replies

Hiding / Showing Table Row Dynamically?

Jul 6, 2010

I need to show/hide a table-row upon the click of a linkbutton. I have gotten it to show the row when clicked, but instantly reverts back to being hidden. I have tried putting the CSS style display attribute in a numerous amount of ways and it is still not working.

This is my .aspx file:

[Code]....

This is the .js file that is properly imported:

[Code]....

When loading the page I have tried a numerous amount of ways to set the attribute to none, in the stylesheet, in the style attribute of the tag on the .aspx file, via a similar javascript function that hides the element. All of these show the same result, when clicking the button it simply reloads into being hidden after being changed.

View 2 Replies

Slow Response When Hiding / Showing Panels

Mar 9, 2010

I have a drop down list that hides a panel with a bunch of controls when a certain value is selected, and shows the panel again when some other value is selected. This works fine. However it's slow when running both on my local webserver and on my web host, and takes about 1-2 seconds. What could be the reason for this? The only thing I do is to check which value is selected and hides/shows the panel.

View 9 Replies

JQuery :: Showing Hiding Div Content With Button?

Jul 18, 2010

i have a div that contains three other controls now i want to show hide that div when show or hide button is pressed. i also don't want page to postback when button is clicked. i am using following code but its not working.

[code]....

View 7 Replies

Umbraco Admin UI Not Showing Tree Nodes Thumbnail?

Oct 5, 2010

When installing an Umbraco site, I changed my umbraco admin url from '/umbraco/' to '/myadminurl/', even before I went through the install process.

Just like it's documented, I changed in the web.config the keys 'umbracoReservedPaths' and 'umbracoPath' to match my new admin url.

Installed and everything is working fine, except for one thing: All the nodes in the trees in all sections aren't showing any thumbnails. There used to be a win folder thumb before each tree node, but now it's just empty, except for the 'packages' node in the developer section, and for the recycle bin thumb.

View 1 Replies

C# - Error Creating New User By Admin?

Jun 18, 2010

I am creating a web application using Form Authentication of Asp.Net with C# and back end Sql Server. Here in my application administrator login and creates new users. I am using the create user wizard under login controls. My problem is when the new user is created by Admin he is automatically logged out and logged in with new user credentials which he has just created.

View 2 Replies

Hiding Or Showing Content Using Panel And Visible Query Against DB

Nov 22, 2010

I was using the code below to query the database and to show or hide content if the result was true of false. I use two panels so I can dispaly the right content block depending on EVAL

<asp:Panel
ID="Panel1"
runat="server"
Visible='<%#
(Convert.ToBoolean(Eval("GenreId"))).Equals(false) %>'>
<asp:Panel
ID="Panel2"
runat="server"
Visible='<%#
(Convert.ToBoolean(Eval("GenreId"))).Equals(true) %>'>

This was working with a CSS layout but I had to place all the content in a table and now it does not work. Is there another way to do it

View 13 Replies

Architecture :: Admin Website And Main Website Under Same Solution?

Jan 7, 2011

I want to put my website project and admin website under same project as I want to use session and authentication of the main site. Also I want to show the admin, the page, where he has made changes. But the problem is whenever I will change anything in admin pages, I've to build the entire website. I don't want to do that. Can I build that separately?

I don't want to choose the option of building all pages separately as well.

Is there any alternatives of doing that. Separate projects for admin and website will come up with many other challenges. So I would like to avoid that.

View 2 Replies

Creating 4 Websites With One Common Admin Panel

Jun 24, 2010

Creating 4 websites with one common admin panel

View 6 Replies

C# - Hiding All Leaf Nodes While Showing Child On Tree View

Mar 2, 2011

In my website, I have a TreeView that has this structure:

Root
|-Leaf
|-Parent
|--Leaf
|--Leaf
|--Child
|---Leaf
|---Leaf
|--Child
|---Leaf
|---Leaf

Is it possible to make the tree in a "collapsed" state where all the Leaf nodes and ONLY leaf nodes are hidden from view until its parent node is expanded? The ideal solution would be to do this without a postback, but any solution at this time would be helpful. The "collapsed" view would look like this:

Root
|-Parent
|--Child
|--Child

Expanding the Root, Parent or Child nodes should show their Leaf nodes. Collapsing the node should re-hide its leaf nodes, but leave the child nodes visible.

View 1 Replies

Forms Data Controls :: Hiding And Showing A Nested Gridview?

Jan 14, 2010

I have an image button on my gridview in one column, and in the next column, I have a nested gridview. What I am looking to do, is to use my image button as a way to show and hide my nested gridview. I do not want to use JavaScript, because my page already uses a great deal of JavaScript. Therefore, I want to use code behind on the button, this is what I have done so far:

ImageButton b = (Button)sender;
GridViewRow row = (GridViewRow)b.NamingContainer;
if (row != null) {
int rowIndex = row.RowIndex;

How do I use my selected row index to call the nested gridview to be visible and not visible?

View 3 Replies

Hiding/Showing Table Cells With JQuery Depending On RadioButtonList

Mar 3, 2010

Here is jquery code which hides my table cells with the ID of .style2:

$('#myRadioButtonList').change(function() {
if ($(this).attr('checked') == true && $(this).val() == "HB") {
$('.style2').hide("slow");
};
});

and here is my radiobuttonlist

<asp:RadioButtonList ID="myRadioButtonList" runat="server">
<asp:ListItem Selected="True" Value="HB">None</asp:ListItem>
<asp:ListItem Value="HOBSKS">Service </asp:ListItem>
<asp:ListItem Value="OBAKS">Open Service</asp:ListItem>
<asp:ListItem Value="BBKS">Close Service</asp:ListItem>
</asp:RadioButtonList>

I am inspired by this topic

[URL]

This way my jquery is not working, there are mistakes in the part

if ($(this).attr('checked') == true && $(this).val() == "HB")

I tried those two conditions above alone, and they both are not working. I need to reach to my radiobuttons but seems like I can't. Then how should I write that part in order to make my code work.

View 2 Replies

VS 2010 - Menu Item Hiding Using SiteMap?

Mar 25, 2011

I have a menu control which is based on a sitemap as below.

However whilst the security aspect is working i.e. users cannot access a page without being in the correct role the menu does not seem to hide any of the menu items.

I really want users only to see the help menu item before they log in, then after this point they should see all items unless they are External in which case the Uploads and Admin Items should be hidden.

Is this not possible or have I set up my sitemap wrong?

If I remove roles="*" from the first node no menu items are visible at all even after login?

[Code]....

View 9 Replies

Web Forms :: Hiding A Dynamic Menu In Masterpage?

Oct 13, 2010

i have dynamic menu in masterpage .

in one place i have to dispaly a page in the browser that page is binded with the master page in that page there is another page that consist of onother page this page is aslo binded with masterpage . now i needed to hide the dynamic menu in the second page i tried in other ie.. but it is not comming

any control outside of masterpage contentplaceholder can be accessible or not

View 5 Replies

Security :: Hiding Menu Items With Role?

Oct 20, 2010

I have been trying to figure this out for a couple days, but am getting really confused on the many different posts/articles I have read.

I am trying to hide certain menu items based on the users role.

I have a Menu and a SiteMapDataSource on a master page:

[Code]....

View 2 Replies

Security :: Creating An Admin Area For Deleting Users?

Feb 11, 2010

Following one of the other tutorials I have figured out how to manage users [URL] but it does not mention how to delete them from the GridView. I have attached my Page's code plus my VB script. I have added a delete link into the GridView for preparation but all I would like is the VB script so that when the user clicks delete it deletes the user from the GridView and Databse. I hope I have made every really simple, anyway here it is:

ManageUsers.aspx

[Code]....

View 2 Replies

Forms Data Controls :: Hiding Dropdownlist But Showing In Edit View?

Jan 4, 2011

I dont want them to be able to select a listitem until they click edit .

here is a picture of what it looks like now.

View 2 Replies

Web Forms :: Hiding Menu Page To Anonymous Users

Mar 9, 2011

I would like to ask if somebody knows how to deny view of page in the telerik rad menu to anonymous users. So if the user wont be leged in then he wont be alble to see a page in the rad menu, but when he log in the the page show up in the menu.

View 2 Replies

Performance Difference Of Code In Aspx And Cs Files For Showing And Hiding Control Dynamically

Feb 18, 2011

I was thinking about the performance when I use code to hide some control in aspx page using delimiters or in cs file. For e.g. If I have a panel and I want it to get shown following some condition, so I can achieve this by two ways

1: Using code in aspx file, something like this

<% if(isAllowed) { %>
<asp:Panel ...></asp:Panel>
<% } %>

2: In the code file, something like this

<asp:Panel ID="pnlMyPanel" Visible="false"></asp:Panel>

And in cs file

if(isAllowed)
pnlMyPanel.Visible=true;

In my view, first way should be good as it will not at all create any Panel in the page. Am I correct here?

View 3 Replies

Web Forms :: Master Page Menu Hiding Under Child Pages?

Jun 28, 2010

I am working in a product which is developing using telerik rad controls. Site have a master page which includes rad toolbar for main menus like file, edit etc.

When the site worked in IE 8 the half of the menu got inside of the content page. I changed the compatability settings of IE 8 to comptabality view and it solved. So i can view the site correctly. But in firefox also have the same issue. There not any compactability settings like this ( i think). So how can solve this? I mean wat issue is this ? Any css issue or any control behaviour?

View 4 Replies

Security :: Creating An Admin Tool To Reset Password Without Question / Answer?

Oct 29, 2010

I'm dealing with a scenario where a legitimate user doesn't have a clue about his password, secret question or the answer. So, I was trying to create an admin tool that would help me in situations like these where the admin should be able to type in username and reset the password without having to know/enter answer to secret question. I understand that I need to make some changes to the web.config for this to work. I thought I made all the changes but my ResetPassword() requests are still not working.

Here's my web.config settings for the provider.

[Code]....

View 4 Replies

Forms Data Controls :: How To Hide Empty Columns In A Repeater - Write The Logic For Hiding And Showing The Placeholder

Oct 20, 2010

I have a repeater control having columns in it.When I bind the control to a data source then some of the columns become empty when there is no data associated with it.I want to hide the column if there is no data associated with it.I was trying to implement a solution given in this thread:

[URL]

However,I am not sure how to write the logic for hiding and showing the placeholder.I have written some code for the same but that clearly doesn't work.The following is the .aspx as well as the code behind which I am using:

[Code]....

View 2 Replies

Using Customer Website Admin Tool?

Oct 11, 2010

How do you create your web site data admin for your customers. Do you do them programatically or do you use any specific tool?

I have been using AspMaker and is not a bad option but I'm sure there are a few more options out there. I've seen that MS has a Web Data Administrator but for me it looks more than an sql server web admin tool rather than a frontend that has the business logic.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved