How can i get the text of Ice.Lib.Framework.EpiUltraComboPlus of navControl

I want to get the text of this navControl, can I use the usual way to declare the control in the form Ice.Lib.Framework.EpiUltraComboPlus and then get it according to EpiGiud and then get the control’s text property like other controls?


I will test it:

Ice.Lib.Framework.EpiUltraComboPlus navControl;
navControl = (EpiUltraComboPlus)this.csm.GetNativeControlReference("cb27bd11-f6d2-44a0-8686-16db4b4cd048");


:smiling_face_with_three_hearts: :smiling_face_with_three_hearts: Thank you so much have a good day! :smiley: :smiley:

What does navControl.Value.ToString() give you?

That is just the current value of the current dataview that it’s bound to. Don’t worry about the control just get the field out of the dataview

2 Likes

I didn’t look at his properties pic or really any pics to see that it was bound :grimacing:

Thanks for giving a better approach Jose!

1 Like
EpiDataView grdInvoiceList = (EpiDataView)(oTrans.EpiDataViews["InvListView"]);
		if(grdInvoiceList.dataView.Count>0 && grdInvoiceList.CurrentDataRow != null)
		{
			DataRow CurrentInvoiceNumRow = grdInvoiceList.CurrentDataRow;
			InvoiceNum = CurrentInvoiceNumRow["InvoiceNum"].ToString();

:smiling_face_with_three_hearts: :smiling_face_with_three_hearts: Thank you so much have a good day! :smiley: :smiley:

2 Likes