Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
473 views
I have the following problem.

When a number in the grid is formatted in the format used in France (10 123 in stead of 10.123) and when i export to excel, excel does not see this as a number, because of the space.

Is there a way that it will always be exported as 10123, so without any formatting?
Shinu
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
627 views
Hi,

When I tried to export data to excel, I'm unable to get date format. My date format is based upon my session settings. Date is displayed in grid as 10.01.2013 12.25.44. I want the same should be exported in excel. I'm using below code
protected void RadGrid1_ExcelMLExportStylesCreated(object source, GridExportExcelMLStyleCreatedArgs e)
        {
            StyleElement dateStyle = new StyleElement("Date");
            dateStyle.NumberFormat.FormatType = NumberFormatType.Fixed;
            dateStyle.NumberFormat.Attributes["ss:Format"] = "d";
            e.Styles.Add(dateStyle); 
        }
}

Thanks,
Kumar
Shinu
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
340 views
Hi

I'm trying to implement a clientside custom validation for my rad grid, and while I have managed to write the javascript function that gets called when the custom validator is fired, I am not sure how to access the edit form controls inside the function.

Here's a stripped down version of my markup. 
Basically the grid has a "location" column and a "Storage Location" column and I use a FormTemplate based edit form for the insert/edit.
When inserting a record, I need to validate that only one of these two is selected.

<telerik:RadGrid
  SkinID="myTemplate"
  ID="myGrid"
  runat="server"
  DataSourceID="myDataSourceID"
  OnInsertCommand="OnInserting"
  OnUpdateCommand="OnUpdating">
   
  <MasterTableView
    DataKeyNames="myDataKey">
   
    <CommandItemSettings
      AddNewRecordText="Assign Location" />
 
    <EditFormSettings
      CaptionFormatString="Edit Location"
      InsertCaption="Add New Location"
      EditFormType="Template">
 
      <FormTemplate>
        <!--   Begin Edit Item Table Template   -->
 
          <table id="Table10">
 
            <tr>
              <td>
                <des:LocalizableLabel
                  ID="Location"
                  runat="server"
                  Text="Location"></des:LocalizableLabel>
              </td>
              <td>
 
                <aec:TelerikAutoCompleteBox
                  ID="locationsAutoComplete"
                  runat="server"
                  DataSourceID="sqlLocationAutocomplete"
                  DataTextField="Name"
                  DataValueField="Location_ID"
                  Filter="Contains"
                  TextSettings-SelectionMode="Single"
                  InputType="Text">
                </aec:TelerikAutoCompleteBox>
 
              </td>
            </tr>
 
            <tr>
              <td>
                <des:LocalizableLabel
                  ID="StorageLocation"
                  runat="server"
                  Text="Storage Location"></des:LocalizableLabel>
              </td>
              <td>
                <aec:TelerikDropDown
                  runat="server"
                  DataField="Storage_Location"
                  DataTextField="Storage_Location"
                  DataValueField="Storage_Location"
                  DataSourceID="sqlStorageLocation"
                  ID="storageLocationDropDown">
                </aec:TelerikDropDown>
               
                  <asp:CustomValidator
                    runat="server"
                    ID="customValidator1"
                    ClientValidationFunction="EquipmentLocation_ClientValidate"
                    OnServerValidate="validateLocation"
                    ControlToValidate="storageLocationDropDown"
                    ErrorMessage="Must select either Location or Storage Location."
                    Display="static">
                   </asp:CustomValidator>
              </td>
            </tr>
        </table>
        <AERadGrid:EditFormSaveCancelButtons
          ID="locationAssignEditFormButtons"
          runat="Server">
        </AERadGrid:EditFormSaveCancelButtons>
        <!--   End Edit Item Table Template   -->
 
      </FormTemplate>
 
    </EditFormSettings>
 
    <Columns>
      <telerik:GridBoundColumn
        UniqueName="Location_Name"
        HeaderText="Location"
        DataField="Location_Name">
      </telerik:GridBoundColumn>
 
      <telerik:GridBoundColumn
        UniqueName="Storage_Location"
        HeaderText="Storage Location"
        DataField="Storage_Location">
      </telerik:GridBoundColumn>
 
    </Columns>
  </MasterTableView>
