Hello Everyone,
For some reason I can't seem to find an ASP.net WebCombo control. I have added the DLL: Infragistics35.Web.v11.2 but WebCombo doesn't show up in my toolbox (though a dozen or more other Infragistics web controls are there).
Any ideas?
Hi jathyal,
Thank you for posting in the community.
As of version 11.2 our classic ASP.NET controls including WebCombo have been retired. I would strongly recommend that you consider using our new AIKIDO controls. You can find a detailed list of the retired controls and their respective replacements at:
http://blogs.infragistics.com/blogs/taz_abdeali/archive/2011/11/17/asp-net-product-changes-in-2011-volume-2.aspx
If you need to use the classic controls download links for their versionless assemblies are available in the above article.
Please let me know if you have any questions.
Please feel free to contact me if you need further assistance with this matter.
Actually I do need a little bit of help. I looked at the page you directed me to regarding the new AIKIDO controls, realized that WebDropDown was the replacement for WebCombo and then started trying to figure out a way to get WebDropDown to do what I wanted.
I have a WebDataGrid with many columns, the first 3 are Job, Client and Description. The user clicks on an empty cell in the Job column and a WebDropDown shows.The WebDropDown needs to have 3 columns (Job#, Client#, Description) and the user chooses the entire row of the WebDropDown to fill in the first 3 columns of the WebDataGrid.
I searched online and I came to this page:
http://blogs.infragistics.com/forums/t/31472.aspx
Over there, the solution directs us to 2 other pages:
http://samples.infragistics.com/2009.1/WebFeatureBrowser/Default.aspx
&
Which do not seem to work. I would like to see these samples to get a better idea of this WebDropDown.
Do you know where I could see these samples?
Thanks.
jathyal
Thank you for your reply.
After looking at the sample code you have provided I can see no issues with the way your editor is defined. Note that on the client the id to be used to access the provider may be changed in the form of "WebDataGrid1_ctl00". For instance:
ig_controls.WebDataGrid1_ctl00
Additionally, you may try getting the provider through the grid object:
ig_controls.WebDataGrid1._editorProviders._items[0]
Please let me know if this helps.
Thank you for the suggestions.
I tried these but unfortunately my dropdownprovider is not one of the ig_controls object. ClientID does not seem to be defined for the drop down provider:
CS1061: 'Infragistics.Web.UI.GridControls.DropDownProvider' does not contain a definition for 'ClientID' and no extension method 'ClientID' accepting a first argument of type 'Infragistics.Web.UI.GridControls.DropDownProvider' could be found (are you missing a using directive or an assembly reference?)This is what the editorProvider tag looks like:
<
EditorProviders>
<ig:DropDownProvider ID="WebDataGrid1_DropDownProvider1">
<EditorControl ID="EC" runat="server" EnableAnimations="False"
EnableDropDownAsChild="False" EnableAutoFiltering="Server" TextField="Job"
DropDownContainerWidth="550px" DropDownContainerHeight="400px" AutoFilterQueryType="Contains">
<Items>
<ig:DropDownItem>
</ig:DropDownItem>
</Items>
<ItemTemplate>
<ig:WebDataGrid ID="WebDataGrid2" runat="server" AutoGenerateColumns="False"
DataSourceID="JobList">
<Columns>
<ig:BoundDataField DataFieldName="Job" Key="Job">
<Header Text="Job" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="Description" Key="Description">
<Header Text="Description" />
<ig:BoundDataField DataFieldName="Client" Key="Client">
<Header Text="Client" />
</Columns>
<Behaviors>
<ig:Selection CellClickAction="Row" RowSelectType="Single">
<SelectionClientEvents RowSelectionChanged="WebDataGrid2_RowSelectionChanged"/>
</ig:Selection>
<ig:Filtering>
<ColumnFilters>
<ig:ColumnFilter ColumnKey="Job">
<ConditionWrapper>
<ig:RuleTextNode Rule="Contains" />
</ConditionWrapper>
</ig:ColumnFilter>
</ColumnFilters>
</ig:Filtering>
</Behaviors>
</ig:WebDataGrid>
</ItemTemplate>
<ClientEvents SelectionChanging="CancelSelectionChanging" />
</EditorControl>
</ig:DropDownProvider>
</EditorProviders>
Can you see a reason why I'm not able to access the dropdown editor provider in javascript?
Thanks in advance.
Can you try accessing your dropdown provider using:
ig_controls.WebDataGrid1_DropDownProvider1
or alternatively:
$find('<%= WebDataGrid1_DropDownProvider1.ClientID %>')
Well now I've managed to get the webdropdown to be inside the dropdownprovider. I just can't access it to set the value when the row changes.
Here is a javascript function. The problem seems to be that WebDataGrid1_DropDownProvider1 is null. Any suggestions? Thanks in advance.
function
WebDataGrid2_RowSelectionChanged(sender, e) {
);
selectedRows = e.getSelectedRows();
Pickerrow = selectedRows.getItem(0);
cell0 = Pickerrow.get_cell(0);
cell1 = Pickerrow.get_cell(1);
cell2 = Pickerrow.get_cell(2);
text = cell0.get_text();
dropdown.set_currentValue(text,