• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

Telerik controls with Ajax Functionality

Hi Experts,

  I have an enhancement in the existing asp.net application, I added a Telerik RadCombobox and textbox . My requirement is when I select a perticular item in the combobox need to get the details in textbox from database and is working fine, But how can i get the details without postback (roundtrip) or guide me with ajax functionalty plz in telerik controls.
2 Solutions
There would be some sort of remote functionality with Telerik but have you tried to enclose these in UpdatePanel?
catchjayAuthor Commented:
Yes I have enclosed but that time the data is not coming to the textbox.
Check the following example


Notice following in JavaScript

        function onSelectedIndexChanged(sender, eventArgs) {
            var selectedItem = eventArgs.get_item();
            var selectedItemText = selectedItem != null ? selectedItem.get_text() : sender.get_text();

            logEvent("Index changed to Item '" + selectedItemText + "'");

Open in new window

You can change it so that after getting the selecteditemtext, you can set it as the text of textbox.
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:

Add following line of code to ajaxify telerik controls:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <telerik:AjaxSetting AjaxControlID="RadCombobox1">
                    <telerik:AjaxUpdatedControl ControlID="RadCombobox1" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="Textbox1"/>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">

Open in new window

Amandeep Singh BhullarCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now