Value between forms Asp.Net C #

1

Good Afternoon Staff I'm getting the value of a gridview so far so good:

gridCadastro.GetRowValues(gridCadastro.GetFocusedRowIndex(), 'id_cliente', OnGetRowValues);

Now I need to get this value and pass it to an ASPxButton of a metro.master, however I could not get via

<%@ PreviousPageType VirtualPath="~/SourcePage.aspx" %> 
    
asked by anonymous 13.01.2016 / 19:31

1 answer

0

In your Masterpage , put a Hiddenfield field with id you want.

From your screen, to use:

(Masterpage.findcontrol("Id_do_hiddenfield_da_master_page") as HiddenField).value = "VALOR";
    
13.01.2016 / 20:12