SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Getting the sate of the radio buttons in a list

    Trying to get the state of the radiobuttons in a radiolist,
    where there r 3 radiobuttons (1 disabled,2 unchecked 3 checked).

    I tried using GetSate function along with
    Agent.SetOption (OPT_RADIO_LIST, False).But does not seem to work.

    Please suggest the alternatives for this.

    Thanx.

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Location
    USA
    Posts
    776
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting the sate of the radio buttons in a list

    Along with Agent.SetOption (OPT_RADIO_LIST, False) use

    Agent.SetOption (OPT_VERIFY_ENABLED, FALSE)
    Thanks,
    Prashant Patel

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting the sate of the radio buttons in a list

    Agent.SetOption (OPT_RADIO_LIST, False)
    Agent.SetOption (OPT_VERIFY_ENABLED, FALSE)

    Both the option together are also not working

  4. #4
    Senior Member
    Join Date
    Feb 2001
    Location
    USA
    Posts
    776
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting the sate of the radio buttons in a list

    What error do you get?
    Did you do the Window Declaration?
    Are those radio list appear under table?
    Can you Post the line of code to access the state of the radiobuttons?
    What language is your application built in?
    Thanks,
    Prashant Patel

  5. #5
    Junior Member
    Join Date
    Sep 2006
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting the sate of the radio buttons in a list


    Agent.SetOption (OPT_RADIO_LIST, FALSE)
    Agent.SetOption (OPT_VERIFY_ENABLED, FALSE)
    BrowserChild("Window").HtmlText("abc").HtmlRadioBu tton("xyz").GetState()
    Agent.SetOption (OPT_RADIO_LIST, TRUE)
    Agent.SetOption (OPT_VERIFY_ENABLED, TRUE)


    Frame is as follows

    BrowserChild Window
    HtmlText abc
    HtmlRadioButton Buttom1
    HtmlRadioButton Buttom2

  6. #6
    Senior Member
    Join Date
    Dec 2001
    Location
    Boston,MA, USA
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting the sate of the radio buttons in a list

    Add a line of code BrowserPage.FlushCache() prior to getting the radio button state, and let us know if it works.
    -Shree

    *************************************************
    The more I learn, the more I realize how little I know!

  7. #7
    Junior Member
    Join Date
    Sep 2006
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting the sate of the radio buttons in a list

    Thanx,
    its working.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:28 PM.

Copyright BetaSoft Inc.