Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DatePicker in MM different than .NET
Message
From
14/06/2004 14:44:16
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
DatePicker in MM different than .NET
Miscellaneous
Thread ID:
00913580
Message ID:
00913580
Views:
62
There seems to be a difference between the normal .NET date picker and the MM Date Picker

I can use the following to format a return string:
Private Sub DateTimePicker_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
editReqdate.Text = DateTimePicker.Value.ToString("d")
End Sub

Private Sub MmDateTimePicker1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles MmDateTimePicker1.ValueChanged
editReqdate.Text = MmDateTimePicker1.Value.ToString("d")
End Sub

The second version with the MM control gives me an error:
"'Public Overridable Function ToString() As String' has no parameters and its return type cannot be indexed"

Do I need to use the MM Date picker in my MM form, or can I just use the standard control?

Or is there another way to set the syntax for the MM Date Picker?

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform