Showing posts with label version. Show all posts
Showing posts with label version. Show all posts

Monday, March 26, 2012

Atlas Versions and the impact of the newest version on a running project.

Hello Friends

I am using WebDeveloper 2005. I need help in understanding the versions of Atlas and the impact of the newest version on a running project.

On25 august 2006 i had downloaded Atlas and have been using in my project.

1) The version of Atlas in my computer is 2.0.50727 (checked using Add/Remove programs of control panel) . The web sitehttp://asp.net/ajax/control-toolkit/live/ArchivedReleases.aspx it says latest isVersion 1.0.10618.0

I am confused please help..how can a old version which i downloaded on 25 august 2006 be 2.0.50727 !!!!!!Confused

2) Can i download and use the newest version of the tool kit for my project which is already running with a old version of ALTAS...will the old code suffer? ...should i test all the web pages again ?

Thanks for your Help

Sara

2.0.50727 is the version of the .NET framework - not of your ATLAS assembly.

ATLAS underwent some changes before it was finally released as ASPNET AJAX. If you switch from an ATLAS CTP to the released ASPNET AJAX, then you will need to retest everything and you may need to fix a thing or 2.


Embarrassed oops i thought 2.0.50727 is the version of atlas

Thanks for the reply

Atlas User Control bug Error rendering control

Hello

Help me with this two:

1. I'm using the latest Atlas July version and I'm getting error 'Error rendering control' in design when I want to use Atlas UpdatePanel in user control. After starting the application the control work fine.

2. If UpdatePanel is passing value from Calendar control to the TextBox control and TextBox property is read only – the value could not be read and vanish after postback.

Thanks for answer and keep up the good work and try with less bugs.

Hi Filip, for #2

As a workaround, you can trap event "Calendar_SelectionChanged" and save the value somewhere else. Also in this method, you can call

popCalendarPanel.Commit(txtDate, currentCal.SelectedDate);

which is how you can do something custom with the pop up result itself.


Thanks

I will try thisand post it back the results.

Saturday, March 24, 2012

ATLAS to AJAX updating

Hey!

I have built a community site that uses a early version of ATLAS:

