G
Guest
Hi there, I have a bit of a chicken and egg situation. I have a page_load
event in my c# code which does things with some textbox values in my aspx
form. It is a dialog window and i set the values from the parent window using
the parameters dialogArguments passed to the window (i dont want to use query
string which i know would solve this). I set the values of the textboxes
using a javascript function in the onload of my body tag. The values end up
in the boxes ok..only thing is the page_load has already run, and they all
have null values at that point. So page_load obviously runs before onload. Is
there any way to directly access window.dialogArguments from .net code or
some way i can run the onload to set the textbox values BEFORE the page_load
runs??? Thanks.
event in my c# code which does things with some textbox values in my aspx
form. It is a dialog window and i set the values from the parent window using
the parameters dialogArguments passed to the window (i dont want to use query
string which i know would solve this). I set the values of the textboxes
using a javascript function in the onload of my body tag. The values end up
in the boxes ok..only thing is the page_load has already run, and they all
have null values at that point. So page_load obviously runs before onload. Is
there any way to directly access window.dialogArguments from .net code or
some way i can run the onload to set the textbox values BEFORE the page_load
runs??? Thanks.