I have an Unbound field with a dropdownprovider. How do I populate values like (FullAccess, NoAccess, Readonly) through clientsideevents. Samples will be very helpful. Here is the markup.
<ig:WebHierarchicalDataGrid ID="grdPermission" runat="server" DataKeyFields="ApplicationObjectID" AutoGenerateColumns="false" AutoGenerateBands="false" Width="100%" Height="100%" OnInitializeBand="grdPermission_InitializeBand" OnInitializeRow="grdPermission_InitializeRow"> <Columns> <ig:BoundDataField DataFieldName="ApplicationObjectID" Key="ApplicationObjectID" Hidden="true"> <Header Text="ApplicationObjectID" /> </ig:BoundDataField> <ig:UnboundField Key="GA" CssClass="center" Header-Text="GA"> <Header Text="Administrator"></Header> </ig:UnboundField> <ig:UnboundField Key="MA" CssClass="center" Header-Text="MA"> <Header Text="Member"></Header> </ig:UnboundField> <ig:BoundDataField DataFieldName="RoleID" Key="RoleID" Hidden="true"> <Header Text="RoleID" /> </ig:BoundDataField> <ig:UnboundField Key="Status" Hidden="true"></ig:UnboundField> </Columns> <Bands> <ig:Band DataMember="ChildObject" DataKeyFields="ApplicationObjectID" AutoGenerateColumns="false"> <Columns> <ig:BoundDataField DataFieldName="ApplicationObjectID" Key="ApplicationObjectID" Hidden="true"> <Header Text="ApplicationObjectID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Object" Key="Object"> <Header Text="Object" /> </ig:BoundDataField> <ig:UnboundField Key="GA" CssClass="center" Header-Text="GA"> <Header Text="Administrator"></Header> </ig:UnboundField> <ig:UnboundField Key="MA" CssClass="center" Header-Text="MA"> <Header Text="Member"></Header> </ig:UnboundField> <ig:BoundDataField DataFieldName="RoleID" Key="RoleID" Hidden="true"> <Header Text="RoleID" /> </ig:BoundDataField> <ig:UnboundField Key="Status" Hidden="true"></ig:UnboundField> </Columns> <Behaviors> <ig:EditingCore AutoCRUD="false" BatchUpdating="true"> <Behaviors> <ig:CellEditing Enabled="true"> <EditModeActions EnableF2="true" EnableOnActive="false" MouseClick="Single" /> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="GA" ReadOnly="false" EditorID="drpGA" /> <ig:EditingColumnSetting ColumnKey="MA" ReadOnly="false" EditorID="drpMA" /> </ColumnSettings> </ig:CellEditing> </Behaviors> </ig:EditingCore> </Behaviors> </ig:Band> </Bands> <EditorProviders> <ig:DropDownProvider ID="drpGA"> </ig:DropDownProvider> <ig:DropDownProvider ID="drpMA"> </ig:DropDownProvider> </EditorProviders> </ig:WebHierarchicalDataGrid> </div> </td> </tr>
Hello,I am still following your case. Have you been able to resolve the issue?If you have any concerns or questions, please feel free to contact me, I will be glad to help you.Thank you for choosing Infragistics components!
Best Regards,
Here is a sample how to bind WebDropDown menun on client side.
http://es.infragistics.com/samples/aspnet/drop-down/using-client-binding-to-bind-to-hierarchical-json.
My suggestion is to get the DropDownProvider and use this approach.
Hello,
Thank you for contacting Infragistics!This is an initial update to let you know that I have received your support request and will be looking into this matter for you. I will follow-up with you regarding my findings.