When you are looking at a post (like this onehttp://www.znize.se/com/community/communityReplys.aspx?threadId=13)there is buttons for quote on every post. When quote button is pushed aJavacript is used to collect data from the server like this:

onclick="getCommunityQuote(68)"
function getCommunityQuote(replyId)
{  
    dataService.getCommunityQuote(replyId, callBack_getQuote);
}
function callBack_getQuote(result)
{
   var replyTextBox = getObj("txtMainTextBox");
   addTextToTextBox(replyTextBox,result);
}
dataService is a WebService that collect the information regarding the post and sends it back.

I wanted to use the AJAXcontrol toolkit(http://www.codeplex.com/Wiki/View.aspx?ProjectName=AtlasControlToolkit)and to do this i needed to update the ATALS that are called AJAX.NET BETA 2today.

To update the site I followed this steps:

  1. Download AJAX.NET Beta 2 and Ajax control toolkit.
  2. Executed the AJAX.NET setup where I choose remove(remove the old version(ATLAS))
  3. Executed the AJAX.NET setup and choose install
  4. Unpacked and executed the Ajax control toolkit
  5. Removed the references in my project to the old AJAX(ATLAS)
  6. Followed the steps in the AJAX.NET migration doc(http://ajax.asp.net/files/Migration_Guide.doc) witch involved alot of web.config editing and moved the scriptmanager in my masterpage from <HEAD> to form(runat="server").
  7. Included the Ajax control toolkit dll as a reference, the AJAX.net references is not longer needed becource it's placed in the GAC.

I can find all the Ajax controls and i can render the AJAX control toolkit Rating control without problem.

BUT, there is some problems:

  1. web.config have a schema(original) to validate against and it simes like this doesn't support the AJAX.NET syntax? I get allot of information(not varnings or errors just information) (over 100) about this, ex name do not exist. When I look in the example web.config from AJAX.NET there is no schema stated? Should I remove it?
  2. There was stated in the migration doc that the content of a searten tag should be moved to another. The content in my project was 3 dataconverters. After moving this dataconverters they are not working any more (cant compile)?? So I hade to removed them for now to be able to compile the site.
  3. My old Ajax implementation that I explained before isnot working anymore?
  4. When I upload the site to my web hotel the site will not open, instead a error shows? Does the web hotel have to install the AJAX.NET BETA 2?
  5. I have tryed the updatePanel but its dosent simes to work?

Maybe anyone here can help me?

1. Don't worry about the schema issues.

2. The Toolkit prefix used to be atlasToolkit and now it's ajaxToolkit.

3. Not sure what you mean.

4. The hosting web site needs ASP.NET AJAX Beta 2 installed.

5. The SampleWebSite includes numerous instances of UpdatePanels in action.

Wednesday, March 21, 2012

ATLAS RC and AJAX 1.0

Hi

If I were to install the new full version of AJAX on my server, would applications that depend on the old release candidate still run okay, or would the install remove the older version?

Many thanks

Darren

There have been lots of changes since atlas. Its like that it wont run but it also depends on what methods or properties u are using.

I would suggest keep your old DLL's in the Bin folder of your old applications and add the ajax 1.0 DLL for your newer applications. This way each application uses its own version of Ajax DLL's.

Dont forget to uninstall Atlas on the server because your application will pick up the DLL's from the GAC rather than the Bin folder.


In the end I just updated everything and published - no problems encountered :)

Sorry for the late reply, I didn't think anybody had replied... but that's because I didn't have e-mail notifications on!

Doh!

Regards


Darren

atlas prototypes

Is there anyway to compile an atlas prototype control without having Visual studio 2005 wWeb Application Projects?

I need a compiled version of the maskedit control.

hello.

hum...what do you mean?


I spoke with someone on the forum about using masked editing a text box on the client side.

They referred me to the maskedit control in the lastest source download of the AtlasControlToolkit.

I would rather not program any raw javascript code.

The thing is there is no compiled version just source. I progam in VWD express which they said does not support web application projects.

I do not have Visual Studio 2005 available right now. I was hoping someone might know of another way of going about it. Or even possibly compile it for me so I did not have to download and install a trial version of VS2005.


hello.

well, you can use atlas and the toolkit in web developer. the toolkit has several server controls which you can use in any page. if you go to codeplex.com and navigate to the toolkit page, you'll see that theere are 2 options: download with source code and only binaries. btw, you should download the source code: it's true that vs is aplus because you'd be able to load the complete solutoin with a single double click; however, you can still see the code with the express versions of vs and even run the sample web site.


Yes, I have download the binaries and sample website for the current release version of the atlas control toolkit.

What I am speaking of is the lastest version on the source page under the source tab. Inside the latest version of the source is a prototype folder with new control called the maskedit control which is not in the final release of the AtlasToolKit.

That is the control that I need compiled.


hello again!

well, i'm lost here...can you put the path to that file here? i've just donwloaded the toolkit from codeplex and it seems i can't find that file...


http://www.codeplex.com/SourceControl/ListDownloadableCommits.aspx?ProjectName=AtlasControlToolkit

This should be the link to the source page. Download 7697 source version.

In the directory where you unzip it go to \AtlasControlToolkit\Developement\Prototype\Components\Maskedit

This is a beta version of the new Maskedit control. This is the one that I can not find already compiled.

Jamy


Just to make sure I understand, you have some c# source you need to compile into a library and you can't because you're using visual web developer which only allows you to create and edit VS web sites. If this is the case and you simply want to generate a library, you can also install Visual C# express edition and use it to create your own C# project, and generate a library containing the source you require. Because ASP.NET server controls are nothing more than types, this shouldn't be a problem.

There are probably some things I'm not considering. For instance, I think Atlas makes heavy use of embedded web resources (via WebResource.axd) for it's controls. You're more than likely going to need to do some serious editting of their source to get everything working as an independent control. Regardless, you can generate single project C# libraries usingVisual C# Express Edition.

- James

Atlas problems... what versions support on add_pageLoaded hook?

I've inherited a large-ish project that uses a late version of Atlas (not ASP.NET AJAX)

The version in the javascript file headers is 2.021006.A

My problem is I need to hook in a global "Please Wait" message on all Postbacks and Submits.

Hooking into the Form.onSubmit is no problem, and the "Please Wait" message is normally cleared by the page reloading.

However the project uses quite a lot of UpdatePanels and ModalPopUpExtenders. These don't clear the message after a callback (as the page isn't reloaded)

A quick google found a simple solution - Including something like...

Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(clearPleaseWait);

..in the Master Page should do most of what I want.

Unfortunately I can't see aPageRequestManager object!Sys andWebForms are there, but there's only 2 properties ofWebForms, one of which is_PageRequestManager which doesn't have any properties of its own.

So, the questions are...

Does the ATLAS version I'm using support/expose PageRequestManager events?Is there still any documentation anywhere for this version?If No and No, is there a workaround for what I'm trying to do?Or have I got to bite a considerably sized bullet and upgrade to ASP.NET AJAX?

Thanks in advance for any much-needed help!!

If it was a pre-beta release, things were done a lot different. We had a few sites that used Atlas or ASP.NET Ajax for a little over a year now, and we had a lot of things that had to be rewritten to work with the beta and newer releases. Most standard server controls for it worked fine, but all our custom stuff had to be rewritten. There may be someone on here that might have some limited documentation somewhere. Most of the documentation was all online and pulled whenever a new release came out.

Does the version your have contain a UpdateProgress control? You may be able to use one in the master page that would work for all the pages that use it. That should display a message during asyncpostbacks and callbacks. I haven't done a lot with the behind the scenes parts of ATLAS or ASP.NET Ajax because it doesn't usually require you to unless you are really fine tuning things, which could be a good and bad thing...

If you do have to upgrade to the newest release now, you may want to run a copy of the site to make changes to while upgrading because that can take some time...

Atlas problem with the encoding

I have designed a page with atlas new version.

My page load withs the right encoding but when I use the update funcitonality , the text in the textboxes became corrupted if the text is in turkish

? becames ?.......how do I specify the endoing of my update panel ??

MY Update Panel

<asp:UpdatePanelID="upPnlCriteria"runat="server">

<ContentTemplate><tableid="tblCriteria"border="0"cellpadding="0"cellspacing="0"style="width: 100%"><tr><tdstyle="width: 165px; height: 23px;"valign="top"><asp:DropDownListID="ddlFilterField1"runat="server"Width="156px"TabIndex="4"AutoPostBack="True"OnSelectedIndexChanged="ddlFilterField1_SelectedIndexChanged"></asp:DropDownList> </td><tdstyle="width: 165px; height: 23px;"valign="top"><asp:DropDownListID="ddlOper1"runat="server"Width="156px"TabIndex="5"></asp:DropDownList></td><tdvalign="top"colspan="2"style="text-align: left; height: 23px;"><asp:TextBoxID="txtFilterVal1"runat="server"Width="150px"TabIndex="6"Height="15px"></asp:TextBox></td></tr><tr><tdstyle="width: 165px;"><asp:DropDownListID="ddlFilterField2"runat="server"Width="156px"TabIndex="7"AutoPostBack="True"OnSelectedIndexChanged="ddlFilterField2_SelectedIndexChanged"></asp:DropDownList></td><tdstyle="width: 165px;"><asp:DropDownListID="ddlOper2"runat="server"Width="156px"TabIndex="8"></asp:DropDownList></td><tdcolspan="2"><asp:TextBoxID="txtFilterVal2"runat="server"Width="150px"TabIndex="9"Height="15px"></asp:TextBox></td></tr><tr><tdstyle="width: 165px;"><asp:DropDownListID="ddlFilterField3"runat="server"Width="156px"TabIndex="10"AutoPostBack="True"OnSelectedIndexChanged="ddlFilterField3_SelectedIndexChanged"></asp:DropDownList></td><tdstyle="width: 165px;"><asp:DropDownListID="ddlOper3"runat="server"Width="156px"TabIndex="11"></asp:DropDownList></td><tdcolspan="2"><asp:TextBoxID="txtFilterVal3"runat="server"Width="150px"TabIndex="12"Height="15px"></asp:TextBox></td></tr><tr><tdcolspan="4"style="height: 15px"></td></tr></table><br/><hrstyle="height: 1px"/><asp:LabelID="lblMaxFields"runat="server"SkinID="LabelError"Visible="False"></asp:Label><br/><tableid="tblFieldList"style="width: 508px"><tr><tdrowspan="1"style="width: 175px; padding-left: 5px;"><strong>Tüm Alanlar</strong></td><tdalign="center"style="width: 10%"></td><tdrowspan="1"style="width: 175px"><strong>Listelenecek Alanlar</strong></td><tdrowspan="1"style="width: 10%"></td></tr><tr><tdrowspan="5"style="width: 175px; padding-left: 5px;"><asp:ListBoxID="ListBoxAttributesToShow"runat="server"Rows="8"SelectionMode="Multiple"Width="170px"Height="380px"TabIndex="3"></asp:ListBox></td><tdalign="center"rowspan="2"style="width: 10%"> <asp:ImageButtonID="btnrightArrow"runat="server"ImageUrl="~/IMAGES/ikons/arrowsag.gif"OnClick="btnrightArrow_Click"/></td><tdrowspan="5"style="width: 175px"><asp:ListBoxID="LstSelected"runat="server"Height="380px"SelectionMode="Multiple"Width="170px"></asp:ListBox></td><tdrowspan="2"style="width: 10%; text-align: center;"><asp:ImageButtonID="btnUpArrow"runat="server"ImageUrl="~/IMAGES/ikons/arrowyukari.gif"OnClick="btnUpArrow_Click"/></td></tr><tr></tr><tr><tdalign="center"style="width: 10%"> <asp:ImageButtonID="btnLeftArrow"runat="server"ImageUrl="~/IMAGES/ikons/arrowsol.gif"OnClick="btnLeftArrow_Click"/></td><tdrowspan="1"style="width: 10%; text-align: center;"><asp:ImageButtonID="btnDownArrow"runat="server"ImageUrl="~/IMAGES/ikons/arrowasagi.gif"OnClick="btnDownArrow_Click"/></td></tr><tr><tdalign="center"style="width: 10%; text-align: left;"valign="top"><strong><spanstyle="font-size: 8pt"><spanstyle="color: #dc143c">C</span><spanstyle="color: crimson">TRL tu?una basarak g?rüntülemek

istedi?iniz alanlar?n tümünü

<br/>

aktarabilirsiniz.

</span></span></strong></td><tdrowspan="1"style="width: 10%"valign="top"><strong><spanstyle="font-size: 8pt"><spanstyle="color: #dc143c">G?sterilecek alanlar?n

s?ralamas?n? yukar?daki ok tu?lar?

ile ayarlay?n?z..

</span></span></strong></td></tr><tr><tdalign="center"style="width: 10%; height: 184px;"valign="top"></td><tdrowspan="1"style="width: 10%; height: 184px;"valign="top"></td></tr><tr><tdcolspan="4"rowspan="1"style="padding-right: 5px; padding-bottom: 5px; text-align: center"valign="middle"><asp:LabelID="lblError"runat="server"SkinID="LabelError"Text="Lütfen listelenecek alanlar? se?iniz."Visible="False"></asp:Label></td></tr></table></ContentTemplate><Triggers><asp:AsyncPostbackTriggerControlID="ddlEntityType"EventName="SelectedIndexChanged"/></Triggers></asp:UpdatePanel>