How to bind DropdownProvider data(List) by sever side?
By the way,i want to create a Multi-Column WebDropDown as DropdownProvider .
I bind data by OnItemsRequested event,but it didn't worked.
<EditorProviders> <ig:DropDownProvider ID="ddlSOPActionCode" > <EditorControl ID="WebDropDown1" TextField="SOPActionCode" Width="150px" ValueField="SOPActionCode" OnItemsRequested="WebDropDown1_ItemsRequested" runat="server" > <DropDownItemBinding TextField="SOPActionCode" ValueField="SOPActionCode"></DropDownItemBinding> </EditorControl> </ig:DropDownProvider> </EditorProviders> <Behaviors> <ig:EditingCore BatchUpdating="true"> <EditingClientEvents CellValueChanging="uwgSOP_Editing_CellValueChanging" /> <Behaviors> <ig:CellEditing Enabled="true"> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="SOPActionCode" EditorID="ddlSOPActionCode" /> </ColumnSettings> <CellEditingClientEvents EnteringEditMode="uwgSOP_CellEditing_EnteringEditMode"> </CellEditingClientEvents> <EditModeActions EnableOnKeyPress="True" MouseClick="Single" EnableOnActive="true" /> </ig:CellEditing> <ig:RowDeleting Enabled="true" /> <ig:RowAdding Alignment="Top" EditModeActions-EnableOnActive="true" EditModeActions-MouseClick="Single" Enabled="false"> <EditModeActions MouseClick="Single" EnableOnActive="True"></EditModeActions> <AddNewRowClientEvents /> </ig:RowAdding> </Behaviors> </ig:EditingCore> </Behaviors>
Thanks.
Problem solved.
Hello,
Let me know if I can assist you with something else.
This is the ID of the editor provider, this ID is automatically generated because it is nested within the WebDataGrid. If you want to set some static ID you need to use ClientIdMode property of the EditorControl.
Hi.
I mean why contorl id is "WebDataGrid1_ctl01".
i can't find any contorl named "WebDataGrid1_ctl01" from your attachment.
Could you please add jQuery library to the website after the title section.
Also you can try to access the WebDropDownEditorProvider like:
Looking forward to hearing from you.