The provided code looks OK. The only reason I can think of for this problem to occur is that DeptIDLabel.Value
value is an empty string (""). If this is not the case, could you please open a support ticket and attach a sample runable project that reproduces the problem for further investigation?
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.