Ah, Yes, you are correct it is now working.
Sorry for the confusion on my part on where to place the code.
Thank you for your help on the matter.
________________________________
From: Joe Englert <englertj@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Tuesday, September 3, 2013 2:08 PM
Subject: RE: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Â
The script needs to understand where the type is defined. You can spell it out by providing the entire library path. It should work if you replace what you have with Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Marc Livingston
Sent: Tuesday, September 03, 2013 2:22 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
I do now know what you mean by prefix Infragistics.Win.UltraWinGrid
________________________________
From: Joe Englert <englertj@...<mailto:englertj%40biotek.com>>
To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>" <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 12:43 PM
Subject: RE: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Try prefixing with Infragistics.Win.UltraWinGrid to get Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList
From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of Marc Livingston
Sent: Tuesday, September 03, 2013 1:10 PM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Then I get this error:
Error: CS0103 - line 99 (559) - The name 'UltraComboStyle' does not exist in the current context
private void TimeExpenseForm_Load(object sender, EventArgs args)
{
// Add Event Handler Code
int DropDownList = 1;
int DropDown = 0;
epiComboC1.DropDownStyle = UltraComboStyle.DropDownList;
}
________________________________
From: Ted Koch <tkoch77@...<mailto:tkoch77%40yahoo.com><mailto:tkoch77%40yahoo.com>>
To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>" <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 10:44 AM
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
If you want a dropdownlist use this.
ucbEpiCustom1.DropDownStyle = UltraComboStyle.DropDownList
________________________________
From: Marc Livingston <livingstonmarc86@...<mailto:livingstonmarc86%40yahoo.com><mailto:livingstonmarc86%40yahoo.com>>
To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>" <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 11:37 AM
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
I should have added that I am not familiar with VB or C# at all. So I do not actually know what you are talking about.
________________________________
From: Jose Gomez <jose@...<mailto:jose%40josecgomez.com><mailto:jose%40josecgomez.com>>
To: Vantage <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 8:10 AM
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Why don't you use an ultracombo style instead of an arbitrary integer?
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraComboStyle.html
*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...<mailto:jose%40josecgomez.com><mailto:jose%40josecgomez.com>
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
On Tue, Sep 3, 2013 at 8:56 AM, livingstonmarc86 <livingstonmarc86@...<mailto:livingstonmarc86%40yahoo.com><mailto:livingstonmarc86%40yahoo.com>
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.<http://groups.yahoo.com/group/vantage/files/><http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.<http://groups.yahoo.com/group/vantage/files/><http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Sorry for the confusion on my part on where to place the code.
Thank you for your help on the matter.
________________________________
From: Joe Englert <englertj@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Tuesday, September 3, 2013 2:08 PM
Subject: RE: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Â
The script needs to understand where the type is defined. You can spell it out by providing the entire library path. It should work if you replace what you have with Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Marc Livingston
Sent: Tuesday, September 03, 2013 2:22 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
I do now know what you mean by prefix Infragistics.Win.UltraWinGrid
________________________________
From: Joe Englert <englertj@...<mailto:englertj%40biotek.com>>
To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>" <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 12:43 PM
Subject: RE: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Try prefixing with Infragistics.Win.UltraWinGrid to get Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList
From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of Marc Livingston
Sent: Tuesday, September 03, 2013 1:10 PM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Then I get this error:
Error: CS0103 - line 99 (559) - The name 'UltraComboStyle' does not exist in the current context
private void TimeExpenseForm_Load(object sender, EventArgs args)
{
// Add Event Handler Code
int DropDownList = 1;
int DropDown = 0;
epiComboC1.DropDownStyle = UltraComboStyle.DropDownList;
}
________________________________
From: Ted Koch <tkoch77@...<mailto:tkoch77%40yahoo.com><mailto:tkoch77%40yahoo.com>>
To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>" <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 10:44 AM
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
If you want a dropdownlist use this.
ucbEpiCustom1.DropDownStyle = UltraComboStyle.DropDownList
________________________________
From: Marc Livingston <livingstonmarc86@...<mailto:livingstonmarc86%40yahoo.com><mailto:livingstonmarc86%40yahoo.com>>
To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>" <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 11:37 AM
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
I should have added that I am not familiar with VB or C# at all. So I do not actually know what you are talking about.
________________________________
From: Jose Gomez <jose@...<mailto:jose%40josecgomez.com><mailto:jose%40josecgomez.com>>
To: Vantage <vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>>
Sent: Tuesday, September 3, 2013 8:10 AM
Subject: Re: [Vantage] I am trying to add the below code to a cusomization in Time and Expense Entry.
Why don't you use an ultracombo style instead of an arbitrary integer?
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraComboStyle.html
*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...<mailto:jose%40josecgomez.com><mailto:jose%40josecgomez.com>
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
On Tue, Sep 3, 2013 at 8:56 AM, livingstonmarc86 <livingstonmarc86@...<mailto:livingstonmarc86%40yahoo.com><mailto:livingstonmarc86%40yahoo.com>
> wrote:[Non-text portions of this message have been removed]
> **
>
>
> I am trying to add the below to a customization I have to limit user entry
> to only what is in the list. I converted this from a VB sample to C# using
> an online converter. I keep getting the following error though. Anyone have
> any ideas?
>
> private void TimeExpenseForm_Load(object sender, EventArgs args)
> {
> // Add Event Handler Code
> int DropDownList = 1;
> int DropDown = 0;
>
> ucbEpiCustom1.DropDownStyle = DropDownList;
> }
>
> Error: Error: CS0266 - line 103 (563) - Cannot implicitly convert type
> 'int' to 'Infragistics.Win.UltraWinGrid.UltraComboStyle'. An explicit
> conversion exists (are you missing a cast?)
>
> Here is the provided VB sample:
> Private Sub PartForm_Load(ByVal sender As object, ByVal args As EventArgs)
> Handles PartForm.Load
> '//
> '// Add Event Handler Code
> '//
> Dim DropDownList as Integer = 1
> Dim DropDown as Integer = 0
>
> ucbEpiCustom1.DropDownStyle = DropDownList
>
> End Sub
>
>
>
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.<http://groups.yahoo.com/group/vantage/files/><http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.<http://groups.yahoo.com/group/vantage/files/><http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]