imanedrisian
New member
- Joined
- Feb 25, 2012
- Messages
- 1
- Programming Experience
- 5-10
hi
I develped custom DateTimepicker in vb.net that users can pick date in persian lanquege with it.
in my main contrl class i have bindable property with name "Value". here is the property code :
With this code everything is just fine except that when i made change to my control "value" property, datasource not updating. but strange part of my problem is that when i change property name to anything else(Like "Dvalue","DateValue"... ) everything working just fine.
sorry for my poor English
Thanks
I develped custom DateTimepicker in vb.net that users can pick date in persian lanquege with it.
in my main contrl class i have bindable property with name "Value". here is the property code :
VB.NET:
<Editor(GetType(TypeEditor), GetType(UITypeEditor)), Browsable(True), _
Bindable(True)> _
Public Property Value As String
Get
Return _DateValue
End Get
Set(ByVal Value As String)
_DateValue = Value
Me.Text = Value
RaiseEvent ValueChanged(Me, New PropertyChangedEventArgs("Value"))
End Set
End Property
With this code everything is just fine except that when i made change to my control "value" property, datasource not updating. but strange part of my problem is that when i change property name to anything else(Like "Dvalue","DateValue"... ) everything working just fine.
sorry for my poor English
Thanks