
| <ClientSettings AllowDragToGroup="True" EnablePostBackOnRowClick="False" |
| EnableRowHoverStyle="True" ClientEvents-OnRowClick="RowClick"> |
| <ClientEvents OnRowClick="RowClick" /> |
| </ClientSettings> |
| function RowClick(sender, eventArgs) { |
| window.radopen("report_details.aspx?zipcode=" + eventArgs.getDataKeyValue("ZIPCode"), "UserListDialog"); |
| } |
| Dim obj_startDate As RadDatePicker = Parent.FindControl("txt_start_date") |
| Dim obj_endDate As RadDatePicker = Parent.FindControl("txt_end_date") |
| Dim obj_Radius As RadNumericTextBox = Parent.FindControl("txt_Radius") |
| Dim startDate As Date = obj_startDate.SelectedDate |
| Dim endDate As Date = obj_endDate.SelectedDate |
| Dim Radius As Decimal = obj_Radius.Text |


| protected void HandleNodeBound(object sender, RadTreeNodeEventArgs NodeEventArgs) |
| { |
| DataRowView dataSourceRow = (DataRowView)e.NodeBound.DataItem; |
| e.NodeBound.Image = dataSourceRow["Image"].ToString(); |
| ... |
| } |
| <rad:RadTreeView |
| ID="RadTree1" |
| runat="server" ... |
| OnNodeBound="HandleNodeBound"/> |
<telerik:RadSlider ID="SliderLivingArea" runat="server" Height="22px"
IsSelectionRangeEnabled="True" ItemType="Tick" LargeChange="10"
MaximumValue="50" MinimumValue="10" SelectionEnd="50" Skin="Black"
SlideStep="5" TrackPosition="TopLeft" Width="200px" >
</telerik:RadSlider>
Now in the scenario, where I need to access Minimum Value and Maximum Value ( Once the user changes the default minimum Value and Maximum Value to apply his own filters).
I am not able to fetch the user SelectionStart(which will be the new Minimum Value) and SelectionEnd (which will be new Maximum Value).
As I need to implement this on LINQ dynamic query, the selections are not been reflected onto the query on execution i.e on a ButtonClick where all the user selections should change the default data in the grid to the DATA(that needs to be based on User Filters Selections).
I have 4 different Sliders in the same page.
Any suggestions, regarding how to implement:
SliderLivingArea.MinmumValue=SliderLivingArea.SelectionStart;
SliderLivingArea.MaximumValue=SliderLivingArea.SelectionEnd;
.
.
.
var _query = from....
(SliverLivingArea.MinimumValue==SliderLivingArea.SelectionStart) && (q.LivingArea.???)
How to proceed on this situation.
Ideas..???
Thanks
Hi,
I am getting the following error in compilation at this part of the code ((SliderLivingArea.SelectionStart) && (q.LivingArea == SliderLivingArea.SelectionStart))
Error Desc: Error 1 Operator '&&' cannot be applied to operands of type 'int' and 'bool'
Though I tried Type casting but it didnt helped.
Any Ideas or suggesstions?
Another question, For the slider's Minimum value am I using the right property as .SelectionStart or Do I need to use .MinimumValue instead?
Cheers!