</telerik:RadGrid>

Here's the JS
function EquipmentLocation_ClientValidate(source, args) {
 
    //get a reference to the calling validator control
    var CustomValidator1 = source.id;
 
    /* get the values of the location auto complete and the storage location ddl and compare.*/
    var storageLocation = args.Value;
    var location = ?? //GET the value out of the autocomplete box....how?  
 
}

Now the JS function does get called as expected, in which I want to check the selected values in the autocomplete and the dropdown and allow only one to be selected. The value of the drop down is directly available in the args, but I'm not sure how I can get the value out of the autocompletebox on the edit form.

How do we get it?

Thanks
mqsash
Top achievements
Rank 1
 answered on 15 Apr 2013
2 answers
182 views
When adding a LinkButton to a GridDataItem in an ajaxified RadGrid, it causes a full postback.  I do not want a full postback. 
This is my code:

private
void GridItem_ItemCreated(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                GridDataItem item = (e.Item as GridDataItem);
                 
 
                    //cannot .Clear() expand/collapse item
                    item["ExpandColumn"].Controls[0].Visible = false;
 
                    LinkButton expand = CreateLinkButton();
                    expand.CommandArgument = _expandText;
                    expand.ID = _btnExpand;
                    item["ExpandColumn"].Controls.Add(expand);
                     
                    LinkButton collapse = CreateLinkButton();
                    collapse.CommandArgument = _collapseText;
                    collapse.ID = _btnCollapse;               
                    item["ExpandColumn"].Controls.Add(collapse);
 
                    //hide collapse on load
                    item["ExpandColumn"].Controls[2].Visible = false;
 
                    foreach (Control control in item["ExpandColumn"].Controls)
                    {
                        RadAjaxManager RadAjaxManager1 =                RadAjaxManager.GetCurrent((System.Web.UI.Page)System.Web.HttpContext.Current.Handler);
                        RadAjaxManager1.AjaxSettings.AddAjaxSetting(control, (sender as RadGrid));
                    }
                }
}

I've even tried the below on RadGrid_PreRender with no luck

private void RadGrid_PreRender(object sender, EventArgs e)
        {
            RadAjaxManager RadAjaxManager1 = RadAjaxManager.GetCurrent((System.Web.UI.Page)System.Web.HttpContext.Current.Handler);
            RadAjaxManager1.AjaxSettings.AddAjaxSetting((Control)sender, (Control)sender);
           RadAjaxManager1.EnableAJAX = true;
        }

Katie Arnott
Top achievements
Rank 1
 answered on 15 Apr 2013
3 answers
214 views
Hello,

I'm using a grid in which I'm implementing custom filtering as shown in the documentation and in the online demos, but I'm having some difficulties in making it work properly.

