This is a migrated thread and some comments may be shown as answers.

related combobox

3 Answers 79 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Selami
Top achievements
Rank 1
Selami asked on 20 Dec 2011, 04:36 PM
hello team.I m nebie for telerik...
My questions is related combobox fill by parameters without page load!....
I m .net developer but i dont know javascript because of that i choose telerik set....I found a solution at this article
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

but this problem solved by Javascript function...I couldnt understand this...Are there anybody to help me?
our goal is same already....
Countries->Cities->districts related combo....yes it worked fine for this sample....but when i have another  related combo problem i cant write javascript function what will i do?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 21 Dec 2011, 04:55 AM
Hello,

As per the demo link you send,
On pageLoad() event : access the Comboboxes and set that in global variables for reuse.
On LoadCountries() event : If its index is greater than zero(ie,items are selected), then fires ItemsRequested event of countries combobox with continentID as parameter. LoadCities() also works like LoadCountries().

Thanks,
Princy.
0
Selami
Top achievements
Rank 1
answered on 21 Dec 2011, 01:48 PM
if page i understand it sample already...but when click button and fill combo or when i clicked datagrid fill combo etc...
how will i do?For example
i checked checkbox and combobox will fill with in the textbox parameter ...i cant do this with javascript....As you say, i can do without ajax(Page is postback)
I wanna say that when i wanna use combobox with ajax is there any solutions page without  postback and without javascript?
0
Ivana
Telerik team
answered on 22 Dec 2011, 03:57 PM
Hello Selami,

My suggestion is to explore the online demo which you have pointed out: RadComboBox / Related ComboBoxes.
At the right top corner of the code-block showing the implementation of the demo, there is a link which says: "Demo isolation steps"  -- it shows step by step tutorial how to isolate the online demo in a sample web page. You could follow these steps to run the demo locally and explore its implementation.

Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ComboBox
Asked by
Selami
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Selami
Top achievements
Rank 1
Ivana
Telerik team
Share this question
or