Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Popup CalendarPopup Calendar
Previous
 
Next
New Post
2/19/2007 11:24 AM
 
I am creating my own module and I have a problem to include Popup Calendar. I tryed to use this but it's not working.

 <asp:TextBox ID="txtPublishDate" MaxLength="10" Columns="10" runat="server" />
                <asp:HyperLink text="Calendar" runat="server" CssClass="CommandButton" id="cmdCalendar" ResourceKey="publishCalendarLink" />
           
And I include this in my file as well.
<script type="text/javascript" language="javascript" src="../../js/PopupCalendar.js"></script>
Do I need to write in the code behind?
thanks
 
New Post
2/19/2007 12:34 PM
 
Add a linkbutton that will be used to call the calendar. For example:

<asp:linkbutton id="calMyCalendar" runat="Server" />


In the Load event use the InvokePopUp method of the DNN Calendar control. For example: calMyCalendar.NavigateURL = CType(Common.Utilities.Calendar.InvokePopupCal(txtMyCalendarDate), String)
txtMyCalendarDate is a textbox that will hold the value of the date selected in the calendar control.

Copied from http://dnnla.nesinteractivos.com/Desarrollo/DNNLibrary/tabid/88/TID/9/cid/10/Default.aspx

 

 
New Post
3/24/2009 4:30 AM
 

Hi All

 

Can someone please help me.

I am doing the same thing but I want my textbox to be readonly. The problem is that when I set the ReadOnly property of the textbox to true, the textbox defaults back to the default values after the postback. The default values are today's date and I set them in If( !IsPostback) block of code.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Popup CalendarPopup Calendar


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out