ASP.NET NextPrevFormat गुण

परिभाषा और उपयोग

NextPrevFormat गुण का उपयोग निर्धारित कैलेंडर में अगले महीने और पिछले महीने के लिंक का फॉर्मेट निर्धारित करने के लिए किया जाता है。

व्याकरण

<asp:Calendar NextPrevFormat="format" runat="server" />
गुण वर्णन
format

निर्धारित कैलेंडर में अगले महीने और पिछले महीने के लिंक का फॉर्मेट निर्धारित करता है。

संभावित मूल्य:

  • ShortMonth
  • FullMonth
  • CustomText

उदाहरण

नीचे दिए गए उदाहरण में NextPrevFormat को "ShortMonth" सेट किया गया कैलेंडर दिखाया गया है:

<form runat="server">
<asp:Calendar id="cal1" runat="server"> NextPrevFormat="ShortMonth" />
</form>

उदाहरण

Calendar कंट्रोल के लिए NextPrevFormat सेट करें