This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


How to Refresh a Screen After Save
Last Post 15 Aug 2013 12:54 AM by NESTicle. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NESTicleUser is Offline
New Member
New Member
Send Private Message
Posts:9
Avatar

--
18 May 2013 01:18 AM
    How i can refresh a screen after save a data on a "new data screen", i have this:

    partial void Clientes_Agregar_Saved() { 
    	this.ShowMessageBox("El Cliente (" + this.ClienteProperty.Nombre + ") ha sido guardado exitosamente"); 
    	this.Close(false); Application.Current.ShowClientes(); 
    }

    but, i want to refresh the screen called "Clientes", can you help me with that proble, thank you so much.

    Gabriel MarazziUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:6
    Avatar

    --
    15 Aug 2013 12:46 AM
    La opcion this.refresh(), hace un refresh de toda la pantalla.

    Si queres refrescar una consulta en particular, tenes que hacer:

    this.nombreConsulta.refresh()

    espero te sirva

    Saludos

     
    NESTicleUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:9
    Avatar

    --
    15 Aug 2013 12:54 AM
    Muchisimas gracias por la ayuda
    You are not authorized to post a reply.


    Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation