SaveSettings/LoadSetting Method

4 posts, 0 answers
  1. rik butcher
    rik butcher avatar
    106 posts
    Member since:
    Jul 2009

    Posted 04 Jan 2013 Link to this post

    this is a radFilter (not on a grid) that i would like to save & or load settings and have the filter expand and show them.
    i get a method error when trying to use the :
                Session["RadFilterExpressions"] = RadFilter1.SaveSettings();
                LoadSettings.Enabled =
    true;
    tells me there's no method for this. is this something that's reserved for the radGridFilters only? i've done this before on grid filters, but not the STAND ALONE RADFILTER.
    and i've looked a literally every tutorial out there, so, if not doable - just lemme know and i'll walk away from this one.
    thanks
    rik

     

     

     

    <telerik:RadFilter ID="WorkOrdersRadFilter" runat="server" Skin="WebBlue" ShowApplyButton="true"

     

     

     

     

     

     

     

    OnApplyExpressions="WorkOrdersRadFilter_Apply" ApplyButtonText="Filter Work Orders"

     

     

     

     

     

     

     

    OnPreRender="WorkOrdersRadFilter_PreRender" OnFieldEditorCreating="RadFilter_FieldEditorCreating" OnItemCommand="WorkOrdersRadFilter_ItemCommand">

     

     

     

     

     

     

     

     

    <FieldEditors>

     

     

     

     

     

     

     

    <telerik:RadFilterTextFieldEditor FieldName="WORKORDERNUMBER" DisplayName="Work Order#"

     

     

     

     

     

     

     

    DataType="System.String" />

     

     

     

     

     

     

     

    <goldcustom:RadFilterComboBoxEditor FieldName="WOTYPENAME" DisplayName="WO Type"

     

     

     

     

     

     

     

    DataTextField="WOTYPENAME" DataSourceID="WorkOrderTypeFilterODS" DataType="System.String"

     

     

     

     

     

     

     

    ComboBoxSkin="WebBlue" />

     

     

     

     

     

     

     

    </FieldEditors>

     

     

     

     

     

     

     

     

     

    </telerik:RadFilter>

     

     

     

     

                                      

                                
                        </telerik:RadFilter>

  2. Kostadin
    Admin
    Kostadin avatar
    1711 posts

    Posted 09 Jan 2013 Link to this post

    Hi Rik,

    I suggest you to check out the following demo. The example demonstrates how to save/load RadFilter expressions.

    Kind regards,
    Kostadin
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. rik butcher
    rik butcher avatar
    106 posts
    Member since:
    Jul 2009

    Posted 09 Jan 2013 Link to this post

    that's the exact demo i've been to numerous times. and each time i try to implement that code, i get the "NO METHOD" error for "SaveSettings()"
    so, what am i missing here?
  5. Kostadin
    Admin
    Kostadin avatar
    1711 posts

    Posted 11 Jan 2013 Link to this post

    Hi Rik,

    I was not able to reproduce the issue. I guess you are using an older version of our controls where this method is still not implemented. I suggest that you download and use the latest version of Telerik controls.

    Kind regards,
    Kostadin
    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.
Back to Top