My grid is defined as follows (to try and make it clearer, I'm only copying the impacted column):
<telerik:RadGrid ID="grdBusinessRoles" runat="server" AllowMultiRowSelection="false"
AllowFilteringByColumn="true" ShowFooter="false" AllowSorting="True" AutoGenerateColumns="False"
AllowPaging="true">
<MasterTableView AutoGenerateColumns="false" EditMode="InPlace" TableLayout="Auto"
CommandItemDisplay="Top" DataKeyNames="BusinessRoleId2,BusinessRoleId" PageSize="15">
<CommandItemTemplate>
<asp:LinkButton runat="server" ID="btnClear" Text="Clear Filters" CommandName="ClearFilters" />
</CommandItemTemplate>
<Columns>
<telerik:GridBoundColumn UniqueName="colStream" DataField="StreamName" HeaderText="Stream"
SortExpression="StreamName" ReadOnly="true">
<FilterTemplate>
<telerik:RadComboBox ID="rcbStreams" DataTextField="Value" DataValueField="Value"
AppendDataBoundItems="true" AutoPostBack="false" SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("colStream").CurrentFilterValue %>'
runat="server" OnClientSelectedIndexChanged="SelectedIndexChanged">
<Items>
<telerik:RadComboBoxItem />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
function SelectedIndexChanged(sender, args) {
var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");
tableView.filter("colStream", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
</Columns>
<NoRecordsTemplate>
<asp:Label runat="server" ID="lblNoRecords" Text="No Business Roles found."></asp:Label>
</NoRecordsTemplate>
<PagerStyle PageSizeControlType="RadComboBox" />
</MasterTableView>
<PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
<ClientSettings EnableRowHoverStyle="true">
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>

This grid is contained in a user control, which is contained in another user control, as follows (ucBusinessRoles is the user control containing the grid):
<!-- Select Business Roles -->
<telerik:RadWindow runat="server" ID="wdwBusinessRoles" Modal="true" Width="820px"
   Height="500px" Behaviors="Close" CssClass="RadWindow_Pram">
   <ContentTemplate>
      <telerik:RadAjaxPanel ID="pnlBusinessRoles" runat="server">
      <pram:ucBusinessRoles ID="ucSelectBusinessRole" runat="server" TypeOfList="AssignRoleVariants"
         TypeOfSelection="SingleSelection" AllowNavigation="False" AllowNewBusinessRole="False" />
      </telerik:RadAjaxPanel>
      <telerik:RadButton ID="btnAddRolesToList" runat="server" Text="Select Role" CssClass="RadButton_Pram submit" />
   </ContentTemplate>
</telerik:RadWindow>

The RadComboBox used for filtering is bound to a dictionary, as follows:
Protected Sub grdBusinessRoles_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs) _
   Handles grdBusinessRoles.ItemCreated
 
   If TypeOf (e.Item) Is GridFilteringItem Then
      Dim filterItem As GridFilteringItem = CType(e.Item, GridFilteringItem)
      Dim combo As RadComboBox = CType(filterItem("colStream").FindControl("RadComboBoxClientName"), RadComboBox)
 
      combo.DataSource = Streams ' This is a Dictionary(Of Decimal, String)
      combo.DataValueField = "value"
      combo.DataTextField = "value"
   End If
 
End Sub

And the whole grid is bound in the NeedDataSource event.

The grid is displayed correctly and the drop-down list is populated correctly, but if I select a in the drop-down list to filter by it, then the grid refreshes and all the records are "filtered" (so it doesn't matter which value I select for filtering: I will always get no results, even if the list contains valid items), so the filtered grid will always be empty (see attachments).

I've tried several approaches and followed the tutorials and demos, but I couldn't get this working.

What am I doing wrong?

Thanks in advance.

Elliott
Top achievements
Rank 2
 answered on 15 Apr 2013
4 answers
301 views
I have a RadNumericTextBox defined as so:

<telerik:RadNumericTextBox
    runat="server"
    ID="_tbTickerSpeed"
    ShowSpinButtons="True"
    Label="Ticker Speed"
 >
    <NumberFormat DecimalDigits='0' />
    <EnabledStyle HorizontalAlign='Right'  />
</telerik:RadNumericTextBox>

When I was using version 2011.2.712.40, it displayed correctly.

I have upgraded to version 2012.1.215.40, and now the text box is much wider, and overlapping its label. (See the two attachments for the correct and incorrect display).


The generated HTML for the correct display:

<div id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_wrapper" class="RadInput RadInput_Default" style="width: 125px; display: inline-block; ">
            <table cellpadding="0" cellspacing="0" class="riTable" style="border-width:0;border-collapse:collapse;width:100%;">
                <tbody><tr>
                    <td><label class="riLabel" for="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_text" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_Label">Ticker Speed</label></td><td class="riCell" style="width:100%;white-space:normal;"><input type="text" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_text" name="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_text" class="riTextBox riEnabled" style="width: 100%; text-align: right; " maxlength="524288"><input style="visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed" class="rdfd_" value="" type="text" title=""><input style="visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_Value" class="rdfd_" name="ctl00$Main$_playerLocalSettingsControl$_tbTickerSpeed" value="" type="text" title=""></td><td class="riSpin"><a class="riUp" href="javascript:void(0)" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_SpinUpButton"><span>Spin Up</span></a><a class="riDown" href="javascript:void(0)" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_SpinDownButton"><span>Spin Down</span></a></td>
                </tr>
            </tbody></table><input id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_ClientState" name="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_ClientState" type="hidden" autocomplete="off">
        </div>


And the HTML for the incorrect display:

<span id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_wrapper" class="riSingle  riContSpinButtons RadInput RadInput_Windows7" style="width:160px;">
    <label class="riLabel" for="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_Label" style="width:64px;">Ticker Speed
    </label>
    <span class="riContentWrapper" style="width:96px;">
        <span class="riDisplay" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_display" style="color: rgb(0, 0, 0); display: inline; font-family: 'segoe ui', arial, sans-serif; font-size: 12px; line-height: normal; text-align: right; padding-left: 5px; padding-right: 5px; border-left-width: 1px; border-right-width: 20px; ">
            10
        </span>
    <input id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed" name="ctl00$Main$_playerLocalSettingsControl$_tbTickerSpeed" type="text" class="riTextBox riEnabled" style="text-align: right; color: transparent; "><a class="riUp" href="javascript:void(0)" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_SpinUpButton"><span>Spin Up</span></a><a class="riDown" href="javascript:void(0)" id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_SpinDownButton"><span>Spin Down</span></a></span>
    <input id="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_ClientState" name="ctl00_Main__playerLocalSettingsControl__tbTickerSpeed_ClientState" type="hidden" autocomplete="off" value="{"enabled":true,"emptyMessage":"","minValue":-70368744177664,"maxValue":70368744177664}">
</span>


What do I need to do to get this to display as it was before (ie as it displays in "tickerspeed_correct.png")?
Megan
Top achievements
Rank 1
 answered on 15 Apr 2013
15 answers
1.2K+ views

Hi,

is there known problem of radbutton not showing image until hover is off with IE9?

I have RadButton in one page where is also RadEditor:

<telerik:RadButton ID="ibtnSave" runat="server" CausesValidation="false" Width="43px" Height="43px" Text="<%$ Resources:ibtnSave %>" UseSubmitBehavior="false">

<Image ImageUrl="images/save.gif" EnableImageButton="true" />

</telerik:RadButton>

When I go to the page the button is there but the image is not showing. When you go over the button with mouse and go off then image turns visible.

Matt
Top achievements
Rank 1
 answered on 15 Apr 2013
2 answers
63 views

Only the 1st page has any rows, so what am I missing?  Here's the code:

<telerik:RadGrid ID="RadGridHistPats" runat="server" AutoGenerateColumns="False"
Skin="Outlook" AllowPaging="true" PageSize="10">
<MasterTableView >
<Columns>
<telerik:GridBoundColumn DataField="PatientID"
HeaderText="PatientID" UniqueName="PatientID">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>

protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("PatientID");
        for (int iCount = 0; iCount < 200; iCount++)
        {
            DataRow dr = dt.NewRow();
            dr["PatientID"] = iCount.ToString();
            dt.Rows.Add(dr);
        }
        RadGridHistPats.DataSource = dt;
        RadGridHistPats.DataBind();
    }
}


Scott
Top achievements
Rank 1
 answered on 15 Apr 2013
2 answers
153 views
I am using a RadTabScript in a .NET master page.  I have javascript functions defined that help track whether any changes have been made on pages inheriting the master page.  (i.e. a version of the "is dirty" algorithm)  It works save for 1 aspect; when I click on another child tab (when a tab has children), there is no change to that child tab.  The child tab's header is select, but I'm still looking at the original child tab.

Not all tabs have child tabs so whatever I come up with has to detect dynamically whether there are child tabs and which child tab has been clicked on.

Here is the javascript I have so far.  In the code-behind of each page, I've created the appropriate "onclick"/"onchange" Attribute calling the appropriate function.  I've noted where I'm uncertain what to do with copious question marks.  I've tried using get_selectedTab() on the resulting get_tabs list.  I've tried get_tab on that list trying to use selectedIndex on the sub tab list and the tab from get_tab.  Something always errs out.

<script language="javascript" type="text/javascript">
    var isTabClicked = "false";

    function OnClientTabSelecting(sender, args) {
        if (isTabClicked == "false") {
            //cancel the action
            args.set_cancel(true);

            //get the tab which is clicked
            var tab = args.get_tab();
            var sub_tabs = tab.get_tabs();
            if (sub_tabs != null) {
                //                ????????
                }
            }

            //check to see if a change has been logged
            var sChangedHF = document.getElementById('<%=ChangedHiddenField.ClientID%>');
            if (sChangedHF.value == "True") {
                if (confirm('You have unsaved changes on this page.  Continue without saving?')) {
                    isTabClicked = "true";
                    tab.click();
                }
            }
            else {
                isTabClicked = "true";
                tab.click();
            }
        }
    }
    function OnClientTabSelected() {
        //reset the isTabClicked variable
        isTabClicked = "false";
    }
    function confirmChange() {
        var sChangedHF = document.getElementById('<%=ChangedHiddenField.ClientID%>');
        sChangedHF.value = "True";
    }
    function resetChange() {
        var sChangedHF = document.getElementById('<%=ChangedHiddenField.ClientID%>');
        sChangedHF.value = "False";
    }
