I have a check box called Multiple Unit Price and a 2 tab pages, if a order is having single unit price then first page is shown and if it is having multiple unit price then 2nd page is shown.
TabCtrlUPrc.SelectedIndexChanged & IsMultipleUPrcCheckBox.CheckedChanged both are routing to a handler which is having following code
If IsMultipleUPrcCheckBox.Checked Then
TabCtrlUPrc.SelectedTab = TabPgMultiUPrc
ElseTabCtrlUPrc.SelectedTab = TabPgSingleUPrc
End IfProblem is that if a record is having checked box checked and when i uncheck it and start updating the first field in the single page and press tab, it automatically jumps to the second page.
After tracing code in debugger, it was found that on the first call even if the check box is not checked, it is showing it as checked i.e. value is not getting refreshed on first call.
later on it is ok, i'm also having BindingRefresh and my both bindingsource ReadValues is set to true but this problem is happenning..
can anybody help in this..
Still stuck with this problem.
Has anybody else faced same problem with Refresh...
Copyright (c) Marimer LLC