Showing posts with label toolkit. Show all posts
Showing posts with label toolkit. Show all posts

Wednesday, March 28, 2012

AJAX Update Panel Problems

Hi,

I'm converting an existing site to use the AJAX toolkit. So far the only problems I've had have been the usual teething problems when learning a new technology. Now though, I'm having a problem with using one of my existing classes from code invoked from a control in an update panel. It's always worked fine until using the update panel. I've pasted the code below (i got it off the web by the way). If i call it from a control outside of an update panel i have no problems.

The error message i'm getting is as follows:

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(). response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'leteWeek"));
});
|<script language='ja'.

Any help/pointers would be much appreciated.

publicclassMessageBox

{

privatestaticHashtable m_executingPages =newHashtable();

private MessageBox(){}

publicstaticvoid Show(string sMessage )

{

// If this is the first time a page has called this method then

if( !m_executingPages.Contains(HttpContext.Current.Handler ) )

{

// Attempt to cast HttpHandler as a Page.

Page executingPage =HttpContext.Current.HandlerasPage;if( executingPage !=null )

{

// Create a Queue to hold one or more messages.

Queue messageQueue =newQueue();

// Add our message to the Queue

messageQueue.Enqueue( sMessage );

// Add our message queue to the hash table. Use our page reference

// (IHttpHandler) as the key.

m_executingPages.Add(HttpContext.Current.Handler, messageQueue );

// Wire up Unload event so that we can inject

// some JavaScript for the alerts.

executingPage.Unload +=newEventHandler( ExecutingPage_Unload );

}

}

else

{

// If were here then the method has allready been

// called from the executing Page.

// We have allready created a message queue and stored a

// reference to it in our hastable.

Queue queue = (Queue) m_executingPages[HttpContext.Current.Handler ];

// Add our message to the Queue

queue.Enqueue( sMessage );

}

}

// Our page has finished rendering so lets output the

// JavaScript to produce the alert's

privatestaticvoid ExecutingPage_Unload(object sender,EventArgs e)

{

// Get our message queue from the hashtable

Queue queue = (Queue) m_executingPages[HttpContext.Current.Handler ];if( queue !=null )

{

StringBuilder sb =newStringBuilder();

// How many messages have been registered?

int iMsgCount = queue.Count;

// Use StringBuilder to build up our client slide JavaScript.

sb.Append("<script language='javascript'>" );

// Loop round registered messages

string sMsg;while( iMsgCount-- > 0 )

{

sMsg = (string) queue.Dequeue();

sMsg = sMsg.Replace("\n","\\n" );

sMsg = sMsg.Replace("\"","'" );

sb.Append(@dotnet.itags.org."alert( """ + sMsg +@dotnet.itags.org.""" );" );

}

// Close our JS

sb.Append(@dotnet.itags.org."</script>" );

// Were done, so remove our page reference from the hashtable

m_executingPages.Remove(HttpContext.Current.Handler );

// Write the JavaScript to the end of the response stream.

HttpContext.Current.Response.Write( sb.ToString() );

}

}

Hi,

you can't use Response.Write during a partial postback. The reason is that the response sent after a partial postback has a special format (you could useFiddler to see it). If you use Response.Write, you're directly writing to the response stream and corrupting the response's format.

To inject JavaScript during a partial postback, you should use the static RegisterXXX methods of the ScriptManager control.


Thanks for that. I found aa article elsewhere explaining how to use the script manager and I've got that working fine. Thanks for your help.

AJAX Toolkit: Latest release

Can anyone recommend any references or textbooks which provide a comprehensive overview of the latest release of AJAX and the Toolkit?

The walkthroughs, samples, and forum topics are helpful. However, being new to the application(s), I feel as if I'm starting in the middle, and I'm struggling to really understand the big picture. I'd like to really understand the details what is happening under the hood, and how everything fits together

Hi,

you can find several interesting videos upon the subject:http://www.asp.net/Learn/videos/default.aspx?tabid=63#ajax. I'm not sure if there are any books about the toolkit at this moment. To get a first decent grasp on the subject I suggest that you read the documentation:http://ajax.asp.net/docs/.

Grz, Kris.


Kris

The videos look interesting, I'll give them a try.

Somehow when I was going thru the AJAX and Toolkit areas, I missed them. There is so much there, and it is spread around so much, its difficult to grasp it all.

Thanks

Qball

AJAX Toolkit: HoverMenuExtender

I'm using the HoverMenuExtender to form nifty little formattable Tooltips for a site I'm working on. They work fantastic, except for one niggling little problem:

When the page loads, for the briefest of moments all of the tooltips are visible.

Here's one of them:

<span id="spnTooltipRSM" runat="server" class="clsCursorPointer txtRedBold">?</span>
<asp:Panel ID="pnlRSMTooltip" runat="server" CssClass="clsToolTip">
<strong>Enter Manager's Name</strong>
</asp:Panel>
<cc1:HoverMenuExtender ID="HoverMenuExtender3" runat="server"
TargetControlID="spnTooltipRSM"
PopupControlID="pnlRSMTooltip" PopupPosition="Bottom"
OffsetX="15" OffsetY="15" PopDelay="100" />

Anyone have an idea as to why the brief show & tell is going on?

Just add the attribute Style="Visibility:Hidden" to the span like this:

<span id="spnTooltipRSM" runat="server" class="clsCursorPointer txtRedBold" Style="Visibility:Hidden" >?</span>

You may also add Visibility:Hidden in your css class.

If this doesn't work try css property Display:None instead.


That span tag isn't the problem - it's the ASP:Panel where the tooltop actually sits that is the problem. the span tag with the ? in it is supposed to always be visible. the panel is supposed to only be visible on mouseover.


Hi Morydyn,

Based on your description , I think you should hide the Panel at the beginning instead of the Span. Here is the sample:

<%@. Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
<script runat="server"
</script
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<span id="spnTooltipRSM" runat="server" class="clsCursorPointer txtRedBold">?</span>
<asp:Panel ID="pnlRSMTooltip" runat="server" CssClass="clsToolTip" style="display:none">
<strong>Enter Manager's Name</strong>
</asp:Panel>
<ajaxToolkit:HoverMenuExtender ID="HoverMenuExtender3" runat="server" TargetControlID="spnTooltipRSM"
PopupControlID="pnlRSMTooltip" PopupPosition="Bottom" OffsetX="15" OffsetY="15"
PopDelay="100" />
</div>
</form>
</body>
</html>

If I have misunderstood , please let me know.
Best regards,
Jonathan

Monday, March 26, 2012

Ajax Toolkit, calendar extender control

I have troubles with calendar control. When I tryed to run site with this control in Visual Studio i see the correct language - russian, but when i tryed to run deployed site using iis, i see english - names of months, days header.

i tryed to write in config files globalisation, ui culture, add charset win-1251, but no differences. i see only english words.

Have you set the EnableScriptGlobalization property to true in the scriptmanager?

yes


Hi

You should specifily its Culture and UICulture. Furture more, you should set ScriptManager's EnableScriptGlobalization and EnableScriptLocalization property to true.

EnableScriptLocalization: http://www.asp.net/AJAX/Documentation/Live/mref/P_System_Web_UI_ScriptManager_EnableScriptLocalization.aspx

EnableScriptGlobalization: http://www.asp.net/AJAX/Documentation/Live/mref/P_System_Web_UI_ScriptManager_EnableScriptGlobalization.aspx

Here is the sample.

<%@. Page Language="C#" Culture="ru-RU" UICulture="ru"%><%@. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"></script><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true" > </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button2" runat="server" Text="hide" OnClientClick="return hideCalendar()"/> <asp:Button ID="Button1" runat="server" Text="show" OnClientClick="return false;"/> <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1" PopupButtonID="Button1" > </ajaxToolkit:CalendarExtender> </form></body></html>

I hope this help.

Best regards,

Jonathan

Ajax Toolkit wont compile

Hello,

I downloaded the toolkit with sourcecode and tried to compile it. It puked. I made sure that all of the dlls were pointing to something valid (more downloads). Once it appeared as if all of the dlls were existing, I tried to build it and got complaints on:

System.Web.Script - couldn't find

ExtenderControl - couldn't find

JavaScriptConverter - couldn't find

Also, it didn't like the project template.

etc...

The reason I'm trying to compile it is that I want to try to add a call to a javascript method within the drop event of the ReOrderList.

From what I can see this first pass at Ajax is similar in complexity to old school com and asp. Why in the world would you want to waste time putting an early stage beta dll in the GAC? It causes problems on our production servers as well as it's hidden (unlike the rest of .NET which just requires a few dlls in the bin folder (very easy)).

Also, if people are downloading and trying to make this actually work, why make it so complicated. There's a GAC object, a toolkit (or maybe 2 toolkits - i can't figure it out yet), a project template man, are we going back to COM and the registry? I started to get used to focusing on solving business problems and not having to spend 3 straight days trying to raise a drop event on the ReOrder control.

Thanks,

Jeff

ASP.NET AJAX needs to be installed for the Toolkit to function. You can download from http://ajax.asp.net.

AJAX toolkit without asp

Hi,

Are there any examples of using some of the basic controls in the toolkit, without asp. Any sample would be appreciated.

vaidhy

see Online DEMO athttp://ajax.asp.net/ajaxtoolkit/

Ajax ToolKit Version 1.0.10920.0

hey Guys,

I am facing a strange problem. Until now I was using toolkit ver 1.0.10301.0 for my app, few days back I downloaded latest version of toolkit that is ver 1.0.10920.0 and I am facing few problems.

1) I am not getting focus in Modal PopUp fields in Mozilla Firefox, in IE everything is fine.In earlier version also it works fine.

2) If I am calling message box(error message:which again is a modal PopUp) from my modal PopUp, its not getting displayed, although error message PopUp gets displayed properly if called from page. Sadly this also use to work fine in earlier version which I was using.

P.S I am not getting any Javascript error also.

please suggest, are these bugs in latest version or I am doing some mistake.

Regards,

Pankaj

I'm really not sure of the problem, but I gonna take a guess at something. When you did the upgrade and copied the new AjaxControlToolkit.dll over the previous copy and then went to your Toolbox and selected the new updated AjaxControlToolkit.dll, did you uncheck the previous reference to the 1.0.1.0310.0 controls? I'm not sure if that has anything to do with it, but there could possibly be some kind of version reference issue, if you didn't do this.

ajax toolkit tags

hi, i was just wondering because as i've seen in the examples in this forum, when adding an ajax toolkit, in the source code, you can see <ajaxToolkit:SomeToolkit> if i am not mistaken. but when i try to drag a toolkit to the page, or add a toolkit, the tag is different, like <cc1:SomeToolkit>. this puts me to confusion and i am worried that if i upload this to my host, it will not be recognized by the host and i will be obliged to change it manually. what if i have 50 pages that uses 5-8 ajax toolkits? its really a hard work. but this is just an example. maybe you guys can shed light on this. thank you.

Refer to the following link to understand where the tagprefix comes from and their significance

http://www.microsoft.com/mspress/books/sampchap/5728d.aspx#124

As to your worry about different tagprefixes causing problem, it is unfounded.

The declaration at the top of your aspx page e.g.

<%@. Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>

and the control tagprefix need to match.

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

Other than this all your pages could have different tagprefixes.

AJAX Toolkit Tabs

Is this the intended effect withthe tab control

I notice that each time i roll over a tab (other than the front active one) it makes a call to the server

TIA

i noticed exactly the same thing...

a tab (other than the front active one) it makes a call to the server...

even with the simple code below...

<ajaxToolkit:TabContainer runat="server" ID="TabContainer2">

<ajaxToolkit:TabPanel runat="server" ID="TabPanel4" HeaderText="TabPanel1">
<ContentTemplate>
TabPanel1
</ContentTemplate>
</ajaxToolkit:TabPanel>

<ajaxToolkit:TabPanel runat="server" ID="TabPanel5" HeaderText="TabPanel2" Enabled="true">
<ContentTemplate>
TabPanel2
</ContentTemplate>
</ajaxToolkit:TabPanel>

<ajaxToolkit:TabPanel runat="server" ID="TabPanel6" HeaderText="TabPanel3">
<ContentTemplate>
TabPanel3
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>

i noticed it makes call to server...

Ajax Toolkit Tab Panel

Hi there.

I have downloaded and installed the Ajax toolkit on my machine. The Tab Container is there but the tab panel that should be also utilized to create tabs in web pages is not there.

Kindly advice. Thanks.

Am using VS2005 and framework 2.0

I had seen this in a few other posts. Two builds currently do not have it there, you have to add it. Refer to this other post:

http://forums.asp.net/p/1184875/2018704.aspx#2018704


Have already figured out the tabpanel.

When I inserted a Tab Container control from the ajax extensions toolkit, the add tab panel is visible on the properties pane of VS2005.

Thanks for the reply.

ajax toolkit problem in visual web 2008

Hi,

Hope some one can help with this. I have installed vwd 2008 and am trying to get AJAX tool kit working.

I also ran the cmd script by the way.

Now when I drag a AJAX Toolkit control from the toolbox to the designer I get this...

<soap-env:envelope soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap-env:body> <a1:webcontroltoolboxitem id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/System.Web.UI.Design/System.Design%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a"> <locked>true</locked> <filter href="#ref-5">

What is going on here? And how do i 'fix' it?

Thanks Kal

Same issue here. Haven't seen a fix yet. Anyone?


I guess with the pucker release of 2008 this has been fixed - but im closing this -

Ajax Toolkit Page Vs Iframe problem

Hi Everybody,

I have created an aspx page that uses Ajax tools for validation and filtrations . I finished the page deploy it and test it and every thing is perfect. The problem Arise when integrate the page into Iframe in another website. It gives a javascript error in the browser when you first interact with any control that uses AjaxToolkit and here are its details

Sys.ArgumentOutOfRangeException: Value must be an integer.

Parameter Name: x

Actual Value was NaN

The thing that makes things strange that if access the page Url that iframe is pointing at the page will work fine.

By the way both websites are in the same machine

Thank You

T tried to do another way to discover the source of the problem. So I create a test page at the same project. The page contains an identical copy of the original page and an iframe that points the original page. The result that I got is that every thing outside the iframe is working fine but in the iframe it is giving the same previous error.

Please Help


Dear All

At the end I figured out the problem is caused by one of the Iframe properties called frameborder when this property is set to yes or no the frame border is working fine but the script is not working properly but when I changed it to 0 or 1 the problem disappeared and every thing is fine. by the way the border property was added by the dotnetnuke iframe editior.

Thank you


Thank you for this response. I wasted hours trying to figure out if it was the script combiner or my web config settings when the issue was the iFrame all along. Thanks again!

AJAX Toolkit not working with Masterpages when retrofitting to exsiting website and what i

I have posted to these two threads with no response

http://forums.asp.net/p/1096452/1761461.aspx#1761461

http://forums.asp.net/p/1037436/1760268.aspx#1760268

Please scroll to the bottom of those threads for more details, but in a nutshell I must be having a different problem than there's as they seem to have all had problems with beta versions and I am on VS 2005 SP 1 and AJAX 1.0.

I have no problem creating a new AJAX enabled web site and getting it to recognize and use the controls, but when I try to AJAXify an exisiting website the toolkit does not work. If I only add script manager and a panel, I get no errors, but then if I try to add any of the extenders from the toolkit, the project won't even compile - get the squiggly lines underneath the control, but I still have intellisense in the update panel, but not the calendar extender, which it claims is not a known element.

With Master Pages, where do you put the script manager, in the Master page, or the child pages?

Notes below are added after the original post

OK, I created a new AJAX enabled web site from scratch and then added a master sheet, deleted everything except the following from my default page after wiring the MAsterPAgeFile reference

<%@dotnet.itags.org.PageLanguage="VB"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Default.aspx.vb"Inherits="_Default" %>

<%@dotnet.itags.org.RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="cc1" %>

then I added a script manager, and then a textbox and calendar extender inside an update panel, and ran the debugger. Right away it popped up a dialog box wanting to know where the ExtenderControlBase.cs file was, and so I browsed to it in the subsequent ASP and then AJAX directories, found it and then ran this project and it worked fine. Problem is I didn't need to find and browse for that ExtenderControlBase.cs file to get this project to work before I added master pages..?? And why does it continue to work eventhough I have since removed that file from the project?

Nevertheless it still does not work in my original website that has far too much work put into it to try and start over from scratch. This is the error I am getting:

Error 1 Element 'CalendarExtender' is not a known element. This can occur if there is a compilation error in the Web site.

and I get

Error 34 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.


usually people don't like to reply because: some people post too much information that readers do not want to go over everything ... time is valuable. if you can make it short and precise then you will get more help.

...

do you have your AjaxControlToolkit.dll inside your bin?
From your other threads, you said that when you create a new ajax site it works, but your existing website with ajax doesn't work? May be you didn't copy the web.config file correctly.

if you want to add ajax to a non-ajax website; first, you create a new ajax site and copy the web.config file over to your old website. be sure to back up your old config file and move over the data that you need to the new config file. Good luck ......


Thanks for replying Wishstar,

Yes, I have taken over a web.config just as you said. I did it twice. The only diff in the web.config is that the old one had a connection string. I went along step for step with the video tutorial. And yes AjaxControlToolkit.dll is inside my bin.

The only other apparent differences is that my exisiting website has Sql dataset connections, and is also being developed on a remote machine, but the VS 2005 and all my AJAX stuff is on my local machine, but my source code and database is on a remote machine. Everything has worked fine up until now.

It seems nothing in the toolkit is recognized. I also tried reregistering (re-adding a reference to) the dll, and it even recognized that it was already registered and warned it would be overwritten.


sorry ...accidentally double posted


does anything run on your system at all? any of the samples from the toolkit? Try running it on your dev machine. if you are able to run the samples, that means there must be something wrong with your work.


OK solved part of problem found MUCH BIGGER PROBLEM

Sorry I haven't responded for two days, but I was on jury duty and just got back to debugging this problem.

I ruled out my coding as the problem by taking my code from the working exisiting web site and using the Visual Studio copy web site tool, copied the develoment files to an AJAX toolkit enabled website that I juts created on my local machine.

All extenders started working and intellisense returned UNTIL I WENT TO PUBLISH TO THE REMOTE MACHINE.

The publishing went apparently fine until I went to pull up the web site ...I got a cryptic error and then remote desktopped into that machine and ran the local host to get a more verbose explanation of the error.

It seems that it does not like anything to do with the System.Web.Extensions or System.WebServer. I had to remove all the AJAX stuff and line by line comment out these lines from my web.config and rebuild before my website was working again...PHHHEWWW (I got a demonstartion meeting this afternoon and people will want to review my site between lunch and the meeting - I told them to).

The following is a screen of the error I got while running the local host...what do I have to do to the remote host running IIS to get it to allow me to run AJAX on it?

Thanks, Earl

Server Error in '/' Application.

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (c:\inetpub\wwwroot\web.config line 52)

Source Error:

Line 50: </httpHandlers>Line 51: <httpModules>Line 52: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>Line 53: </httpModules>Line 54: <!--


Source File:c:\inetpub\wwwroot\web.config Line:52

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


did you install ajax on your server?


OK, paint me stupid...am I supposed to install AJAX on my server too? I'm confused, I thought AJAX toolkit was a set of controls that generated script. I guess I am thinking way too much like the VB6 hack that I am (guilty as charged) and controls are just like ocx's.

Ok, so do I install AJAX toolkit? AJAX normal that came with the script manager, er?


OK problem solved...at least so far. This is what I posted in this other threadhttp://forums.asp.net/t/1072841.aspx?PageIndex=2

On my development machine, I clicked on the .Bin folder and then clicked on Add Item, and NOT Add Reference. I then browsed to the folder where ASP.Net extensions folder and then clicked the folder of my version number v1.0.61025 and NOT the AJAX Control Toolkit. In that version numbered folder you find the System.Web.Extensions.dll. The dll now appears under the Bin folder. I merely published to my remote (nearby Windows 2000 SP4, .Net Framework 2.0, IIS 5.0 or 5.1? box) webserver (intranet).

Now, my only question, am I running the minimum configuration to allow the ASP AJAX services? Also, was I oblivious to this trust issue. As I understand a host (other than intranet?) has to support AJAX, but it seems I got around that issue?


Hi,

FYI

Just keep in mind when you want to host your application make sure that your hosing company support ajax as well. I had this promblem and I had to ask them to install the framwork on their server.


Lucky for me I'm just an Intranet kinda guy, but I imagine some day I will be on the Internet, and I'll have to learn this all over again. BTB I am on a LAN and using a Windows 2000 SP4 server running IIS 5.0 with a 'shadow' IT group (yep, they really call it that) and I may have to move it to the official IT group (dark side, black helicopters), and I don't think they are AJAXified or willing either.


I have this similiar issues. I installed AJAX on my local machine. I have to create a reomote project, I can't install AJAX on the reomote Server because I'm not allow. But I did, copy all the .dll related to AJAX and AJAX control and the Web.config has all the stuff need. When I build the project I get erros on every control that I'm using, sample "Element CalendarExtender is not a known element" If I go to the http link, everything seams to work fine, but I can build the project because of the elements errors.

How can I fix this issue?

Thanks


Please look at my answers above, and then follow the link in my response as to how I solved the issue.

If your issue is that you cannot install AJAX because you are publishing to an ISP (commercial third party Internet Service Provider) then you need to ask them to install it, and they should comply, most people are doing this.

If you are publishing on an Intranet or a captive network for lack of better terms, then you will probably at least need to get administrative rights on that server and then publish while properly referencing the AJAX toolkits, and the System.Web.Extensions.


It's on an Intranet and they will not install anything and they wouldn't give us Administrative rights. I was trying to work around the issue by adding the System.Web.Extensions.dll and AJAXControlToolkit.dll to the bin folder. Sad

Thanks


How do you publish to it normally?

AJAX Toolkit next release...

its already June. just wondering when is the next AJAX Toolkit release?

wondering the same thing here... a previous post stated it would be by the end of May

????


back to the top


......


hahaha i can understand the frustration, but there is nothing we can do. just have to be patient and wait then... i hope the release come up soon..

I have started just using the latest checked in version. I find it easier to just fix any problems with the latest version (and then submit a patch) then it is to use older "release" versions that are buggy and feature poor. The few problems I have found were easily fixed.


Thanks for submitting patches, that's very helpful.

We're currently going through the verification steps of our release processes, so there will be a new release within the next few days. We wanted to hit end of May but missed it by a bit, but there's some really great stuff in there so I think it was the right call versus pulling stuff out.


Thank you for the update. we appreciate it


Please!! Please! Can we have VB.Net examples for everything! Some of us don't know C#, and thing don't alwasy seem to translate 100%

Thanks


Thanks for the update Shawn


Hey folks - thanks for your patience (yes, we slipped a bit <G>).

The new release is nowposted with lots of great new features. Enjoy!

As always, let us know if you run into any issues (or submitPatches!).

Highlights for this release:

A number of fixes identified as important by the community including designer support for Tabs and Web Services callback generation.


Could somebody post what your release procedures are? Doesn't anybody go through and check all of the work items that are attached to changes to make sure that the change was good before moving into the release build?

Work item10039 has a very nasty bug that prevents any selections in a FilteredTextBoxExtender. That keeps one of the core controls from working correctly and really breaks the entire release IMHO, yet it is in your release version.

Should I have just opened up a different work item? I didn't think that was correct since the original work item was (and still is) pending. I probably did mis-post my patch. I am confused on when to use the Upload Patch on the Source Code tab, there isn't any guidance I can find on that.


Please open a new work item and mention the old one. It seems that the fix was verified for at least the scenario they had in mind, but it may well have introduced a different problem. Sorry for the trouble!


OK, I posted a new work item. A suggestion for the future would be to change the status of the work item after it is reviewed. With the release imminent and the status still at "proposed" I didn't think it was actually going to be in the release version. If I had known I would have tried harder to get someone's attention.


hi do we have documentation of how to use the new features in the latest toolkit?

for example i believe that you have added catching of selection event in the autocomplete? but how do i leverage this?

AJAX Toolkit Modal Popup Extender - Display Issue

I have a site that is using a master page. Within the master page is a div that has a style sheet entry setting the position to absolute. The content div is within this div. My problem is that when the modal popup is displayed and the user has the screen resolution is set to 800X600 the bottom of the modal popup is off of the screen and as the user scrolls down the page the modal dialog moves along with the scrolling keeping the bottom of the dialog off of the page. I tried setting the X/Y parameters for this but as the user scrolls the dialog box still moves, keeping part of it off of the viewable area of the screen. I remove the position absolute setting in the style sheet for the parent div and this issue does not occur, but, my screen is not displayed correctly. This is using IE6. Any ideas?

Thank You for any help.

Actually I was incorrect. It was not the position=absolute causing the error. It was the top=167px that is causing the error. Top is not applied if the position is not specified. That is the root cause of the issue. Please reply if you have a solution.

AJAX Toolkit Localized Versions of DLL

Hello,

When I add a reference to the most recent version of the DLL of AJAXControlToolkit, it includes all the other language versions as well. In my application, I am not going to need this, and don't want all 14 versions also copied over to my bin folder. Is there any way I can remove them and stop having them come back over after compiling? Can I delete those when I copy to the server and not have any problems with the toolkit?

You only need to copy the languages you care about. So if en-us is all that you want just the AjaxControlToolkit.dll should be sufficient. If your users are in different locales and you would like them to view the localized versions of the toolkit controls then you should copy over the rest. Right now we do not have a workaround to not build everything but it is on ourradar.

Ajax Toolkit Issues...

Hi,

i've been using ASP.net AJAX (and Atlas) for awhile and now i wanted to upload it to my site.

So, I wrote some sample Ajax app the uses the toolkit - just to see if it works at my website hoster.

First we had to install the extensions (10x for my hoster to be so nice - he installed it real quick for me)

So, all Ajax extensions works...

Now i've added just a watermark to a textbox... works greate at my dev enviroment but... nothing at my hoster/website.

it's not working, and i don't even see an error... it's like i didn't even added it...

Please, HELP!

Try view source on both versions to see if you can tell what's different in the version from from your hosting site.

Well... at the problematic site the script tags are:

<script src="http://pics.10026.com/?src=http://forums.asp.net/WebResource.axd...

at the working site the script tags are:

<script src="http://pics.10026.com/?src=http://forums.asp.net/ScriptResource.axd...

and i have:

<addverb="GET"path="ScriptResource.axd"type="Microsoft.Web.Handlers.ScriptResourceHandler"validate="false"/>

at my web config...

any clue?!?!

Thanks,

Amit


Then ASP.NET AJAX isn't configured properly. If you've followed their release notes, then you'll probably want to ask this question on their forums. One thing is to make sure you've modified the web.config correctly - there are now sections for IIS6 and IIS7 and maybe you modified the wrong one?


Speaking of which, see the last post here for what I was talking about:http://forums.asp.net/thread/1482249.aspx

Ajax Toolkit issue with web deploy project in Visual Studio 2005

Error 157 Unable to copy file "C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control ToolKit\SampleWebSite\Bin\zh-CHT\AjaxControlToolkit.resources.dll" to "C:\Documents and Settings\UserName\My Documents\Visual Studio 2005\Projects\TipWebCurrent\TipWeb\Bin\zh-CHT\AjaxControlToolkit.resources.dll". Access to the path 'C:\Documents and Settings\UserName\My Documents\Visual Studio 2005\Projects\TipWebCurrent\TipWeb\Bin\zh-CHT\AjaxControlToolkit.resources.dll' is denied. 1 1 TipWeb_deployProject

I am getting the above problem when I try and build my solution,(web deploy project specifically) is it as simple as changing the properties of the read-only access for each folder to false for each of the folders containing the dll's?


Yes, the directory that you are publishing to or at least the bin should have right access until you are done deploying, then make it read only again.


Yep, that was the main issue... Once I changed the permissions it worked like a charm!

:)

Ajax Toolkit installation on windows vista / IIS 7.0

I tried to install the ajax toolkit localy on a windows vista / iis 7.0 system. Whe I try to call the default.aspx page I get the following error:

Serverfehler in der Anwendung "Default Web Site"


HTTP-Fehler 404.3 - Not Found

Beschreibung: Die angeforderte Seite kann aufgrund der für den Webserver konfigurierten MIME (Multipurpose Internet Mail Extensions)-Zuordnungsrichtlinien nicht angezeigt werden. Die angeforderte Seite weist eine unbekannte Dateinamenerweiterung auf. Sie ist daher nicht zul?ssig.

Fehlercode: 0x80070032

Benachrichtigung: ExecuteRequestHandler

Modul: StaticFileModule

Angeforderte URL: http://localhost:80/default.aspx

Physikalischer Pfad: C:\DevTools.Net2005\AjaxSite\default.aspx

Angemeldeter Benutzer: Anonym

Anmeldemethode: Anonym

Handler: StaticFile

Any idea which mime types I have to define? Thanks

This should just work out of the box. You should not need to set any mime types explicitly. Did you make any changes to the Default web site?

AJAX Toolkit installation issue

Hi all, I've downloaded the toolkit but I'm not running the full version of web developer. Can anyone tell me how to upload the toolkit into the toolbox? Thanks for any help you can give.Smile

Andy

checkout this link

http://asp.net/AJAX/Control-Toolkit/Live/Walkthrough/Setup.aspx

if you find soln, mark this post as answer


Thanks - that was very useful.Smile


You r most welcome !!!