Not really because I need to retrieve the value of a page parameter within an embedded frame. If I use Request.Item("Param1"), then it will only give me the parameters of that frame. I need a parameter from a parent frame. I can do this with javascript. Can you post how to do this with a hidden element? Not sure how to do that. I know that you could call a javascript function from within VB.Net, just not sure how to get a return value.
Main Topics
Browse All Topics





by: ChaosianPosted on 2006-07-24 at 06:07:48ID: 17167293
When I've needed to do something similar in the past, I have used a hidden HTML element to store the result. I then read that result from the view state on postback.
Having said that, in these days of AJAX controls, there may be a far better way.
Also, if you want to execute the function in page_load, couldn't you accomplish the same thing by executing a VB .NET version of the function server-side?