NeCroFire

NeCroFire

  • NA
  • 86
  • 0

Transfer value between pages according to what was clicked.

Jun 20 2008 2:33 AM

Hi

I am busy with a webpage and on it the user can Add or Remove items that he/she needs to specify some details for. I have one page for Add and remove as the same information needs to be entered. I am using iFrame where the Add/Remove pages load in.

 

I want to add the words “Add” or “Remove” to the heading of the page loaded in the iFrame. For that I need to check what the user has clicked. Normally this wouldn’t be an issue, but the menu control that I’m using only has a “OnClickScript” that can be used for every menu item. That means I can’t use Code Behind directly. Then I thought of using javascript to execute a Code Behind method and then use Session, but I have no idea how to use javascript this way.

 

What would be the best way to check what the user has clicked and the best way to get the value(Add/Remove) added to the page in the iFrame?

Hope I am making sense… ;)

 

And then I am also struggling to find a good article on how to have the user download a file from the page. I just want to have about 3 or 4 pdf files available for the user to download to there PC’s. Anyone know of a good one?

Thanks


Answers (2)