</script>

Here is the XML that references it.  (Obviously it has been scrubbed ... and by hand so please forgive any possible syntax errors.)

    <asp:HiddenField ID="ChangedHiddenField" runat="server" Value="False" />
confirmIgnoreChange();' EnableViewState="true" CausesValidation="false" runat="server">--%>
    <TRad:RadTabStrip id="CaseTabStrip" ClickSelectedTab="true" Skin="Sitefinity" OnClientTabSelecting="OnClientTabSelecting" OnClientTabSelected="OnClientTabSelected" EnableViewState="true" CausesValidation="false" runat="server">
        <Tabs>
            <TRad:RadTab Text="No Child 1" NavigateUrl="~/NoChild1.aspx" runat="server"></TRad:RadTab>
            <TRad:RadTab Text="Children 1" runat="server">
                <Tabs>
                    <TRad:RadTab Text="Child 1.1" NavigateUrl="~/Child1_1.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 1.2" NavigateUrl="~/Child1_2.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 1.3" NavigateUrl="~/Child1_3.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 1.4" NavigateUrl="~/Child1_4.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 1.5" NavigateUrl="~/Child1_5.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 1.6" NavigateUrl="~/Child1_6.aspx" runat="server"></TRad:RadTab>
                </Tabs>
            </TRad:RadTab>
            <TRad:RadTab Text="Children 2" runat="server">
                <Tabs>
                    <TRad:RadTab Text="Child 2.1" NavigateUrl="~/Child2_1.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 2.2" NavigateUrl="~/Child2_2.aspx" runat="server"></TRad:RadTab>
                </Tabs>
            </TRad:RadTab>
            <TRad:RadTab Text="No Child 2" NavigateUrl="~/NoChild2.aspx" runat="server"></TRad:RadTab>
            <TRad:RadTab Text="Children 3" runat="server">
                <Tabs>
                    <TRad:RadTab Text="Child 3.1" NavigateUrl="~/Child3_1.aspx" runat="server"></TRad:RadTab>
                    <TRad:RadTab Text="Child 3.2" NavigateUrl="~/Child3_2.aspx" runat="server"></TRad:RadTab>
                </Tabs>
            </TRad:RadTab>
            <TRad:RadTab Text="No Child 3" NavigateUrl="~/NoChild3.aspx" runat="server"></TRad:RadTab>
        </Tabs>
    </TRad:RadTabStrip>

