473,396 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

using calendar extendar

44
Hi

I have used a calendar extendar in my form. For that I have added a script manager. but if I add that I am having a error in designing in scriptmanager itself.
My coding is
Expand|Select|Wrap|Line Numbers
  1.  
  2. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="commision.aspx.vb" Inherits="commision" %>
  3.  
  4. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
  5. <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  6. Namespace="System.Web.UI" TagPrefix="asp" %>
  7.  
  8.  
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  10.  
  11. <html xmlns="http://www.w3.org/1999/xhtml" >
  12. <head runat="server">
  13. <title>Untitled Page</title>
  14. </head>
  15. <body>
  16. <form id="form1" runat="server">
  17. <div>
  18. <asp:Label ID="Label1" runat="server" Style="z-index: 100; left: 125px; position: absolute;
  19. top: 99px" Text="Commission"></asp:Label>
  20. &nbsp;
  21. <asp:TextBox ID="txtCommission" runat="server" Style="z-index: 101; left: 217px;
  22. position: absolute; top: 95px"></asp:TextBox>
  23. <asp:TextBox ID="txtDate" runat="server" Style="z-index: 102; left: 217px; position: absolute;
  24. top: 129px"></asp:TextBox>
  25. <asp:Label ID="Label2" runat="server" Style="z-index: 103; left: 123px; position: absolute;
  26. top: 129px" Text="Date"></asp:Label>
  27. <asp:Button ID="btncommission" runat="server" Style="z-index: 105; left: 239px; position: absolute;
  28. top: 207px" Text="Add" />
  29. <asp:ScriptManager ID="ScriptManager1" runat="server">
  30. </asp:ScriptManager>
  31. <br />
  32. <cc1:CalendarExtender ID="CalendarExtender1" runat="server">
  33. </cc1:CalendarExtender>
  34.  
  35.  
  36. </div>
  37. </form>
  38. </body>
  39. </html>
  40.  
error is
server tag asp:script manager is ambiguous. Please modify the associated registration that is causing ambiguity & pick a new tag prefix.
Jul 30 '08 #1
2 3178
DrBunchman
979 Expert 512MB
Change the tag prefix property in line 5 above to something other than 'asp' and amend the script manager tag accordingly - this should prevent the error from occurring.

Hope this helps,

Dr B
Jul 30 '08 #2
Frinavale
9,735 Expert Mod 8TB
I'm not sure why you have:
Expand|Select|Wrap|Line Numbers
  1. <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
Check your web.config <assemblies> section and see if you have:
Expand|Select|Wrap|Line Numbers
  1. <assemblies>
  2.     <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  3. </assemblies>
If not, add it. Then remove the...
Expand|Select|Wrap|Line Numbers
  1. <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
...from your asp page.

-Frinny
Jul 30 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: chennakeshava_ramesh | last post by:
hi, I have a problem, I am not able to find out which day of the week it is using the calendar class. I am using set() function to set the date and want to find out which day i.e mon,tue etc of...
3
by: Stephajn Craig | last post by:
How can I implement the Calendar Control in a popup Window so that when a user selects a date that the selected date is passed into a textbox on the page that opened the Calendar? Can anyone...
5
by: Merex | last post by:
Hello all, I want to use the Calendar control as a popup window. I would like each day's link to execute some javascript which would set the value of a textbox on the window which opened the...
0
by: K B | last post by:
I finally figured out how to use the Calendar Control in DetailsView edit, HOWEVER, it's awkward having the control show. My users are used to having an image to click on then bring up a pop-up...
2
by: Bob | last post by:
How do I show a calendar control or another appropriate control to pick a date and time for a cell in a column in a datagridview? Thanks for any help. Bob
7
by: spiderz78 | last post by:
hi all of you. My question is that I have a form with textbox to input the date then when click OK,it process the date.I want to put calendar instead of textboxes,so that the user can select the date...
3
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I am using an ajax masked edit extender along with a text box and masked edit validator and calendarExtender. It was working correctly but now for some reason when the user selects the image...
2
by: ravideep | last post by:
I want to attach a calendar alongside input box and on selecting a particular date from calendar, it should be filled into the input box as often seen in many websites. I know there must be some...
2
by: Toniyo Jackson | last post by:
Hi, Am using calendar extendar to select the date. Based on date am showing the records in pdf using iframe. after showing the record if i click the date calendar is going behind the iframe....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.