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

SaveSettings/LoadSetting Method

3 Answers 42 Views
Filter
This is a migrated thread and some comments may be shown as answers.
rik butcher
Top achievements
Rank 1
rik butcher asked on 04 Jan 2013, 04:13 PM
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>

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 09 Jan 2013, 02:09 PM
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.
0
rik butcher
Top achievements
Rank 1
answered on 09 Jan 2013, 03:03 PM
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?
0
Kostadin
Telerik team
answered on 11 Jan 2013, 03:04 PM
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.
Tags
Filter
Asked by
rik butcher
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
rik butcher
Top achievements
Rank 1
Share this question
or