If you need any more information to help me with this please do not hesitate to ask.  It is a high priority for me but I can move onto something else for now.

Thanks.
Nencho
Telerik team
 answered on 15 Apr 2013
1 answer
101 views
Here the online solutions depending drop down not vice versa. I have there drop down , data populate using wcf service. Please consider my scenario 
Step 1 : i am requesting first drop downs  values ( OnClientItemsRequesting="OnClientItemsRequesting" ) i am getting 500 records.
    function OnClientItemsRequesting(sender, e) {
        var context = e.get_context();
        context["UpdateKeys"] = UpdateKeys();// thjis function give 3 dropdown selected value
    }

Step 2: I am requesting second drop downs values now i am getting 400 records ( these 400 records are depending values on first drop down )
Step 3: I am requesting third drop downs values now i am getting 300 records ( these 400 records are depending values on first & second drop downs )
Step 4: Now i am again requesting First drop down values . This time i need to get only 50(which are depending on 2&3 drop downs). i am update getting 50 records when i am start type on drop down text box.
                            But i need to update when i open drop down. Here have client event OnClientDropDownOpening or OnClientDropDownOpened. But this event doesn't have e.get_context(); and all auto wcf calling like OnClientItemsRequesting event.
<telerik:RadComboBox runat="server" ID="dropdown1" CloseDropDownOnBlur="true" EnableAjaxSkinRendering="true"
        EnableTextSelection="true" ShowWhileLoading="true" EnableLoadOnDemand="true"
       OnClientItemsRequesting="OnClientItemsRequesting"
        ShowMoreResultsBox="true" MinFilterLength="3" EnableVirtualScrolling="true" EmptyMessage="Type refresh values..."
        Width="380" Height="250">
        <WebServiceSettings Path="/Services/service.svc" Method="FillFristDrop" />
    </telerik:RadComboBox>
     <telerik:RadComboBox runat="server" ID="dropdown2" CloseDropDownOnBlur="true" EnableAjaxSkinRendering="true"
        EnableTextSelection="true" ShowWhileLoading="true" EnableLoadOnDemand="true"
       OnClientItemsRequesting="OnClientItemsRequesting"
        ShowMoreResultsBox="true" MinFilterLength="3" EnableVirtualScrolling="true" EmptyMessage="Type refresh values..."
        Width="380" Height="250">
        <WebServiceSettings Path="/Services/service.svc" Method="FillSecondDrop" />
    </telerik:RadComboBox>
     <telerik:RadComboBox runat="server" ID="dropdown3" CloseDropDownOnBlur="true" EnableAjaxSkinRendering="true"
        EnableTextSelection="true" ShowWhileLoading="true" EnableLoadOnDemand="true"
       OnClientItemsRequesting="OnClientItemsRequesting"
        ShowMoreResultsBox="true" MinFilterLength="3" EnableVirtualScrolling="true" EmptyMessage="Type refresh values..."
        Width="380" Height="250">
        <WebServiceSettings Path="/Services/service.svc" Method="FillThirdDrop" />
    </telerik:RadComboBox>
  
  
<script language="javascript" type="text/javascript">
    function OnClientItemsRequesting(sender, e) {
        var context = e.get_context();
        context["UpdateKeys"] = UpdateKeys();
    }
    function UpdateKeys() {
       return values // return remaing 2 dropdown selected value
    }
</script>
Hristo Valyavicharski
Telerik team
 answered on 15 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?