Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


AJAX :: Use Control Toolkit Source Code In Class Library?

I am making a class library. I want to use some of ajax control but don't know how to use ajax source code. suppose i want to use file upload control in my class library. How should i accomplish this task. I mean to say how should i refer ajax file upload sript file(.js) in my class library.

View 6 Replies (Posted: Jan 06, 2010 09:44 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
AJAX :: Class Library Reference For The Toolkit Controls
Is there a class library reference for the AJAX toolkit controls. I would like to see all of the properties and methods of the Accordian control.

Posted: Jun 17, 2010 06:37 PM

View 4 Replies!   View Related
AJAX :: Install Library Or Control Toolkit?
I wanted to install the ASP.NET AJAX Control Toolkit, but the download link takes you to the ASP.NET Ajax Library. Is the ASP.NET Ajax Library a replacement for the toolkit? Should I use this instead? If I should use the ASP.NET Ajax Library, how to make the controls part of WS2008?

Posted: Nov 25, 2009 09:36 PM

View 4 Replies!   View Related
AJAX :: Compile The Source Code Of Latest Toolkit
Recently, I downloaded the source code (not Binaries) of latest AJAX toolkit andintroducedsome changes in Calendar extender. Now, I would like to build the DLL out of it so that I can add it to my project and use it. Now, when I am trying to build DLL, it fails. It never compiles for me. Infact, I am not sure which project/application file exactly do I need to run.

Every-time, I try to open any Solution/Project, I get exceptions eitherfor some missing files or folders. I have both VS 2005 Pro and VS 2008 Express Edition installed. I need the libraries to be compatible with Framework 3.5.

Posted: Jul 08, 2010 12:16 PM

View 2 Replies!   View Related
Extracting Latest AJAX Control Toolkit Source File (Password)
VWD 2010 Express Beta 2. AJAX Control Toolkit version 30930 released Sep 30, 2009. I followed the directions to download the zip file containing the latest AJAX Control Toolkit ( I unblocked the file and then did an "Extract All." It extracted some of the files, then I got a dialogue that asks for a password saying, "File '..svnbridge' is password protected." If I skip the file others come up with the same message.

Posted: Oct 27, 2009 04:56 PM

View 1 Replies!   View Related
AJAX :: Server Code Executing Twice With Control Toolkit
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
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
i = rdr.Item(0)
End If
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
<%@ Page Language="VB" MasterPageFile="~/MasterPages/Admin_AftrLogin.master" AutoEventWireup="false"
&nbsp;&nbsp; &nbsp;CodeFile="Calendar.aspx.vb" Inherits="Administrator_Calendar" Title="Excel Crop Care Ltd. / Administration Section / Manage Calendar..." %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
&nbsp;&nbsp; &nbsp;TagPrefix="cc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
<cc1:TabPanel runat="server" HeaderText="Selected Dates" ID="TabPanel1">
<asp:GridView ID="Gridview1" runat="server" AutoGenerateColumns="False" DataKeyNames="srno"
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" ShowInsertButton="True">
<ItemStyle Width="20%" />
<asp:BoundField DataField="srno" HeaderText="No." ReadOnly="True" SortExpression="srno">
<ItemStyle Width="10%" />
<asp:BoundField DataField="date" HeaderText="Date" SortExpression="date">
<ItemStyle Width="30%" />
<asp:BoundField DataField="description" HeaderText="Description" SortExpression="description" />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%&#36; 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>
<cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Add New">
<td width="30%">
Date :
<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:TextBoxWatermarkExtender ID="Txt_dt_TextBoxWatermarkExtender" runat="server"
Enabled="True" TargetControlID="Txt_dt" WatermarkText="DD/MM/YY">
<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">
<td colspan="2">
<asp:Label ID="Lbl_msg" runat="server" Text="Enter description in the editor below :"></asp:Label>
<td colspan="2">
<cc2:Editor ID="Editor1" runat="server" Height="350px" />
<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" />

Posted: Jan 24, 2011 02:57 PM

View 1 Replies!   View Related
Use Genealogy (Family Tree) Source Code Or A Library Needed?
I am looking for any source code for my website to include a genealogy. I am not having time to build it up from the scratch. If any one can provide me the libraries or any partial code, so I could use it

Posted: May 31, 2010 12:15 PM

View 2 Replies!   View Related
Web Forms :: Way To Control Null When Inheriting From Class Library Class
I have this Control directive in a usercontrol (i've changed the namespace and class name):

<%@ Control Language="C#" AutoEventWireup="true" Inherits="Namespace.Path.To.ClassName" %>
<asp:TextBox runat="server" ID="txtComment" TextMode="MultiLine" ValidationGroup="comment" />
ClassName is a class that lives in a class library and this is the class:
namespace Namespace.Path.To
public class ClassName : System.Web.UI.UserControl
protected System.Web.UI.WebControls.TextBox txtComment;
protected void Page_Load(object sender, EventArgs e)
HttpContext.Current.Response.Write(txtComment == null);

Posted: Sep 16, 2010 08:28 AM

View 3 Replies!   View Related
AJAX :: Control ToolKit / Error Using The Numeric UpDown Control From Ajax Control Toolkit?
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'.

Posted: Dec 08, 2010 03:15 PM

View 2 Replies!   View Related
Page Code In Class Library
i create a class library and i wantmy code behind the page be there. in my page like login.aspx is a login controland i want to write some code for that but i got some error i don't know what i'm doing rong. the code behind in class library is:


and the codes in login.aspx page is:


after i buld the project the code behind doesn't find the MainLogin control

Posted: Dec 21, 2010 03:15 PM

View 3 Replies!   View Related
How To Move The Shared Code To A Class Library Project
I have a solution containing two projects. One project needs to share the code in the other.

Do I need to move the shared code to a Class Library project?

Posted: Apr 07, 2009 05:46 AM

View 5 Replies!   View Related
Visual Studio - Reference A Class Library In App Code Of Website?
I have an website with a reference to a class library. I can reference the class library in the aspx pages but how do I configure my site so that I can also reference the class library from a .cs file in app code?

Posted: Jan 13 at 2:01

View 1 Replies!   View Related
Visual Studio :: Code Behind Page Not Recognizing Class Library Project?
I've got an ASP.NET 4 web forms application I'm building inStudio 2010. The solution has two projects. A web forms application and a class library. I have added a reference to the class libraryr project in the web forms project, but when I go a code behind page in the web forms project, it does not recognize the class from the class library and throws the "type or namespace <class> could not be found ...." error. Adding a using <class library projec> does not work either as it does not recognize that.

What am I missing?

Posted: Jun 11, 2010 06:20 PM

View 8 Replies!   View Related
AJAX :: Inherit A Class From The Toolkit?
Could classes be derived from any of the toolkit's controls (e.g. ModalPopupExtender) so that their javascript behaviour be changed (slightly)?

I need to add a custom property to the ModalPopupExtender, which should be used in the calculation of its background shadow's size, in the javascript function _layoutBackgroundElement(). Yet I don't want to patch the original source and keep it in my Source Control system, rather I'd prefer to have a subclass which does this, if this is possible.

Posted: Dec 15, 2009 12:13 PM

View 4 Replies!   View Related
Referencing Label Control From Class Library?
How can I reference a label controlon a page from a Class?

Basically, I'm running some routines, and I need to spit somestringsback to label controls

The routines are called from events on the page, and I need some values to be returned to those label controls.

Posted: Oct 16, 2009 01:21 PM

View 6 Replies!   View Related
JQuery :: Any Example DotNetAge Jquery Library With Source Code
Any Example DotNetAge Jquery Library with source Code

Posted: Oct 25, 2010 11:41 AM

View 3 Replies!   View Related
Visual Studio :: LINQ Dynamic Query Library In Class Library
I'm having terrible trouble trying to get the LINQ Dynamic Query Library to work in anything other than a web project, where there also exists a Data Context in the same project. So, I've got my website, and class library which contains the .dbml file and the dynamic query code file. When I try an compile this class library, I get errors such as:

Type 'System.Data.Linq.Mapping.DatabaseAttribute' is not defined. Type 'System.Data.IDbConnection' is not defined.Type 'System.Data.Linq.Table' is not defined These errors occur in the desiger.vb file for my data context, and it seems like it's a clash of namespaces or a similar problem. Does anyone have any idea how I can solve this, actually done this, or know if this is possible?

Posted: Mar 27, 2008 09:26 AM

View 10 Replies!   View Related
Web Forms :: There's No Source Code Available For Current Location When Reference Class In DLL Project
I have2 project: the first is ClassBuilder and the second isWebApp. Inproject ClassBuilder, I have a class is called "ConnectionManager" (This class can get SqlConnection). In project WebApp I referencedll from ClassBuilder and Iuse class ConnectionManager to get SqlConnection, butwhen it runs, an error appears:There is no source code available for the current location Here is my code for class "ConnectionManager" in ClassBuilder


and I build it and test in WebApp


and the error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) I debug this error and I get this: There is no source code available for the current location.

Posted: Dec 18, 2009 11:25 AM

View 2 Replies!   View Related
Web Forms :: Using File Upload Control - Place Function In Class Library?
I am using file upload control in aspx page. I want to put file upload logic in class library. but not getting how to distribute logic.

Posted: Mar 05, 2010 09:47 AM

View 2 Replies!   View Related
AJAX :: Creating A Custom Ajax Control Toolkit Control Extender In C#?
When i tried to use thewalkthrough given in Asp.netTutorialto create custom ajax control toolkit control extender in c#i got an error when i added the class file DisabledButtonDesigner.cs , everything works fine except this class file

This is the tutorial link:


Error: Using the generic type 'AjaxControlToolkit.Design.ExtenderControlBaseDesigner<T>' requires '1' type arguments


Posted: Jun 15, 2009 12:08 PM

View 4 Replies!   View Related
AJAX :: Receive One Error Per Ajax Control Toolkit Control In The Project?
Built a web app on my local machine,and it works perfectly.Moved everything over to the production server (still editing and building from my local machine to the UNC path\123.456.789.0ShareSiteName), and I receive the following error (25 times)when building the project:


I receive one error per Ajax Control Toolkit control in the project.Found a couple other posts with similar issues and tried everything listed in those,I would post code, but I'm fairly confident this is a problem with either permissions or the server settings since everything works perfectly from the development box.

Posted: Aug 01, 2007 07:25 PM

View 11 Replies!   View Related
AJAX :: Code Jump Into Disassembly Looking For Toolkit File
I've been dealing with an AJAX issue for some time now and I can't seem to find an answer anywhere. When I'm debugging and stepping thru my code it will jump into disassembly looking for a toolkit file. If I fit f5I can continue debugging, but this happens often.

The latest one is:
Address: AjaxControlToolkit.ExtenderControlBase.ExtenderControlBase()
--- c:UsersswaltherprojectsaspNetAjaxReleases30930AjaxControlToolkitSourceAjaxControlToolkitExtenderBaseExtenderControlBase.cs
Isetup the toolkit by adding a reference to AjaxControlToolkit.dllThere's a line at the beginning of the markup...and everything appears to work outside of the debug issue.

Posted: Jul 15, 2010 06:08 PM

View 2 Replies!   View Related
AJAX :: Moving Toolkit Extenders Code To A Different File?
I am using quite a few AJAX toolkit extenders e.g. RoudnedCorners extender, Watermark extender, etc. in my webpage. The problem is that these extendersadd a lot of script code to my webpage causing performance issue. Also, the presence of these extenders works against search engine as the actual content gets pushed down the page, thereby being risked skipped by search engines.

Is there any way where I can move these AJAX control extenders and/or their generated scripts to a different file ?

Posted: Jun 09, 2010 11:36 AM

View 2 Replies!   View Related
C# - How To Show A Message Box From Inside A Class In A Class Library
Can anyone tell me how to show alert message inside the .cs file of class library project in c#? I am calling a method of cs file in classlibrary project. Whenever the control comes to the alert message statement inside the method, alert message should be shown on the web page(aspx) and the next statement to the alert message statement should not be executed.

Posted: Feb 24 10 at 20:00

View 3 Replies!   View Related
AJAX ::a Chat Source Code,developed In,ajax,sql Sever?
I need a chat source code,developed in,ajax,sql sever with stored procedures?

Posted: Dec 02, 2009 05:59 AM

View 3 Replies!   View Related
AJAX :: Control Validation In Page With Ajax Control Toolkit?
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.

I am using the ajax validators too.

this is the event of the button:


this is the code of one of the DDL



Posted: Nov 05, 2010 04:04 PM

View 2 Replies!   View Related
How To Remove The Space Inserted Automatically In Ajax Control Toolkit Tab Panel Control
The Ajax control toolkit tab panel automatically inserts a space by all four corners of the body. For example, go to 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?

Posted: Mar 29 10 at 18:11

View 1 Replies!   View Related
C# - Ajax Control Toolkit Modal Popup Extender Target Control Causes Postback
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:

<asp:Button id="LoginOpenButton" runat="server" Text="Login"/>

<asp:Panel ID="ContentPanel" runat="server" CssClass="modalPopup">
<fieldset> [code]....

My script manager has no properties other than the id and runat set.

Posted: Jul 29 10 at 3:25

View 1 Replies!   View Related
AJAX :: Control Toolkit 40412 / Trying To Use The Calendar Control In A Local Internet Enviroment?
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


Posted: Aug 09, 2010 07:40 PM

View 3 Replies!   View Related
AJAX :: Create Databound Nested Toolkit Accordion Programatically (In Code Behind)?
I have this so far but kindof stuck onhow to do it programtically if I'm using header and content templatesI have a xmldatasource..In a nutshell at what point in my code do I need to create a new accordion? does it need to be in the item_databound handler?



Posted: Aug 24, 2010 06:47 PM

View 3 Replies!   View Related
Error Using Editor Control From Ajax Control Toolkit / Value Cannot Be Null Or Empty
When trying to use the editor control i'm getting the following error:

Value cannot be null or empty.

Parameter name: elementID

Here's my HTML:


I'm using 4 with ajax control toolkit for version 4.

I believe the error is talking about the routing I have. Is there something special I have to do if I want to use the toolkit and custom routing?

Posted: Mar 27 at 20:06

View 1 Replies!   View Related
AJAX :: Control Toolkit Combobox Control Font - Square Is Not Appearing In The Text Area?
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

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.

Posted: Nov 19, 2010 08:55 AM

View 7 Replies!   View Related
AJAX :: Way To Remove Characters From Ajax Control Toolkit Masked Editor
i have used ajax control toolkit masked editor extender.i want to remove "_" from masking pattern and want to replace it with space. for ex. want" - - " instead of this


Posted: Dec 01, 2010 01:05 PM

View 2 Replies!   View Related
AJAX :: How To Create Collapsible Textbox With Jquery Or Ajax Control Toolkit
How i can create collapsible textbox with jquery or ajax control toolkit.

Posted: Apr 06, 2010 03:30 PM

View 1 Replies!   View Related
AJAX :: AJAX Control Toolkit HTMLEditor - Paste From MS Word (with Cleanup)
I'm using AJAX Control Toolkit HTMLEditor.

I have a sample Microsoft Word document which has severalparagraphs.

When I click the button "Paste from MS Word (with cleanup)" on the Editor, <br/> is inserted as the HTML instead of <p></p> i.e. HTML paragraphs.

I would like the MS Word paragraphs to retain their meaning and have a <p> instead of <br />.

(By the way, they are kept if I do a standard Paste, but then a lot of other obscure characters are inserted into the HTML)

Posted: Dec 03, 2010 06:09 AM

View 2 Replies!   View Related
AJAX :: Framework 2.0 Compatibility / Use The Latest AJAX Control Toolkit On A .net 2.0 Project?
Can I use the latest AJAX Control Toolkit on a .net 2.0 project which will be deployed to a server with framework 2.0 only? If not, where can I download the latest AJAX Control Toolkit for framework 2.0?

Posted: Jun 30, 2010 03:42 AM

View 4 Replies!   View Related
AJAX :: Is It Possible To Customize The Default Accordion Control In The Control Toolkit
Adding an Accordion only creates the outer most tags. I then have to add the headercssclass, contentcssclass etc. info.Then i have to manually add <Pane> tags, and then add Accordion Pane controls. Using VWDE 2008, is there a way to customize the control so that adding the Accordion control automatically adds this other info? Ideallywith2 Accordion Panes to start, but even just getting the various Accordion properties and the <Pane> tags added would make it much more <Pane>less!

Posted: Apr 21, 2010 06:38 PM

View 3 Replies!   View Related
AJAX :: Reference The Control Toolkit Dll In Order To Have Access To Control?
MSDN documentation says that the ScriptManager class is part of the System.Web.UI namespace and I see that I can create a ScriptManager object programmatically. However, I don't see the ScriptManager control on the front-end. Do I need to reference the Ajax Control Toolkit dll in order to have access to control?

Posted: Sep 16, 2010 08:50 PM

View 6 Replies!   View Related
AJAX :: Control Toolkit Controls Content Overlapping Control In 2.0?
I am using AJAX' Calendarextender control & Autocomplete extender controls with textboxes on my ASP.NET 2 form in VB 2005.I am placing those AJAX controls on a FORMVIEW. Below the 2 AJAX controls, lies a ASP.NET dropdownlist.The Calendarextender control & Autocomplete extender works perfectly.But, I noticed that whenever the Calendarextender control or Autocomplete extender POPS up its contents, they get partially hidden by the ASP DDL which lies below. Why is this happening ?

Posted: Jul 02, 2007 08:23 PM

View 8 Replies!   View Related
AJAX :: Change A Control In The Control Toolkit - Specifically NumericUpDown?
I was thrilled to find and usethe Ajax NumericUpDown control. The problem is that the control is much too wide. For example if you just have single digit numbers (1 through 10) the up down control edit box is too wide.

So what I am thinking is that I can download the source code for the toolkit. Customize the size of the text box to make is smaller and then rebuild the source code for the NumericUpDown control.

Has anyone ever done anything like this? I believe I can do it by myself, but am looking for feedback from others who have tried to do something similar. Are there any negative side effects or things I should be careful about?

Posted: Nov 26, 2009 05:41 PM

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved