Menu

Web base app - Category controller

Help
2008-11-26
2013-04-26
  • Marcia Silva

    Marcia Silva - 2008-11-26

    I have a table products and it product has the own category, my table key is ProcudtID and CategoryID.

    so when selecting the Task I like to be able to get the Task for that product.

    at the moment we have

    public void CategorySelected(NorthwindDataSet.CategoriesRow selectedCat)
            {
                Task.SelectedCategory = selectedCat;
                Task.Navigator.Navigate(MainTask.Products);
            }

    but I need to have

    public void CategorySelected(NorthwindDataSet.CategoriesRow selectedCat)
            {
                Task.SelectedCategory = selectedCat;
                Task.Navigator.Navigate(MainTask.Products);

                but I also need
    Task.Navigator.Navigate(MainTask.Products2);

            }

    thanks

     
    • OVZH

      OVZH - 2008-11-27

      Hello,

      Please explain in detail what you want to achieve. What is the "Products2" view? And what are you expecting to happen when a user selects some category?

      Thanks,
      --
      Oleg Zhukov

       
      • Marcia Silva

        Marcia Silva - 2008-12-01

        Sorry I don't know what I was smoking on that day. Even I could not understand what I was asking.

         
    • Marcia Silva

      Marcia Silva - 2008-11-27

      I have 5 tables with they all have a corresponded category table.
      I want to minimize the number of tables and have just one category table.
      When user select product, then category and make changes on that category I want to redirect back to that corresponded table.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.