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>

ਇੰਸਟੈਂਸ

ਕੈਲੰਡਰ ਕੰਟਰੋਲ ਲਈ NextPrevFormat ਸੈਟ ਕਰੋ