Tema: ViewState
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/07/2005, 09:22
Avatar de Jose_minglein2
Jose_minglein2
 
Fecha de Ingreso: noviembre-2004
Mensajes: 2.344
Antigüedad: 19 años, 6 meses
Puntos: 8
En vez de hacer eso, haz esto:

en el hijo:

response.write("<script>window.opener.__doPostBack ('seleccionado_param','" & variable &"');</script>")

y en el padre:

private sub page_load(byval sender as object, byval e as eventargs) handles mybase.load
Page.GetPostBackEventReference(Page)
....
if ispostback
if request.Form("__eventtarget") = "selecccionado_param" then
dim variableseleccionada as string = request.form("__eventargument")
end if

end if
end sub

Si por el contrario, solo tienes que poner la variable en un textbox o algo parecido no hace falta que recarges puedes hacer getElementById