1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

RadioListButton inside iFrame need help

Discussion in 'C#' started by binici, May 11, 2007.

  1. #1
    Hello all!

    I will try to make some sense of this as best as possible. I have a page that contains a form and a few asp controls. I also have an iFrame that points to a simple aspx page with a RadioListButton, which loads images from the server dynamically. what I would like to do is have the RadioListButton postback to the main page with the selectedvalue, (so I can set it to a hidden value field) if an image is selected. Is that possible?

    I am truely stumped at this
     
    binici, May 11, 2007 IP
  2. TasteOfPower

    TasteOfPower Peon

    Messages:
    572
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use javascript.
     
    TasteOfPower, May 12, 2007 IP
  3. jaymcc

    jaymcc Peon

    Messages:
    139
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Javascript will be your best option, unless you can use a panel in asp.net.

    If you use javascript then you can post a call back to the main page with a parent reference.

    Is there a reason it's an iframe? Is the content from another site? If it's aspx you might have trouble getting consistent naming of your radio control through javascript, so perhaps a server-side solution might be more useful.

    Jay
     
    jaymcc, May 14, 2007 IP