Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 17th, 2011, 12:27 AM
Authorized User
Points: 86, Level: 1
Points: 86, Level: 1 Points: 86, Level: 1 Points: 86, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default How to create textbox with calendar control?

Hi I would like to create a text with popup calendear facility. I tried it many times and search in google also but not got exact solution.
You can check the text box with calendar control by following below link

http://www.asp.net/ajaxlibrary/AjaxC.../calendar.aspx

Pls guide me to create such textbox.
Regards
Ranveer..........
Reply With Quote
  #2 (permalink)  
Old August 17th, 2011, 01:04 AM
Authorized User
 
Join Date: Aug 2011
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default Calendar Extender by Ajax

Hi Ranveer,

U need ToolKitScriptManager to use Calender Extender on the textbox..
Jus drag the textbox and the drag calenderextender into it...

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server"
TargetControlID="TextBox1">
</asp:CalendarExtender>

Cheers
Emma
Reply With Quote
  #3 (permalink)  
Old August 17th, 2011, 04:54 AM
Authorized User
Points: 265, Level: 5
Points: 265, Level: 5 Points: 265, Level: 5 Points: 265, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2010
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Textbox with calender extender is not working?

I have downloaded ajax toolkit and installed it sucessfully.

and put the following code


<div>
<asp:TextBox
ID="TextBox1"
runat="server"
width="300pt" />
<asp:ImageButton
ID="btnCalenderPopup"
Width="16" Height="16"
runat="server"
ImageUrl="~/images/calender.bmp"
CausesValidation="False" />
<ajaxToolkit:CalendarExtender
ID="CalendarExtender1"
runat="server"
TargetControlID="TextBox1"
PopupButtonID="btnCalenderPopup"
Format="dd/MM/yyyy" />

</div>



But I am getting this error. Pls check it...


Error Creating Control - CalendarExtender1This control cannot be displayed because its TagPrefix is not registered in this Web Form.
Reply With Quote
  #4 (permalink)  
Old January 1st, 2013, 06:52 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error Creating Control - CalendarExtender1This control cannot be displayed because it

Hi Abhishek,

to slove error

Error Creating Control - CalendarExtender1This control cannot be displayed because its TagPrefix is not registered in this Web Form.

You have to add
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

on the top of .aspx page
Reply With Quote
  #5 (permalink)  
Old January 1st, 2013, 03:37 PM
juliarvil
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by chintands View Post
Hi Abhishek,

to slove error

Error Creating Control - CalendarExtender1This control cannot be displayed because its TagPrefix is not registered in this Web Form.

You have to add
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

on the top of .aspx page
i dunno but i have done all the thing, why can't i do it. it's still a mess

Bill sharing app for roommates and Rent Room Calculator
Reply With Quote Received Infraction
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
create calendar from spreadsheet data iacon Excel VBA 1 February 10th, 2011 01:53 PM
need help to create my country calendar dimension dbayona SQL Server 2000 1 July 4th, 2007 12:54 AM
How to create event in Calendar smartacrobat ASP.NET 2.0 Basics 0 January 4th, 2007 02:54 AM
Calendar Control with Tab Control Slicemahn Access 1 June 12th, 2006 10:35 PM
Calendar and textbox koneruvijay VS.NET 2002/2003 4 January 27th, 2004 09:47 AM



All times are GMT -4. The time now is 12:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.