Print Page | Close Window

calender Day view

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15584
Printed Date: 01 October 2024 at 8:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: calender Day view
Posted By: bijiforyou
Subject: calender Day view
Date Posted: 11 November 2009 at 1:46am
I have a using calender control. How to change the Calender View type? (vb.net)


Imports System.Drawing
Imports System.Collections
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.Data
Imports XtremeCalendarControl

Public Class Form1
    Private Sub CmdDayView_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdDayView.Click
        If CalendarControl.ViewType <> CalendarViewType.xtpCalendarDayView Then
            CalendarControl.ViewType = CalendarViewType.xtpCalendarDayView
        End If
     End Sub
End Class


Run time have a error :  "calenderViewType" is ambiguous in the namespace 'XtremeCalenderControl'

How to solve that problem...?



-------------
BijiForYou



Replies:
Posted By: mdoubson
Date Posted: 12 November 2009 at 11:16am
Turn "Project Properties - Compile - Option strict" to be Custom or Off

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net