Results 1 to 6 of 6

Thread: Without creating postback to the server

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Answers
    3

    Without creating postback to the server

    I have a radiobuttonlist that have 3 options,and a dropdownlist in which the values come according to the option selected in radiobuttonlist.now i want it to be done without creating postback to the server.how to do it?


  2. #2
    Contributing Member
    Join Date
    Jun 2006
    Answers
    95

    Re: Without creating postback to the server

    check the postback properties for the control


  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    4

    Re: Without creating postback to the server

    Quote Originally Posted by chowsys View Post
    I have a radiobuttonlist that have 3 options,and a dropdownlist in which the values come according to the option selected in radiobuttonlist.now i want it to be done without creating postback to the server.how to do it?

    If the items to be loaded in the dropdown list is static(like sex difference, Age, % Marks scored etc) , then we could use javascript to load the dropdownlist onclick/onchange/onchecked of radio button.

    If the items to be loaded in the dropdownlist is dynamic, (say the data comes from DB), we could use AJAX call backs to load the dropdown list on click of radio button.

    Hope this helps....


  4. #4
    Junior Member
    Join Date
    Nov 2005
    Answers
    2

    Re: Without creating postback to the server

    Use AJAX for the same


  5. #5

    Re: Without creating postback to the server

    Fetch all the results together in xml and parse itusing javascript.Your xml will contain all the possible combinations for radiobutton selections and corrosponding ddl.
    OR
    May be Ajax.


  6. #6
    Junior Member
    Join Date
    Feb 2009
    Answers
    21

    Re: Without creating postback to the server

    u can use AJAX then the page wont get refresh.
    you can download the AJAX ToolKit from the "asp.net" website.then add the toolkit in your visual Studio.then drag the script manager,Updatepanel controls from the ajax Toolbar.the coding is shiwn below:













    Regards,
    Nithya.R


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact