Hi,
I have 2 related comboboxes which works perfectly without AJAXManager; but when you turn on the AJAXManager, it fires the event but the second combobox is not clickable or nothing happens (no dropdown) when clicking the dropdown button. The controls are within a ASCX page that is loaded dynamically into a RADMultipage PageView during runtime.
Any help would be appreciated
I have 2 related comboboxes which works perfectly without AJAXManager; but when you turn on the AJAXManager, it fires the event but the second combobox is not clickable or nothing happens (no dropdown) when clicking the dropdown button. The controls are within a ASCX page that is loaded dynamically into a RADMultipage PageView during runtime.
<
div
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
EnablePageHeadUpdate
=
"False"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboApplication"
EventName
=
"SelectedIndexChanged"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboComponents"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
</
div
>
<
div
class
=
"contents"
>
<
table
>
<
tr
> <
td
class
=
"LabelColumn"
><
asp:Label
ID
=
"lblApplication"
CssClass
=
"Labels"
Text
=
"Application: "
runat
=
"server"
></
asp:Label
></
td
> <
td
colspan
=
"3"
>
<
telerik:RadComboBox
ID
=
"cboApplication"
runat
=
"server"
AutoPostBack
=
"True"
OnSelectedIndexChanged
=
"cboApplication_SelectedIndexChanged"
Width
=
"320px"
/>
</
td
> </
tr
>
<
tr
><
td
class
=
"LabelColumn"
><
asp:Label
ID
=
"lblComponent"
Text
=
"Component: "
CssClass
=
"Labels"
runat
=
"server"
></
asp:Label
></
td
> <
td
colspan
=
"3"
><
telerik:RadComboBox
ID
=
"cboComponents"
runat
=
"server"
Width
=
"320px"
/></
td
></
tr
>
<
tr
><
td
class
=
"LabelColumn"
><
asp:Label
ID
=
"lblRType"
runat
=
"server"
Text
=
"Type: "
/></
td
><
td
colspan
=
"3"
><
telerik:RADComboBox
ID
=
"cboReleaseType"
Width
=
"320px"
runat
=
"server"
/></
td
></
tr
>
<
tr
><
td
class
=
"LabelColumn"
><
asp:Label
ID
=
"lblVersion"
Text
=
"Version: "
CssClass
=
"Labels"
runat
=
"server"
></
asp:Label
></
td
> <
td
colspan
=
"3"
><
telerik:RadTextBox
ID
=
"txtVersion"
runat
=
"server"
Width
=
"320px"
/></
td
></
tr
>
<
tr
><
td
class
=
"LabelColumn"
><
asp:Label
ID
=
"lblArea"
runat
=
"server"
Text
=
"Area: "
/></
td
><
td
colspan
=
"3"
><
telerik:RadComboBox
ID
=
"cboArea"
runat
=
"server"
Width
=
"316px"
/></
td
></
tr
>
<
tr
><
td
class
=
"LabelColumn"
><
asp:Label
ID
=
"lblDeployTime"
Text
=
"Deploy Time: "
runat
=
"server"
/></
td
>
<
td
><
telerik:RadNumericTextBox
ID
=
"txtDeployTime"
runat
=
"server"
Width
=
"110px"
/></
td
>
<
td
class
=
"LabelColumn"
><
asp:Label
runat
=
"server"
ID
=
"lblRevertTime"
Text
=
"Revert Time: "
/> </
td
>
<
td
><
telerik:RadNumericTextBox
ID
=
"txtRevertTime"
runat
=
"server"
Width
=
"110px"
/></
td
>
</
tr
>
</
table
>
</
div
>
Protected
Sub
cboApplication_SelectedIndexChanged(sender
As
Object
, e
As
Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs)
Handles
cboApplication.SelectedIndexChanged
Dim
connection
As
New
SqlConnection(ConfigurationManager.ConnectionStrings(
"mConnectionString"
).ConnectionString)
Dim
adapter
As
New
SqlDataAdapter(
"SELECT * FROM tblComponents WHERE AppID = "
& e.Value &
" order by ComponentName"
, connection)
Dim
dt
As
New
DataTable()
adapter.Fill(dt)
cboComponents.DataTextField =
"ComponentName"
cboComponents.DataValueField =
"ComponentID"
cboComponents.DataSource = dt
cboComponents.DataBind()
'insert the first item
cboComponents.Items.Insert(0,
New
RadComboBoxItem(
""
))
End
Sub
Any help would be appreciated