epiUltraCombo Behavior

Ok, my memory wasn't as good as I hoped.
I just ran a test.

private static void epiButtonC1_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
epiUltraComboC1.Text = String.Empty;
}

The above works for me. So that's the property you want. There may be an
issue with firing it on 'ValueChanged' since it updates the text itself. Try
grabbing a different event or just attaching your code to a button to
verify.

On Mon, Dec 20, 2010 at 1:46 PM, Aaron <aaronmclements@...> wrote:

>
>
> Thanks for the suggestion. I just tried that and it doesn't clear the C1
> box.
>
>
> --- In vantage@yahoogroups.com <vantage%40yahoogroups.com>, Waffqle
> Driggers <waffqle@...> wrote:
> >
> > I believe 'selectedtext' is the property you want to clear.
> >
> > On Mon, Dec 20, 2010 at 11:43 AM, Aaron <aaronmclements@...> wrote:
> >
> > >
> > >
> > > Epicor 9.04.506a
> > >
> > > I have the following two events:
> > >
> > > Private Sub epiUltraComboC2_ValueChanged(ByVal sender As Object, ByVal
> args
> > > As System.EventArgs)
> > > ' ** Place Event Handling Code Here **
> > > epiUltraComboC1.Value = DBNull.value
> > > epiUltraComboC1.Text = String.Empty
> > >
> > > EpiMessageBox.Show("T "&epiUltraComboC1.Text)
> > > EpiMessageBox.Show("V "&epiUltraComboC1.Value)
> > > End Sub
> > >
> > > Private Sub epiUltraComboC1_BeforeDropDown(ByVal sender As Object,
> ByVal
> > > args As System.ComponentModel.CancelEventArgs)
> > > ' ** Place Event Handling Code Here **
> > > EpiMessageBox.Show("T "&epiUltraComboC1.Text)
> > > EpiMessageBox.Show("V "&epiUltraComboC1.Value)
> > >
> > > SearchOnEmpBasicAdapterFillDropDownC1()
> > > End Sub
> > >
> > > I'm trying to clear the value and text of C1 anytime the value of C2
> > > changes. The problem is the data is not clearing. I've tried assigning
> > > String.Empty as well. The first two message boxes popup "blank", as
> > > expected, when I change the value of C2. However the edit box of C1
> still
> > > contains the data (as viewed on the GUI). It doesn't get cleared.
> > > Furthermore, when I click the dropdown on C1, it's text and value data
> still
> > > has the original values.
> > >
> > > Long winded explanation for a short question. How do I clear the edit
> box
> > > of an epiUltraCombo?
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]
Epicor 9.04.506a

I have the following two events:

Private Sub epiUltraComboC2_ValueChanged(ByVal sender As Object, ByVal args As System.EventArgs)
' ** Place Event Handling Code Here **
epiUltraComboC1.Value = DBNull.value
epiUltraComboC1.Text = String.Empty

EpiMessageBox.Show("T "&epiUltraComboC1.Text)
EpiMessageBox.Show("V "&epiUltraComboC1.Value)
End Sub

Private Sub epiUltraComboC1_BeforeDropDown(ByVal sender As Object, ByVal args As System.ComponentModel.CancelEventArgs)
' ** Place Event Handling Code Here **
EpiMessageBox.Show("T "&epiUltraComboC1.Text)
EpiMessageBox.Show("V "&epiUltraComboC1.Value)

SearchOnEmpBasicAdapterFillDropDownC1()
End Sub

I'm trying to clear the value and text of C1 anytime the value of C2 changes. The problem is the data is not clearing. I've tried assigning String.Empty as well. The first two message boxes popup "blank", as expected, when I change the value of C2. However the edit box of C1 still contains the data (as viewed on the GUI). It doesn't get cleared. Furthermore, when I click the dropdown on C1, it's text and value data still has the original values.

Long winded explanation for a short question. How do I clear the edit box of an epiUltraCombo?
I believe 'selectedtext' is the property you want to clear.

On Mon, Dec 20, 2010 at 11:43 AM, Aaron <aaronmclements@...> wrote:

>
>
> Epicor 9.04.506a
>
> I have the following two events:
>
> Private Sub epiUltraComboC2_ValueChanged(ByVal sender As Object, ByVal args
> As System.EventArgs)
> ' ** Place Event Handling Code Here **
> epiUltraComboC1.Value = DBNull.value
> epiUltraComboC1.Text = String.Empty
>
> EpiMessageBox.Show("T "&epiUltraComboC1.Text)
> EpiMessageBox.Show("V "&epiUltraComboC1.Value)
> End Sub
>
> Private Sub epiUltraComboC1_BeforeDropDown(ByVal sender As Object, ByVal
> args As System.ComponentModel.CancelEventArgs)
> ' ** Place Event Handling Code Here **
> EpiMessageBox.Show("T "&epiUltraComboC1.Text)
> EpiMessageBox.Show("V "&epiUltraComboC1.Value)
>
> SearchOnEmpBasicAdapterFillDropDownC1()
> End Sub
>
> I'm trying to clear the value and text of C1 anytime the value of C2
> changes. The problem is the data is not clearing. I've tried assigning
> String.Empty as well. The first two message boxes popup "blank", as
> expected, when I change the value of C2. However the edit box of C1 still
> contains the data (as viewed on the GUI). It doesn't get cleared.
> Furthermore, when I click the dropdown on C1, it's text and value data still
> has the original values.
>
> Long winded explanation for a short question. How do I clear the edit box
> of an epiUltraCombo?
>
>
>


[Non-text portions of this message have been removed]
Thanks for the suggestion. I just tried that and it doesn't clear the C1 box.

--- In vantage@yahoogroups.com, Waffqle Driggers <waffqle@...> wrote:
>
> I believe 'selectedtext' is the property you want to clear.
>
> On Mon, Dec 20, 2010 at 11:43 AM, Aaron <aaronmclements@...> wrote:
>
> >
> >
> > Epicor 9.04.506a
> >
> > I have the following two events:
> >
> > Private Sub epiUltraComboC2_ValueChanged(ByVal sender As Object, ByVal args
> > As System.EventArgs)
> > ' ** Place Event Handling Code Here **
> > epiUltraComboC1.Value = DBNull.value
> > epiUltraComboC1.Text = String.Empty
> >
> > EpiMessageBox.Show("T "&epiUltraComboC1.Text)
> > EpiMessageBox.Show("V "&epiUltraComboC1.Value)
> > End Sub
> >
> > Private Sub epiUltraComboC1_BeforeDropDown(ByVal sender As Object, ByVal
> > args As System.ComponentModel.CancelEventArgs)
> > ' ** Place Event Handling Code Here **
> > EpiMessageBox.Show("T "&epiUltraComboC1.Text)
> > EpiMessageBox.Show("V "&epiUltraComboC1.Value)
> >
> > SearchOnEmpBasicAdapterFillDropDownC1()
> > End Sub
> >
> > I'm trying to clear the value and text of C1 anytime the value of C2
> > changes. The problem is the data is not clearing. I've tried assigning
> > String.Empty as well. The first two message boxes popup "blank", as
> > expected, when I change the value of C2. However the edit box of C1 still
> > contains the data (as viewed on the GUI). It doesn't get cleared.
> > Furthermore, when I click the dropdown on C1, it's text and value data still
> > has the original values.
> >
> > Long winded explanation for a short question. How do I clear the edit box
> > of an epiUltraCombo?
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>