Subject: is IS contain Control seems like ComboBox, but display multiple records?
Prev Next
You are not authorized to post a reply.

Author Messages
David PUser is Offline

Posts:91

02/27/2008 1:48 AM  

Hi ,
I need a functionality which treat like SearchCombo with multiple selection by check box.the only differ is ,when i click ok after checked some records, they should appear in the list, i dont know much about Dev Express Controls, it might be possible that there is any control which does that functionality.

Actually i have a Group and Country field, a group can have multiple country, so when i add a group i might select multiple country in that group and save it, while when edit or view the record, all the selected country should display in the List,and user is also able to reselect country in the List.
I saw a control like that in IS, but dont know how to use it,it is same like SearchCombo, but the only difference is while i click ok, that control display selected record as a List.If anyone know about that type of control,


please help..

David PUser is Offline

Posts:91

02/27/2008 4:51 AM  

Hi,

    It is continues of my last post, i thing it is a grid which contain a ComboBox in its first cell of each row, while i open that combo, list is display with checkbox, when click on ok, all the check row get added into the grid.
I hope you are getting my issue, kindly suggest me something..

Thanks.

Pete Ian AUser is Offline

Posts:26

02/27/2008 7:51 AM  
Hi,

The name of the control is SearchComboControl and it is a IS control only. It is part to our SDK. You can used that control on grid by adding that control as a repository to the grid.

To add repository to the grid, just click on grid designer. Look the button In-place Editor Repository. Click on the Add drop down and select the ComboBoxEdit then click on Columns button on the left side of your panel and select the column and look for the column edit property and click on the drop down and select the exiting minus sign and you see your repository and select it and close the grid designer. On the designer section designer code look for your repository and change the private declaration to Interprise.Presentation.Base.Search.SearchComboControl and that's it.

I hope this may help you.

Pete Ian Angcay
ICBPI Cebu
David PUser is Offline

Posts:91

02/27/2008 9:30 PM  

Hi,

     Thanks for your valuable information.
     I have followed all the step u mentioned above except the last line which is 'On the designer section designer code look for your repository and change the private declaration to Interprise.Presentation.Base.Search.SearchComboControl and that's it'. I saw the designer,there was a line already written which is 'Friend WithEvents SearchComboControl1 As Interprise.Presentation.Base.Search.SearchComboControl'. I dont know what change is required in that.

Now, i run the site, it displays a grid with 2 columns contains dropdown,but while i click on those dropdown, they are not showing data , means they are not opening.

Please help..

If you are still not got my issue correctly,so kindly provide me your mail id,so i can mail you the flow of work by image, if you dont have any problem.

Thanks.. 

David PUser is Offline

Posts:91

02/27/2008 11:35 PM  

Hi, 
     I tried that you mentioned.I put some static value in ComboBox, actually this is not the exact requirement of mine, what i want that, on the click of dropdown in the grid, a list dispaly with check boxes fron of it, user can select some rows and when click ok (there is ok and Cancel button also avail),all the checked rows display in the list(Grid).

In other words,i want to create a grid ,the one of the columns are set to repository(combo box) then, when i select few items in combo box it will display in the list.


Please help me..

You can mail me on lokesh.kumar@rdpl.com for the same.

Lokesh Kumar
Software Engineer

RDPL

David PUser is Offline

Posts:91

02/27/2008 11:58 PM  

Hi,

     In the designer code there is some code related to Repository which is follows :-

Friend WithEvents RepositoryItemComboBox1 As DevExpress.XtraEditors.Repository.RepositoryItemComboBox.

If i changed the type of that variable and write code as

Friend WithEvents RepositoryItemComboBox1 As Interprise.Presentation.Base.Search.SearchComboControl

It creating problems..


Please let me know where i am wrong..

clyde bUser is Offline

Posts:72

02/28/2008 4:29 AM  
Hi,
 
Change its type to Interprise.Presentation.Base.Search.VRepSearchComboControl  not
 
Interprise.Presentation.Base.Search.SearchComboControl

Hope this helps..

Clyde Bito-on
Developer
Interprise Solutions

Clyde Bito-on
Developer
Interprise Solutions
clyde bUser is Offline

Posts:72

02/28/2008 5:36 AM  
Posted By clyde.b on 02/28/2008 4:29 AM
Hi,
 
Change its type to Interprise.Presentation.Base.Search.RepSearchComboControl not
 
