locked
How to Add functionality to add, edit buttons RRS feed

  • Question

  • i have an list and edit screen, so in this screen i can add new data.

    The question is how to add functionality to the add and edit buttons??


    Thursday, February 28, 2013 9:05 PM

Answers

  • here is the answer:

    right click- override code then:

     partial void actividadesItemListAddAndEditNew_Execute()
            {
                this.actividades.AddAndEditNew();
                this.actividades.SelectedItem.nombre = "ssss7767hhj";
                
    
            }

    Thursday, February 28, 2013 10:00 PM

All replies

  • Locate the 'Command Bar' for the list, then your default buttons. Right-click on them and choose 'Override Code' :)


    Dave Baker | Xpert360 blog | twitter : @xpert360 Opinions are my own. Please mark as answer if this helps solve your problem.

    Thursday, February 28, 2013 9:09 PM
  • Locate the 'Command Bar' for the list, then your default buttons. Right-click on them and choose 'Override Code' :)


    Dave Baker | Xpert360 blog | twitter : @xpert360 Opinions are my own. Please mark as answer if this helps solve your problem.

    My mistake, i dont want to override the code, i want to add functionality for example.

    when i click add i want the first field change to "Test"

    Thursday, February 28, 2013 9:14 PM
  • here is the answer:

    right click- override code then:

     partial void actividadesItemListAddAndEditNew_Execute()
            {
                this.actividades.AddAndEditNew();
                this.actividades.SelectedItem.nombre = "ssss7767hhj";
                
    
            }

    Thursday, February 28, 2013 10:00 PM