When I click the button to open the modal popup it shows the popup but then continues and forces a postback causing the page to reload and the modal popup to be hidden again.Here is the markup for the control:
I can't get AJAX CT Autocomplete to work. The problem is when I start writing in textbox nothing happens. The frist problem I had experienced was when I tried to Add AutoComplete page method I got an error: "Cannot create page method "GetCompletionList"...". Then I tried creating it manually, but still nothing happens.
I'm using VWD2008, I just downloaded AJAX Control Toolkit 3.5 and installed it following the steps in the official site but can't find "Add Extender" option. I also have another problem that I cant fine the "EnableHistory" property in scriptmanager control properties.
When I am using control it gives error unable to reference extender assembly "AjaxToolkit control" version =4.1.7.1105 , culture = netural , publickey token=28f01b0e84b6d53e
And when running aspx page it gives unable to get property ui of undifeined or null reference..how it can be removed..
Any one has got a working example for the OnHoverOver and OnHoverOut animations ?I have tried one but it's not perfectly working, as I don't know how to change the position of the Popup panel or resize it !! and I still can see a grey shadow before my popup panel appears..it's weird... Here is my code :
I am Getting the following error using the Numeric UpDown Control from Ajax Control Toolkit. Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' contains a Web resource with name 'AjaxControlToolkit.NumericUpDown.NumericUpDownBehavior.debug.js', but does not contain an embedded resource with name 'AjaxControlToolkit.NumericUpDown.NumericUpDownBehavior.debug.js'.
I have created an application in Microsoft Visual studio 2005. And I have used Ajax control tool kit version 3.031106.0. It works fine in my local system. When I hosted this on the server,I am getting this following error.
"Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10606.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies"
I am tring to use Jquery autocomplete into my asp.net 2.0 application, I have all necessary file in place, I tried to worked on , but it seems like this is not working,can some one tell me that is asp.net 2.0 application without using AJAX toolkit works with Jquery autocomplete or it does not work?Note: this is plain asp.net 2.0 web application, it is not using AJAX.
I'm using Sys.UI.DataView and i have input of type text. I bind this input using live binding syntax and it works, but i want to add to this input autocomplete funcionallity.The problem is that autocomplete extender needs server side asp:TextBox and i can't find how to implement livebindng on this server control...
I am using following server side code to save the data from ASP.NET Control toolkit Editor to the database It follows with the HTML Code The problem is that, data is saved successfully. But it is saved twice. Main problem is this server side event is fired twice. How can i prevent it from firing twice?
Server side code Imports System.Data.SqlClient Partial Class Administrator_Calendar Inherits System.Web.UI.Page Protected Sub BtnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnAdd.Click Try Dim dbobj As New db Dim i As Integer = 0 Dim rdr As SqlDataReader = dbobj.selectQuery("select max(srno) from calendar") If rdr.HasRows = True Then rdr.Read() i = rdr.Item(0) End If rdr.Close() dbobj.insertQuery("insert into calendar values (" & i + 1 & " , '" & Me.Txt_dt.Text & "' , '" & Me.Editor1.Content & "')") dbobj = Nothing Catch ex As Exception End Try End Sub End Class HTML CODE <%@ Page Language="VB" MasterPageFile="~/MasterPages/Admin_AftrLogin.master" AutoEventWireup="false" CodeFile="Calendar.aspx.vb" Inherits="Administrator_Calendar" Title="Excel Crop Care Ltd. / Administration Section / Manage Calendar..." %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc2" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server"> <div> <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0"> <cc1:TabPanel runat="server" HeaderText="Selected Dates" ID="TabPanel1"> <ContentTemplate> <asp:GridView ID="Gridview1" runat="server" AutoGenerateColumns="False" DataKeyNames="srno" DataSourceID="SqlDataSource1"> <Columns> <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" ShowInsertButton="True"> <ItemStyle Width="20%" /> </asp:CommandField> <asp:BoundField DataField="srno" HeaderText="No." ReadOnly="True" SortExpression="srno"> <ItemStyle Width="10%" /> </asp:BoundField> <asp:BoundField DataField="date" HeaderText="Date" SortExpression="date"> <ItemStyle Width="30%" /> </asp:BoundField> <asp:BoundField DataField="description" HeaderText="Description" SortExpression="description" /> </Columns> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DataConnectionString %>" SelectCommand="SELECT * FROM [calendar]" UpdateCommand="Update calendar set date=@date,description=@description where srno=@srno" DeleteCommand="Delete from calendar where srno=@srno"></asp:SqlDataSource> </ContentTemplate> </cc1:TabPanel> <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Add New"> <ContentTemplate> <table> <tr> <td width="30%"> Date : </td> <td> <asp:TextBox ID="Txt_dt" runat="server" Height="16px" Width="170px" CausesValidation="True" Font-Names="Verdana" ForeColor="#666666"></asp:TextBox> <asp:ImageButton runat="Server" ID="Image1" ImageUrl="../Images/Calendar_scheduleHS.png" AlternateText="Click to show calendar" /><br /> <cc1:CalendarExtender ID="Txt_dt_CalendarExtender" runat="server" DaysModeTitleFormat="dd/MM/yy" Enabled="True" Format="dd/MM/yy" TargetControlID="Txt_dt" PopupButtonID="Image1"> </cc1:CalendarExtender> <cc1:TextBoxWatermarkExtender ID="Txt_dt_TextBoxWatermarkExtender" runat="server" Enabled="True" TargetControlID="Txt_dt" WatermarkText="DD/MM/YY"> </cc1:TextBoxWatermarkExtender> <cc1:MaskedEditExtender ID="Txt_dt_MaskedEditExtender" runat="server" MaskType="Date" CultureDateFormat="dd/MM/yy" Enabled="True" TargetControlID="Txt_dt" Century="2000" UserDateFormat="DayMonthYear" Mask="99/99/99"> </cc1:MaskedEditExtender> </td> </tr> <tr> <td colspan="2"> <asp:Label ID="Lbl_msg" runat="server" Text="Enter description in the editor below :"></asp:Label> </td> </tr> <tr> <td colspan="2"> <cc2:Editor ID="Editor1" runat="server" Height="350px" /> </td> </tr> <tr> <td colspan="2" align="center"> <asp:Button ID="BtnAdd" runat="server" Text="Add" OnClick="BtnAdd_Click" Width="75px" CssClass="btn" /> <asp:Button ID="Btn_Rem" runat="server" Text="Remove" OnClick="BtnAdd_Click" Width="75px" CssClass="btn" /> </td> </tr> </table> </ContentTemplate> </cc1:TabPanel> </cc1:TabContainer> </div> </asp:Content>
I just installed Ajax Toolkit. The controls are available in my Toolbox, but when I insert them in a page, Visual Studio underlines them with the error message "unknown server tag".
I googled the problem and found several ideas :
check if the DLL is in Bin folder check if ajaxToolKit tags prefix is registered in web.config and make sure I'm not using a different prefix in my pages check if the DLL is registered in the pages with <% @ Register ... %>
Unfortunately all of this is fine, but I still can't get the controls to work. Is something else missing ?
EDIT : My environment is ASP.Net 2.0, Ajax Extensions 1.0, Ajax Toolkit 1.0.20229, Visual Studio 2005
I am having issues with the autocomplete extender from the toolkit. I am using it to extend a textbox. I added a web service to the project that returns some values as a string().It works if I run it locally on either my development server or my production server, but when I try to run it from another machine the autocomplete box does not popup. I have other ajax extenders running on the page and they are working properly. Is there a security setting I need to set to get the autocomplete extender to work for the IUSR?
I have not yet done a deep dive into the Toolkit code. I need to try and make a couple of changes to the Calendar. The first one feels like an "it can't only be me that needs this" problem. I have EarliestDate and LatestDate parameters floating around. The requirement is to prevent the user clicking (ie they display as text rather than hyperlinks) any dates which fall outside of the two date limits.
An extension of that (not essential, more of a luxury) would be to prevent the user moving to months or years where the dates within that month/year are completely outside of the allowable range. The second one relates to when the initial view of the Calendar is Years. I need to either be able to specify that the initial display starts for a given historical year (without showing that year in the textbox); or [better] to be able to squeeze a larger number of years onto the display, so that the user can move back a greater number of years with fewer clicks.
I work with a charline (ajax control toolkit) and I want to manipulate from code behind but I do not really know how! I have an example but the data are in the aspx code.
<ajaxToolkit:LineChart ID="LineChart1" runat="server" ChartWidth="450" ChartHeight="300" ChartType="Basic" ChartTitle="United States versus European Widget Production" CategoriesAxis="2007,2008,2009,2010,2011,2012" ChartTitleColor="#0E426C" CategoryAxisLineColor="#D08AD9"
I need to set up the slide show based on a querystring parameter. I thought I had this figured out, but I clearly don't understand something about how the webservice works. I have this in the .aspx page:
i have used your code to export <div> to pdf & it works fine but when i am using a ajax controls in a <div> tag then it gives me error message i.e :-
Extender control 'CalendarExtender2' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors().Parameter name: extenderControl
The Ajax control toolkit tab panel automatically inserts a space by all four corners of the body. For example, go to http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Tabs/Tabs.aspx and look at the TabPanel on the page. The is a space before "Signature:" and "Bio:" labels. How can I set the space-width to 0px; in the tabPanel body?
I'm trying to use the Calendar control in a local intranet enviroment, so I need to put all the Javascript files locally, I've downloaded the Ajax Control Toolkit 40412 source code and extracted the Scripts from
"..AjaxControlToolkit_9c860ac12ae9SampleWebSitesAjaxClientWebSiteScripts",so I write the following code
i have a page with some control like update panel and cascading dropdownlist. I have added some asp require validators but it does not working.
I have an asp image button with a postback url set. When i click on this button, the validations does not occurs and the application goes to the next page.
ajaxcontrol toolkit combobox control, a picture is worth than a lot of words so here is the picif you are not able to view then here is the link
http://flic.kr/p/8Uw29z
the problem is the items text in the combox box is having a square beneath at the second character which is hindering the visibility of the list. but the square is not appearing in the text area.