iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
I am trying to add a dropdownlist in a specific column in WebGrid. I have specifed the FilterEditType as DropdownList.
But when I try to select a value in the list, I only see "Loading..."
No other choise is displayed.
If i change the type to TextBox, I can enter a value and it works.
What should I do to have a list of all available selections?
Thanks
grdColumn = CreateGridColumn(objGridTable, "MEtest") With grdColumn .Caption = GetLanguageTagName("MEtest") .DataMember = "MEtest" .ColumnType = ISNet.WebUI.WebGrid.ColumnType.Custom .AllowMultiLine = True .EditType = ISNet.WebUI.WebGrid.EditType.NoEdit .FilterEditType = ISNet.WebUI.WebGrid.FilterEditType.DropdownList .Visible = True End With
I created a simple sample based on your requirement, to generate column and value list at runtime.Please have the attached sample tested on your end and let us know whether it helps or not.
Please ensure that you’ve set the value of “EditType” property to “DropDownList” and have correctly set the ValueList.
We have a sample (start > All Programs > Intersoft WebUI Studio 2009 R1 SP1 > C# Samples (Visual Studio 2008 Solution) > EditorTypes.aspx) that shows how to use “DropDownList” as WebGrid editor type. Please modify the sample so that it replicates the issue and then send it back to us to be investigated further.
Hi Yudi,
The example you provided is for a column which is created at compiled time.
In my case, the column is created at runtime.
In your example, there is a ValueList attribute in the GridColumn.
It is not present in the code generated at runtime (see below).
How can I genererate the ValueList attibute when creating the grid column?
<WebGridColumn Name="MEOwner" DataMember="MEOwner" Caption="ME Owner" EditType="DropdownList" ColumnType="Custom" ShowInSelectColumns="No" Position="9" Width="120px" AllowMultiLine="True" FilterEditType="DropdownList" />
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname