Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Web Drop Down as an Edit Provider
posted

I am getting an error when trying to add items to the web drop down edit provider I have added to the web data grid. I am able to use databind just fine to add list items, but as for static items at design time, its not accepting any.

The error I am receiveing is "Unknown server tag 'ig:DropDownItem'

Is this as intended?

<ig:WebDataGrid ID="WebDataGrid1" runat="server" Height="350px" Width="400px">
        <EditorProviders>
            <ig:DropDownProvider ID="DropDownProvider1">
                <EditorControl DropDownAnimationType="Linear" DropDownContainerHeight="0px" DropDownContainerMaxHeight="200px"
                    DropDownContainerWidth="0px" EnableDropDownAsChild="False" MultipleSelectionType="Checkbox"
                    PageSize="0">
                    <Items>
                    <ig:DropDownItem Text="Yes" Key="Yes" Value="1"></ig:DropDownItem>
                    <ig:DropDownItem Text="No" Key="No" Value="0"></ig:DropDownItem>
                    </Items>
                </EditorControl>
            </ig:DropDownProvider>
        </EditorProviders>
    </ig:WebDataGrid>

Parents
No Data
Reply
  • 24671
    Suggested Answer
    posted

    Hi,

    Could you try adding this to your ASPX page:

    <%@ Register assembly="Infragistics35.Web.v9.1, Version=9.1.20091.1015, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.ListControls" tagprefix="ig" %>

    You would probably need to replace Infragistics35 with Infragistics2, if you use .NET 2.0, and the version 1015 with another version, if different from the above.

    Hope this helps,

    Angel 

Children
No Data