Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/14/11 09:29:18 (13 years ago)
Author:
mjesner
Message:

#1499 wrong index in ComparisonsHelper; selectedValue in ComboBox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Views/Filter/Filters.ascx

    r6190 r6191  
    22<%@ Import Namespace="HLWebOKBQueryPlugin.Models" %>
    33<%@ Import Namespace="HLWebOKBQueryPlugin.OKBQueryService" %>
     4<%@ Import Namespace="HLWebOKBQueryPlugin.ViewModels" %>
     5
    46<!-- Put all into a form that calls the "AddFilter" Action-->
    57<div><table>
     
    4042    <% StringComparisonFilter filter = ((StringComparisonFilter)f); %>
    4143    <%: Html.Label(filter.Label)%>
    42     <%: Html.DropDownList(f.Id + "." + FilterModel.ComparisonDropDownList, new SelectList(FilterModel.StringComparisons,"Value","Text", filter.Comparison))%>   
     44    <%: Html.DropDownList(f.Id + "." + FilterModel.ComparisonDropDownList, new SelectList(FilterModel.StringComparisons, "Value", "Text",(int)filter.Comparison))%>   
    4345    <%: Html.TextBox(f.Id + "." + FilterModel.ValueTextbox, (filter.Value))%>
    4446    <% }
Note: See TracChangeset for help on using the changeset viewer.