Geeks Talk

Prepare for your Next Interview




Without creating postback to the server

This is a discussion on Without creating postback to the server within the ASP.NET forums, part of the Web Development category; 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 ...


Go Back   Geeks Talk > Web Development > ASP.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-03-2007
Junior Member
 
Join Date: Jul 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
chowsys is on a distinguished road
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?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-03-2007
Expert Member
 
Join Date: Jun 2006
Posts: 140
Thanks: 2
Thanked 12 Times in 9 Posts
Jim.Anderson is on a distinguished road
Re: Without creating postback to the server

check the postback properties for the control
Reply With Quote
  #3 (permalink)  
Old 02-12-2007
Junior Member
 
Join Date: Feb 2007
Location: Chennai
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
chandramohan_a is on a distinguished road
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....
Reply With Quote
  #4 (permalink)  
Old 03-26-2007
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
saroj is on a distinguished road
Re: Without creating postback to the server

Use AJAX for the same
Reply With Quote
  #5 (permalink)  
Old 04-27-2007
Junior Member
 
Join Date: Apr 2007
Location: Hyderabad
Posts: 16
Thanks: 2
Thanked 1 Time in 1 Post
saswata.purkayastha is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Web Development > ASP.NET


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Creating a table by copying another table's structure Allan Paul Oracle 12 07-12-2007 07:53 AM
DNS server in Windows server 2000 FantaGuy Web Servers 2 12-13-2006 03:21 PM
Ways of creating style sheets nehalshah HTML & CSS 1 10-09-2006 04:16 PM
Points for creating C Compiler norman C and C++ 0 07-16-2006 12:09 PM
Creating Server Instance and Configuration Lokesh M ASP.NET 0 06-28-2006 04:22 AM


All times are GMT -4. The time now is 02:01 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved