The first, sorry if this thread existed, but I don't find that in forums
I'm have two problem with Webdropdown
1. WebDropDown Filter with Unicode:
Previously, I'm used Net Advantage version 10.3 and filter with Unicode data input, it's worked fine. Now, I'm upgrade to Net Advantage version 13.1 and it's not work.
2. WebDropDown multiple columns
See my example:
<ig:WebDropDown ID="Dropdown_Test" runat="server" EnableAutoCompleteFirstMatch="false" Width="200px" EnableViewState="true" EnableAutoFiltering="Server" EnableLoadOnDemand="True" RowHeightDefault="16px" EnableClosingDropDownOnSelect="True" PageSize="50" Height="20px"> <ItemTemplate> <ig:WebDataGrid runat="server" ID="WDG_Grid_Inside_DropDown" Height="170px" Width="100%" EnableViewState="true" AutoGenerateColumns="False" rowheightdefault="20px" Font-Bold="False" EnableDataViewState="false" DataKeyFields="ID" DataSourceID="SqlDataSource1" ShowHeader="False" EnableAjax="False" OnDataFiltered="WDG_Grid_Inside_DropDown_DataFiltered"> <Columns> <ig:BoundDataField DataFieldName="ID" Key="ID" Hidden="true"> <Header Text="ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Descr" Key="Descr" Width="100%"> <Header Text="Descr" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Source_Desc_Lkup_Cd" Key="Source_Desc_Lkup_Cd" Hidden="true"> <Header Text="Source_Desc_Lkup_Cd" /> </ig:BoundDataField> </Columns> <Behaviors> <ig:Filtering Visibility="Hidden"> </ig:Filtering> <ig:Activation> </ig:Activation> <ig:Selection CellClickAction="Row" RowSelectType="Single"> <SelectionClientEvents RowSelectionChanged="ctl405_WDG_Grid_Inside_DropDown_Selection_RowSelectionChanged" /> </ig:Selection> </Behaviors> <ClientEvents Initialize="Init" /> </ig:WebDataGrid> </ItemTemplate> <ClientEvents ValueChanging="filterGrid" /> </ig:WebDropDown>
Client - side
var wdg; function Init(sender,e) { wdg = sender; }
function ctl405_WDG_Grid_Inside_DropDown_Selection_RowSelectionChanged(sender, eventArgs) { var drop = $find("Dropdown_Test"); var row = eventArgs.getSelectedRows().getItem(0).get_cell(0).get_value(); drop.set_currentValue(row, true);
drop._elements["Input"].focus(); drop.closeDropDown(); }
function filterGrid(sender, args) { var columnFilter = wdg.get_behaviors().get_filtering().create_columnFilter("Descr"); var condition = columnFilter.get_condition(); condition.set_rule($IG.TextFilterRules.BeginsWith); var dDown = $find("Dropdown_Test"); condition.set_value(dDown._elements["Input"].value); // Create an array for the two filters var columnFilters = new Array(columnFilter); // Add array of filters wdg.get_behaviors().get_filtering().add_columnFilter(columnFilter); // Call apply filter wdg.get_behaviors().get_filtering().applyFilters(); //document.getElementById("BT_Filter").click();
}
I want to filter on the WebDropDown but I have been getting an error: "ASP.NET Ajax client-side framework failed to load."
How can I solved this issue?
Thanks !
Hello M,
Thank you for contacting Infragistics!
I have a few follow up questions concerning this matter. What is the issue you are seeing with the Unicode codes? How are they not working? The error you get is that for the first or second issue? Can you provide the full error message?
Sincerely, Mike P. Developer Support Engineer II Infragistics, Inc. www.infragistics.com
I am following up to see if this matter has been resolved. If this isn’t the case please answer the following questions:
What is the issue you are seeing with the Unicode codes? How are they not working? The error you get is that for the first or second issue? Can you provide the full error message?
Hi Mike!
When I enter filter data input, it work fine with the first character. But not work with next character. Can I missing something?
I attached my example. Please solved this issue.
Thanks for the update. I have noticed your attachment is missing from the forum post. Please attach it again.
Let me know if you have any questions with this matter.
Hi Prabha!
I'm attach file again for you.
Thanks!