Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sql Database Pin
Dave Kreskowiak15-Apr-13 13:04
mveDave Kreskowiak15-Apr-13 13:04 
AnswerRe: Sql Database Pin
Bernhard Hiller15-Apr-13 21:25
Bernhard Hiller15-Apr-13 21:25 
AnswerRe: Sql Database Pin
Abhinav S16-Apr-13 21:07
Abhinav S16-Apr-13 21:07 
QuestionLink Button in Repeater Control in Winform Application Pin
Member 351820815-Apr-13 4:02
Member 351820815-Apr-13 4:02 
AnswerRe: Link Button in Repeater Control in Winform Application Pin
Abhinav S15-Apr-13 4:35
Abhinav S15-Apr-13 4:35 
GeneralRe: Link Button in Repeater Control in Winform Application Pin
Ravi Bhavnani15-Apr-13 17:58
professionalRavi Bhavnani15-Apr-13 17:58 
GeneralRe: Link Button in Repeater Control in Winform Application Pin
Abhinav S15-Apr-13 18:17
Abhinav S15-Apr-13 18:17 
Questioni want code to remove submenu Pin
Azza ALbelushi13-Apr-13 23:53
Azza ALbelushi13-Apr-13 23:53 
i am working in designing website using C# in visual studio 2010... all my pages comes under one page which is a master page .The master page contain menu which will appear in all other pages.... my request is :

1- when the user of the system will login for example as admin then all menu will appear for him while the the rest users will be able to see all the menu with all submenu except the menu that list admin rule activity which will be appear if they login only as admin....

i try to use the following code but it show error on( NavigationMenu) please provide me with the write code if possible
C#
<pre lang="c#">void Page_Load(Object sender, EventArgs e)
  {
    if (!IsPostBack)
    {
      // Retrieve the root menu item from the Items
      // collection of the Menu control.
      MenuItem homeMenuItem = NavigationMenu.Items[0];

      // Retrieve the Movie submenu item from the ChildItems
      // collection of the root menu item.
      MenuItem movieSubMenuItem = NavigationMenu.FindItem(@"Home\Movies");

      // Remove the Movie submenu item.
      if (movieSubMenuItem != null)
      {
        homeMenuItem.ChildItems.Remove(movieSubMenuItem);
      }
    }
  }

AnswerRe: i want code to remove submenu Pin
obalesu14-Apr-13 22:57
obalesu14-Apr-13 22:57 
GeneralRe: i want code to remove submenu Pin
AmitGajjar15-Apr-13 2:21
professionalAmitGajjar15-Apr-13 2:21 
GeneralRe: i want code to remove submenu Pin
DanielSheets15-Apr-13 4:44
DanielSheets15-Apr-13 4:44 
JokeRe: i want code to remove submenu Pin
Tom Deketelaere15-Apr-13 4:48
professionalTom Deketelaere15-Apr-13 4:48 
GeneralRe: i want code to remove submenu Pin
DanielSheets15-Apr-13 4:49
DanielSheets15-Apr-13 4:49 
GeneralRe: i want code to remove submenu Pin
AmitGajjar15-Apr-13 5:49
professionalAmitGajjar15-Apr-13 5:49 
AnswerRe: i want code to remove submenu Pin
Rockstar_16-Apr-13 18:32
professionalRockstar_16-Apr-13 18:32 
Questionwhere clause programming & implementation difference Pin
Member 993942313-Apr-13 21:07
Member 993942313-Apr-13 21:07 
GeneralRe: where clause programming & implementation difference Pin
harold aptroot13-Apr-13 21:22
harold aptroot13-Apr-13 21:22 
GeneralRe: where clause programming & implementation difference Pin
Member 993942313-Apr-13 21:50
Member 993942313-Apr-13 21:50 
GeneralRe: where clause programming & implementation difference Pin
harold aptroot13-Apr-13 22:13
harold aptroot13-Apr-13 22:13 
Question*.ico icons Pin
Emmanuel1113-Apr-13 8:34
Emmanuel1113-Apr-13 8:34 
AnswerRe: *.ico icons Pin
NotPolitcallyCorrect13-Apr-13 11:40
NotPolitcallyCorrect13-Apr-13 11:40 
AnswerRe: *.ico icons Pin
Dave Kreskowiak13-Apr-13 14:36
mveDave Kreskowiak13-Apr-13 14:36 
AnswerRe: *.ico icons Pin
Abhinav S13-Apr-13 19:29
Abhinav S13-Apr-13 19:29 
AnswerRe: *.ico icons Pin
Manfred Rudolf Bihy13-Apr-13 22:11
professionalManfred Rudolf Bihy13-Apr-13 22:11 
AnswerRe: *.ico icons Pin
Tom Deketelaere15-Apr-13 4:50
professionalTom Deketelaere15-Apr-13 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.