or


<telerik:OpenAccessLinqDataSource ID="OA_Promos" Runat="server" ContextTypeName="Flow.ST2_Data" EntityTypeName="" OrderBy="ID desc" ResourceSetName="Promos" Select="new (ID, identifier, descriptor, lastUpdated, notes, startDate, endDate, startTime, endTime, priority, Promo_art.Art, Promo_art.width, Promo_art.height, Promo_art.fileName, Promo_topic.SpotID)" Where="Deleted == @Deleted" > <WhereParameters> <asp:Parameter DefaultValue="0" Name="Deleted" Type="Int16" /> </WhereParameters></telerik:OpenAccessLinqDataSource><telerik:GridBoundColumn DataField="Promo_topic.SpotID" AllowFiltering="true" SortExpression="SpotID" CurrentFilterFunction="EqualTo" FilterControlAltText="Filter SpotID Column" AutoPostBackOnFilter="true" ShowFilterIcon="False" UniqueName="SpotID" HeaderText="Spot ID" DataType="System.UInt32"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="Promo_topic.SpotID" AllowFiltering="true" SortExpression="SpotID" CurrentFilterFunction="Custom" FilterControlAltText="Filter SpotID Column" AutoPostBackOnFilter="true" ShowFilterIcon="False" UniqueName="SpotID" HeaderText="Spot ID" DataType="System.UInt32"></telerik:GridBoundColumn>protected void ItemCommandFired(object sender, GridCommandEventArgs e){ if (e.CommandName == RadGrid.FilterCommandName) { Pair filterPair = (Pair)e.CommandArgument; if (filterPair.First.ToString() == "Custom") { string colName = filterPair.Second.ToString(); TextBox tbPattern = (e.Item as GridFilteringItem)[colName].Controls[0] as TextBox; e.Canceled = true; grid_promos.MasterTableView.FilterExpression = string.Format("(Promo_topic.SpotID.Equals({0})) AND (Promo_topic.SpotID != null)", tbPattern.Text); grid_promos.Rebind(); } }}
var $ = $telerik.$;var dropDown = dropDownTree.get_element();if (eventArgs.IsValid === false) { $(dropDown).find(".rddtInner").addClass("RadDropDownTreeFieldErrorHighlight");} else { $(dropDown).find(".rddtInner").removeClass("RadDropDownTreeFieldErrorHighlight");}