I
Ian Kelly
Hi All,
I have an .net form that is split into two frames. The left frame has a
tree that displays a list of all the customers. The right frame displays
the appropriate clients information. When the save button is pressed on the
right frame, I want to update the tree in the left frame AFTER saving all
the data as the changes to the right frame may affect how the tree is
displayed. I tried using the following:
btnSave.Attributes("onclick") = "top.frames['search'].location.href =
'SearchTree.aspx';"
The only issue is that the above javascript executes BEFORE the server side
click event. So what I need to be able to do is either
1) call a javascript from vb.net whenever I want OR
2) without javascript, refresh a frame from another frame OR
3) somehow have the clientside script execute AFTER the serverside
script
Any help, with examples, would be greatly appreciated.
Thanks
Ian
I have an .net form that is split into two frames. The left frame has a
tree that displays a list of all the customers. The right frame displays
the appropriate clients information. When the save button is pressed on the
right frame, I want to update the tree in the left frame AFTER saving all
the data as the changes to the right frame may affect how the tree is
displayed. I tried using the following:
btnSave.Attributes("onclick") = "top.frames['search'].location.href =
'SearchTree.aspx';"
The only issue is that the above javascript executes BEFORE the server side
click event. So what I need to be able to do is either
1) call a javascript from vb.net whenever I want OR
2) without javascript, refresh a frame from another frame OR
3) somehow have the clientside script execute AFTER the serverside
script
Any help, with examples, would be greatly appreciated.
Thanks
Ian