Interprise.Presentation.Base.Search.SearchComboControl

Hope this helps..

Clyde Bito-on
Developer
Interprise Solutions


Clyde Bito-on
Developer
Interprise Solutions
Pete Ian AUser is Offline

Posts:26

02/28/2008 7:23 AM  
Hi,

Yes, change the Interprise.Presentation.Base.Search.RepSearchComboControl to Interprise.Presentation.Base.Search.RepSearchComboContro this control is a custom control from IS SDK. Provide the necessary basic properties like the following:
1. TableName - this is the name of the table or view to drop down.
2. DisplayField - this is the field you want to display in your grid.

I hope this may help you.

Pete Ian Angcay
ICBPI Cebu
David PUser is Offline

Posts:91

02/28/2008 8:47 AM  

Hi,

Thanks for the information. i work out on it and let you know the status for the same.

Thanks.

David PUser is Offline

Posts:91

02/29/2008 8:06 AM  
Hi,
    Well, i am still looking solution of folowing problems,can anyone let me know to get out it.The

Scenario is that i have a existing Country plugin (List/Detail form), i need to add a functionality in it, for which i am adding a tab section in existing Country Plugin,this is Shipping Group functionality, like a country can have multiple Shipping Group.So please let me know anyone that how can i go through on that.

 Issue #1 :-    how to bind data into new tab section,when it is added to new tab section ?(in my case , I have a grid in newly added tab, it should display data,if database table exist data).
 Issue #2 :-    how to get the current country code, when focus on newly added tab section, in that case, we can get the information of current selected country from the dataset (if 'UK' is selected as an Country and I go to Shipping Group, only shipping group of UK should display).
 Issue #3 :-    how to save data in the database while focus is lost from the newly added tab section(I changed the tab or click on save, it should save data in the                         database).
 Issue #4 :-    ComboBox functionality in the grid(it is the issue which mentioned in this forum very first)
 
I am working on above task till it is not completed, and I know without help its really very difficult to me to resolve those issues.
 
 If you are not getting the issues correctly,please let me know. 

Please help...
 
Thanks
David PUser is Offline

Posts:91

03/02/2008 10:37 PM  

hi,

    i am facing problem to bind the grid of a section which need to be add in a existing plugin, to use that i create a section and added a grid , bind it by dataset available through facade, then added into existing plugin as a section, but while i run it, it shows blank, it is not binding the grid.

Suggest me something to do that, actually i need to add a section in existing plugin, which shows data in it.

Please help..

Pete Ian AUser is Offline

Posts:26

03/04/2008 7:41 AM  
Hi,

With regards to your problem about the combobox in the grid, well I provide you the solution in my previous posting. If you have a time call our support and ask for a goto meeting with our trainer developer. We can show you how it works.

Regarding your 4 issue.

Issue 1: - You can bind the data to the existing database by making it reference to your current project. We have a problem on update dataset on that. Our R&D are still working on it.

Issue 2: - Try to used this methods Interprise.Presentation.Base.BaseForm.ActiveForm.FindForm()

Dim CarrierDetForm as Form
CarrierDetForm = Interprise.Presentation.Base.BaseForm.ActiveForm.FindForm()

Issue 3: - We have a problem on that. These is what i said on issue 1. Because the updatedataset is not called when you press the button saved on.

Issue 4: - My solution to this issue are already posted above. We your still confused try to ask a goto meeting with our support team, about this matter and they well forward you to our trainer developer.


I hope this may help.

Pete Ian Angcay
ICBPI Cebu







David PUser is Offline

Posts:91

03/05/2008 2:18 AM  
Hi, 

      I am still not able to got the solution. Can you arrange a meeting for the issues?
      If yes, please let me know on the forum or my mail id lokesh.kumar@rdpl.com
      

Thanks
David PUser is Offline

Posts:91

03/11/2008 7:39 AM  

Hi,

     I have beed added a Grid with the Multi Check ComboBox in it,now what i need to show those checked rows in the list while click on Ok, please help me.If possible, please provide steps to do the code & related code.

 

Thanks in Advance.

You are not authorized to post a reply.
Forums > Connected Business Platform > Source Code Questions > is IS contain Control seems like ComboBox, but display multiple records?



ActiveForums 3.7
Privacy Statement  |  Terms Of Use
Interprise Software Systems International Inc.