BindingRefresh Not updating Check Box Value

BindingRefresh Not updating Check Box Value

Old forum URL: forums.lhotka.net/forums/t/1693.aspx


Vinodonly posted on Monday, November 06, 2006

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

Else

TabCtrlUPrc.SelectedTab = TabPgSingleUPrc

End If

Problem 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..

 

Vinodonly replied on Wednesday, November 08, 2006

Still stuck with this problem.

Has anybody else faced same problem with Refresh...

Copyright (c) Marimer LLC