Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Database Populated Menu

Database Populated Menu

Scheduled Pinned Locked Moved WPF
csharpdatabasewpfhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tripathi Swati
    wrote on last edited by
    #1

    Hi all, I want to create database populated menu where menu.xaml file should be generated dynamically means my stroed procedure will return result on basis of user Group and that should assign or create xaml file and now dynamically generated file will assign to menu control .. I have done this in .Net site but dont know its possible with silverlight or not. I am new to Silverlight , So Please help me...

    Reasons are not Important but Results are Important. Swati Tripathi

    A 1 Reply Last reply
    0
    • T Tripathi Swati

      Hi all, I want to create database populated menu where menu.xaml file should be generated dynamically means my stroed procedure will return result on basis of user Group and that should assign or create xaml file and now dynamically generated file will assign to menu control .. I have done this in .Net site but dont know its possible with silverlight or not. I am new to Silverlight , So Please help me...

      Reasons are not Important but Results are Important. Swati Tripathi

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      This is possible in Silverlight. However, you cannot access stored procedures using Ado.Net (as Ado.Net are not available in SL). You will need to use either a web service or entity framework.

      T 1 Reply Last reply
      0
      • A Abhinav S

        This is possible in Silverlight. However, you cannot access stored procedures using Ado.Net (as Ado.Net are not available in SL). You will need to use either a web service or entity framework.

        T Offline
        T Offline
        Tripathi Swati
        wrote on last edited by
        #3

        Thanks for your reply but i want to know silverlight code sample & yes i am aware of SL will understand xml only. I hav tried sample which is given in demo for menu but Over there we have static menu.xaml which i dont want to use . Please help me ....

        Reasons are not Important but Results are Important. Swati Tripathi

        A 1 Reply Last reply
        0
        • T Tripathi Swati

          Thanks for your reply but i want to know silverlight code sample & yes i am aware of SL will understand xml only. I hav tried sample which is given in demo for menu but Over there we have static menu.xaml which i dont want to use . Please help me ....

          Reasons are not Important but Results are Important. Swati Tripathi

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          See here for a menu control example.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups