Showing posts with label atlas. Show all posts
Showing posts with label atlas. Show all posts

Wednesday, March 28, 2012

UpdateProgress progress property: UpdatePanelID. Will this ever be available ?

Hi, I was just wondering if will ATLAS ever have this property for UpdateProgress, so this way we could have several UpdateProgress controls, each one showing only with their associated UpdatePanel is being updated. I think it's something "essential" and I'm a bit worried about how this feature is still not available. Maybe is not possible for some reason ??

Eric

hello.

well, i guess this isn't necessary in the current release because you can only have one partial postback at a time. currently, i'd be happy if i was able to get a reference to the updatepanel that started the partial postback (and this is possible because the pagerequestmanager mantains a reference to it internally - it simply doesn't have a property that let's us get that info!


I have a situation where it is necessary. I have two UpdatePanels and would like to show the UpdateProgress on top of my UpdatePanel. If I could associate the UpdateProgress with the UpdatePanel then this would be easy because when the UpdatePanel is sending data back and forth to the server it would show only the appropriate UpdateProgress control.
I'm surprised too why this has not been added yet. It's more intuitive to the user when the loading indicator only appears in the specific section of the page that is updating.
lookherefor a javascript/css solution. have not tried it out yet though.
the noverber CTP has an AssociatedUpdatePanelID property on the UpdateProcess control. This allows you to tell the updateprogress to display when the desired update panel is posting back.

UpdateProgress Problem

I am running Atlas on a Win 2K3 Server and I installed the latest version of Atlas today. I created a simple hello world page, which runs as expected. However, when I add an UpdateProgress control and try to view the page, the following two alert boxes appear (in order):

"Assertion Failed: Could not resolve reference to object named "_pageRequestManager" for "dataContext" property on object of type "Sys.Binding"

"Assertion Failed: No data context available for binding with ID"" and dataPath "inPostBack" on object of type "Sys.Binding"

The ASPX page that works correctly is:

<%@dotnet.itags.org. Page Language="C#" AutoEventWireup="true" %>
<script runat="server">
protected void Button1_Click(object sender, EventArgs e)
{
lbTest.Text="Hello World!";
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Atlas Test</title>
</head>
<body>
<form id="form1" runat="server">
<atlas:ScriptManager id="ScriptManager1" runat="server"></atlas:ScriptManager>

<atlas:UpdatePanel id="update1" runat="Server" Mode="Conditional">
<ContentTemplate>
<asp:Label id="lbTest" runat="server">This is a test</asp:Label>
<asp:Button id="Button1" runat="server" Text="Test Atlas" OnClick="Button1_Click" />
</ContentTemplate>
</atlas:UpdatePanel>
</form>
</body>
</html>

The ASPX page that fails is:

<%@dotnet.itags.org. Page Language="C#" AutoEventWireup="true" %>

<script runat="server">

protected void Button1_Click(object sender, EventArgs e)
{
System.Threading.Thread.Sleep(2000);
lbTest.Text="Hello World!";
}

</script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Atlas Test</title>
</head>
<body>
<form id="form1" runat="server">
<atlas:ScriptManager id="ScriptManager1" runat="server"></atlas:ScriptManager>

<atlas:UpdatePanel id="update1" runat="Server" Mode="Conditional">
<ContentTemplate>
<asp:Label id="lbTest" runat="server"></asp:Label>
<asp:Button id="Button1" runat="server" Text="Test Atlas" OnClick="Button1_Click" />
</ContentTemplate>
</atlas:UpdatePanel>

<atlas:UpdateProgress ID="ProgressIndicator" runat="server">
<ProgressTemplate>
<div id="progressArea">
Loading the data, please wait... <asp:Image ID="LoadingImage" runat="server" ImageUrl="~/img/spinner.gif" />
</div>
</ProgressTemplate>
</atlas:UpdateProgress>
</form>
</body>
</html>

My web.config file looks like this:

<?xml version="1.0"?>

<configuration>

<configSections>
<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
<section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
</sectionGroup>
</configSections>

<microsoft.web>
<converters>
<add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
<add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
<add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
</converters>
</microsoft.web>
<system.web>
<compilation debug="true"></compilation>

<pages>
<controls>
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
<add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
</controls>
</pages>

<authentication mode="Forms" ></authentication>

<xhtmlConformance mode="Strict"/>

<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
</httpModules>

</system.web>
</configuration>

I pulled the UpdateProgress directly from a sample online, and I can't figure out why it doesn't work.

Can anyone spot any obvious errors? Are there trust issues related to the DLL that holds the UpdateProgress class?

Any help, leads or links would be helpful - thanks.

Update - the first example I posted above DOES NOT WORK. The postback was so fast I mistakenly thought it was working.

No Atlas scripts are working above - anyone have any ideas?


I discovered the problem. I had forgotten to add an "EnablePartialRendering"attribute to true on my ScriptManager.

The first page above had a pagewith just an UpdatePanel. The pageworked, but it posted back instead of updating through atlas. When I added an UpdateProgress, I got thefollowing two error messages:

"Assertion Failed:Could not resolve reference to object named "_pageRequestManager" for"dataContext" property on object of type "Sys.Binding"

"Assertion Failed:No data context available for binding with ID"" and dataPath"inPostBack" on object of type "Sys.Binding"

I couldn't find anyinformation on these error message, and I assumed there was some problem in theinstallation. When I included the "EnablePartialRendering"attribute it solved the problem. I'msure as the Atlas documentation expands, this issue will be covered morethoroughly.

Thaks to Scott Gu and Matt Gibbs for taking some time to respond to my questions about it.
It is possibly related with this problemhttp://forums.asp.net/thread/1243525.aspx

UpdateProgress: how to implement different ones?

hi all. i started exploring the march ctp of atlas today, and i must say i'm really impressed (completely new to ajax/atlas). one thing i can't find out for myself tho...

when using an updateprogress control, is it possible to have multiple, and bind each one to a different callback?
i want to implement kind of a thing like pageflakes.com has; different loading indicators for different parts of the page... the problem is that no matter what i do, if i have more then one updateprogress, they all seem to respond to *any* callback, so i'm seeing multiple progress indicators with no matter which callback i do to my code-behind...

i hope i'm making myself sufficiently clear with this issue :)

in any case, thanks in advance for reading this far!

Yes, currently the UpdateProgress is 'bound' to the PageRequestManager and therefore listens to the async call, regardless of what control is making the call. This is something we are looking into ..


Sorry to duplicate posts, but I made comment of similiar nature in 'performance issues' post:

My controls are flashing on update panels. they turn 'grey' then are filled.

Also - the first callbacks are slower - which gives a pause to the user. This is troublesome. I have a page with 5 update panels. I'd like to have 5 different progress indicators, but all 5 fire at once.

I hope that is fixed.

Most of my use of update panels is used with dropdownlists, and selection of checkbox, etc... where in the past I would have had to postback to have a change. It's super fast locally of course, but when I move it to the server - it's too slow. This will be a problem for others as well, especially with dial up.

I think the development team needs to really investigate ways to let the user know there is activity - a good start would be only firing a progress indicator if it is in the updatepanel being called.

Also - it would help if a setting was available on the progress indicator where it would only show a message if the callback takes 'x' amount of time. This way, if you are on modem, you would get a indicator on a slow connection - however, if you are a on the LAN, there is no need to flash some 'processing' message up if the call only takes 1 second.

I hope this type of discussion is going on when examing solutions.

Thanks


oh ok, thanks a lot for the reply!
Thank god! Hope it'll be released soon.

Monday, March 26, 2012

Updating an Application to the April CTP

Hello,

I am trying to update a web application to use the April CTP. I have refreshed the the Atlas .dll, but the application still seems to be referencing the March version. Any new application works fine when using from the Visual Studio Atlas Template based on the updates provided by the April CTP.

Is there a Manual way to make sure that I am using the newer version on an application that was started using the March version?Normally, you can't use March CTP and April CTP together. You have to uninstall the March CTP before installing the April CTP. From then, you applications written with the March CTP will now work with the April CTP.

Hope this helps
It's possible that your browser is caching the old Javascript includes I suppose - have you tried clearing your cache? Or setting debug=true?

Otherwise, if you've copied the microsoft.atlas dll into the bin directory of your app, I can't see what might be causing the problem.

Thanks,
Carlos

hello.

copying the new dll should solve the problem you're having. why do you say your app is using the march version?


Hi Luis,

It's not our app...it's the files that get installed. We are just now adding Atlas to our application. When the installer runs, it puts the zip files for the Atlas project into the Project Templates folder defined in VS 2005, and installs some stuff into C:\Program Files\<see previous post>. Those files, from what I can gather, is what is used for a new Atlas project.

When I create a new Atlas project after installing the April CTP, the Microsoft.Web.Atlas.dll has a file version of 2.0.50727.60309, dated 3/17/06, and the readme.txt that pops up has the same date in it. Unless I'm missing something, this is the March CTP.

All I'm doing is trying to install the April CTP and create a new app from it. I uninstalled the project templates from the location specified by the VS 2005 setting before running it, and it still put the March CTP files into that location. I'd suspect that it's providing a cached version of the project when it creates the new one, but even the files in Program Files are old.

Thanks,
John


Hey All -

It must have been some wierd caching either within our network or in the browser. I dusted off Mozilla to try downloading it; the first click downloaded the Mart CTP again. But downloading through the direct 'If your download doesn't start...' link got the correct one.

Very strange.

Thanks,
John

hello again.

well, yes, the files placed on the program files\microsoft asp.net\atlas are everything you need to deploy your app.

and yes, it looks like you have the wrong version. mine says:2.0.50727.60406


I guess I should have clarified... it seems to be using the "March CTP" based on the errors that still existed. After the removal of the March CTP and Installation of the April, all hot fixes work fine... except in an application that was created using the March CTP. That one does not want to update.

Thanks for you replies!


hello.

updating that app should be as easy as dropping the new dll on the bind folder. have you checked the version of the dll on the bin folder? according to your previous post, it seems like you're still using the olde version...

Updating Atlas

Hello,
I was developing a produciton project using Atlas July CTP and Control Toolkit.
Now I'd like to updating to last version, but I can see that ATLAS is formed by 2 components:
Atlas 1.0 beta AND Atlas CTP beta.
I was used only Updatepanel in July CTP

What I need now? Is necessary to install both 1.0 and CTP?

And fot update what I do?
Must uninstall the previous version and then Install the new one?

tnx

If you just used the updatepanel, you don't need the CTP Beta, only the AJAX.net 1.0 beta. If you used the Atlas Control Toolkit, you'll need to reinstall that too. You'll also have to update your pages to work with new new edition of the framework, but with just updatepanels, it won't be that hard.
Can some direct me to installation instructions page......please.

For install instructions, go to:

http://ajax.asp.net/docs/Overview/installing/default.aspx

For changes between ctp and beta, go to:

http://ajax.asp.net/files/AspNet_AJAX_CTP_to_Beta_Whitepaper.aspx?tabid=47

For a feature matrix of what is in each install, go to:

http://ajax.asp.net and click on Feautre Matrix in tabbed panels.

Updating atlas and toolkit

If you already have atlas installed and created a new application via the atlas template in visual studio and are using the atlas "controls" how do you do upgrades when new releases of atlas or the controls come out? Will the new setup files update your system (templates,controls and apps) or is there something else that you will have to do?

You'll just need to copy over the Atlas assemblies in your \bin directory, and potentially update the Atlas settings in the web.config file.

Hope this helps,

Scott

Updating Atlas

I must update my Atlas version.
I was develop some projects with April CTP.
How I do now? Which is the correctly procedure?
I must install the new version that overwrite the previus one? or I must uninstall the previus release?
...and what about updating existing project?
is it automatic or I must manually update? (changing the dll in bin directory??)
thanx

Hi,

if you installed the previous version via the .msi installer, then you should uninstall the previous release.

Regarding your projects, you have to change the dll referenced in the bin directory.

Updating control toolkit

I have some projects with some control from Atlas control toolkit (previous version).
Now there's the new version!
Is not easy to know what i do for update the previous with the new one.
Only change the dll?
It is sure that the old project will work? ...or I must to modify some code?
And what about .net controls tool list?
thanks

Just make sure that your project references the new dll. For the toolbox, delete all the controls from your toolkit tab and then readd them all. As for breaking changes, I've not heard about any, but I've not looked hard for a list of changes / breaking code.

Updating Issue: when Im trying to update from 1.0.60504.0 to 1.0.60731.0

Hi guys,

I'm developing a site (which is still Local and not uploaded yet) that uses Atlas technology.

Everything was good since I just tried to update Atlas Toolkit and Atlas Toolkit Extender to add some extra feature like rating and etc.

I got "Object reference not set to an instance of an object." !

firstly I thought it's because of my settings but I search and found that there is no problem in that matter, when I replaced new ones (Microsoft.AtlasControlExtender.dll, and AtlasControlToolkit.dll) with older ones, the problem resolved.

But I can't use new features on my site!SadConfused

Can anybody help please?!

Just a thought, but have you replaced Microsoft.Web.Atlas.dll as well? (you will need to if you are updating the toolkit)

Well, I did it, but when I saw your message I make it double check and for more accuracy I copy all DLL's related to Atlas from Atlas toolkit's sample website's bin folder, the problem still exisis!

Here is the stack trace for the error it may helps:

[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.AtlasControlExtender.ExtenderControlBase`2.ConnectDataBindingHandlers() +241
Microsoft.AtlasControlExtender.ExtenderControlBase`2.OnInit(EventArgs e) +31
System.Web.UI.Control.InitRecursive(Control namingContainer) +345
System.Web.UI.Control.InitRecursive(Control namingContainer) +196
System.Web.UI.Control.InitRecursive(Control namingContainer) +196
System.Web.UI.Control.InitRecursive(Control namingContainer) +196
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1795


That's helpful - thanks.

You'll get this exception if the extender can't find one of the target controls (e.g. the value in TargetControlID). I've made a code change to help with debugging this, but double-check to make sure that each of those targets is correct.

You can also try handling the OnResolveClientID event that the extender will raise when it can't find a target as well to work around this.


I double-checked those but everything seems to be just fine!

Plus with no change in codes and just with replacing new DLLs with older ones this problem arose!

I'm just confused! I change all references through the refernces page and I think everything must be in its place, but still I stuck!

and the Debugger won't help me anymore! and this stack trace is the only thing I have!

Please Help!


Did you try handling OnResolveClientID?
I wonder if your situation is anything like http://forums.asp.net/thread/1366243.aspx ?

Yes it's the same code - but we're still not sure how folks are getting into that state.


Well, I havre to say "I'm not sure!"

you know, because Atlas is a new technology and I'm new to it too, when I want to add some feature to my site, FIrst I try to check it in a Test project to be sure, but situation is really different now!

because I have lots of Atlas extender's controls on my pages (specially in my Master page) and they are all good until I update DLL's, it's even harder to understand.

and for you last question, Yes I handled that handler but still same Error, I don't know but I think this error would happen even sooner than that you may think in its life time so this handler wont be any help.


Could you (or someone) paste in code that causes this? The fix we have didn't address the problem, so we're not sure what the exact scenario is. If you have the ASPX that causes it, that would be very helpful.

well,

I can't paste codes here (as they are more than 20 ASPX pages)!

but if I could it would not be hepful because we can't find the source of error and Stack trace is no help for ASPX pages I think.

but, let me tell you the scenarion one more time,

I just started to develope an Atlas Based web site but it takes such long time that I can now use July CTP Atlas Toolkit Control too!, but I have been using previous version of toolkit before, and this site contains some features like autoupdate panels, collapsible panels, alwaysvisible controls and all of them works well with previous version of Toolkit but as I got july CTP, and I found Ratings really helpful, I decided to use it, when I tried to add rating (which surely tries to update related DLLs such as Atlastoolkit, and web.atlas and atlas extenders) it just stuck! and this Null refernce error message became to be a constant part! (consider that the site uses some features specially Alwaysvisible toolkit extender in Master page that all of my pages derived from)

first I thought there is some code related error, but as I revert the DLLs the error disappeared!

That's it. thanks for you participation, but is there somebody to help?


For some horrible crossposting, just to make sure you're aware: http://forums.asp.net/2/1367145/ShowThread.aspx#1367145 .


Sweet, that was the bit of context I needed. I've got the exception reproing now...I'll see what the story is.

Thanks!


yes I know and I visited your Thread too, but I got none helpful yet. thanks for making me informed

Everyone -

I believe I've got a fix for this issue (thanks torchern13 for helping pull the pieces together).

If you're running into this issue, please pick up changelist 2820 (or later), build it, and post back here if it does not.

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

Thanks,

Shawn

Updating one updatepanle data from other updatepanel

I have a september ctp atlas dll. We have one updatepanel with timer which fires every 5 seconds & get application variable data from server.In second updatepanel we have a treeview which we want to update only if value in application variable changes.If we put timer in treeview updatepanel then treeview refreshes with images,nodes which we do not want.Can we add nodes in treeview from another updatepanel.Unfortunately, the treeview is not yet supported (as well as some other databound controls that use templates)...There are some hacks you can try in the meantime...for instance the gridview when template is not supposed to be supported but I have managed to get it to work by using a combinations of controls...another good post to read is this...

Updating text on page at regular intervals

Okay, I am pretty new to the Atlas/AJAX system, so im just now learning some of these tricks and whatnot. I have a page that basically needs to load a quote every 30 seconds or something. Right now, I have the page setup so that the text can be changed by clicking a javascript button without refreshing the page, but I am trying to get that function to call based on the Timer control included with atlas. any ideas for refreshing text at a regular time interval would be greatly appreciatedthe timer control would be what you want, but there's no way to tell what could be wrong without you showing some code you are trying

Hi,

this is an ideal scenario for theUpdatePanel control. The page can be refreshed at regular intervals by aTimer control. Check the following example:

<%@. 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"> protected void TheTimer_Tick(object sender, EventArgs e) { lblUpdate.Text = DateTime.Now.ToString(); }</script><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="TheScriptManager" runat="server"></asp:ScriptManager><%-- Timer --%> <asp:Timer ID="TheTimer" runat="server" Interval="2000" OnTick="TheTimer_Tick"></asp:Timer><%-- UpdatePanel --%> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="TheTimer" EventName="Tick" /> </Triggers> <ContentTemplate> <asp:Label ID="lblUpdate" runat="server"></asp:Label> </ContentTemplate> </asp:UpdatePanel> </form></body></html>

Saturday, March 24, 2012

Upgrading ASP.NET 2.0 projects to Atlas

How do you upgrade an existing ASP.NET 2.0 project to Atlas? I already install the Atlas April 2006 CTP. I can create Atlas websites in VS 2005 but I want to upgrade some of the projects I have to Atlas.

hello.

well, you need to put the atlas dll on the bin folder, copy some entries from the default atlas web.config to your app's config and, if you're using bridges, add a new extension to iis.


bass_player...

Try these instructions on my blog -http://codebetter.com/blogs/jay.kimble/archive/2006/05/19/144952.aspx

I think they will help you out considerably.

Jay


bass_player...

Try these instructions on my blog -http://codebetter.com/blogs/jay.kimble/archive/2006/05/19/144952.aspx

I think they will help you out considerably.

Jay


Thanks a lot Jay, I really appreciate this. I just need to try it out. Will give you some updates.

Upgrading Extender control from Atlas to ASP.NET AJAX

Hi,

I have an extender control written in atlas. I want to upgrade it to asp.net ajax.

Its so sad that there are no documentation for upgrading an extender control.

My extender control is as follows.

publicclassMyExtender : ExtenderControl<MyTargetProperties>

{

public MyExtender()

{

}

publicstring ControlID

{

get

{

return (string)ViewState["ControlID"] ??"";

}

set

{

ViewState["ControlID"] =value;

}

}

protectedoverridevoid OnInit(EventArgs e)

{

// Init code

base.OnInit(e);

}

protectedoverridevoid OnLoad(EventArgs e)

{

base.OnLoad(e);

}

protectedoverridevoid OnPreRender(EventArgs e)

{

base.OnPreRender(e);

}

protectedoverridevoid RenderScript(Microsoft.Web.Script.ScriptTextWriter writer,Control targetControl)

{

// write the script here

}

}

publicclassMyTargetProperties : TargetControlProperties

{

protectedoverridebool IsEmpty

{

get {returnfalse; }

}

}

Can somebody suggest what I need to do ?

The moment I remove the Microsoft.Web.UI namespace, I get plenty of errors.

Thanks

Hi,

Maybe it's not too hard to start with a new control based on the doc, and migrate your code:

Adding Client Behaviors to Web Server Controls by Using ASP.NET AJAX Extensions

or

Adding Client Capabilities to a Web Server Control by Using ASP.NET AJAX Extensions


hello.

well, several things have change since then but i'll try to recall what yoyu need to do. the first thing is to drop the targetcontrolproperties since they are no longer needed.

the second thing you need to know is that the client behavior object (JS) is introduced in the page through what is know as a ScriptDescriptor object. currently,you have 2 options: ScriptBehaviorDescriptor and ScriptControlDescriptor (it all depends on what you're developing: behaviors or client controls). Besides one of these objects, you'll also need a scriptreference to indicate the client files that must be loaded. what you can't forget is to:

1. during prerender, call registerextendercontrol method

2. during the render method, you must call the registersccriptdescriptors

do notice that if you're extending the extendercontrol class then you don't need to worry about this: just override the abstract getscriptdescriptors and getscriptreferences methods

i still think that the easiest way to understand what's going on is to use reflector and take a look the code you have in the current version of the platform...

Upgrading from atlas to ajax extensions 1.0

Hello

I have some projects wich I build in Atlas and are already finished and properly running on my server.

I want to updatethe server in order to runNEW asp.net applications using AJAX.

Question: If I upgrade mySERVER to Ajax Extensions, will my existing Atlas projects (wich I don't plan to modify) still run fine?

Thanks

Well,

As I remember that in Atlas, all the dlls are in the bin folder; and the new AJAX, everything is in the GAC. I don't think there will be a problem if you install AJAX on your server, because you don't even use it. And if you don't intend to modify anything, then don't bother installing Ajax on your server.

But if you do sometimes in the future, then you need to modify your .aspx pages including the Web.Config file;

The new one has more to offer ... ..... good luck ......


Please also refer to : http://ajax.asp.net/documentation/default.aspx?tabid=47

See section Migration Guides


upgrading to ajax.net from Atlas 2.0

Hi, after searching around a bit on this forum I'm not really finding info on how to upgrade to the latest ajax.net from an old Atlas 2.0 project I have.

I have a working project that is Atlas 2.0.5xxx... Is there special instructions on upgrading to ajax.net 1.0? or should I just download it and follow normal install instructions?

Thanks very much.

-JBD

Hi,JBD

Check this articlehttp://groups.google.mu/group/ajaxpro/msg/828724afed7d8132

Let me know if you need more info.

Thanks

NOTE:This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

upgrading to Atlas 2.0

I upgraded a site to Atlas 2.0.
I now have a problem with an autoextender inside of a user control. In the user control, I am setting one of 6 textboxes visible depending upon the choice made in a dropdown list. Each textbox has an autoextender attatched to it. When the user starts typing, each autoextender calls it's own function in a web service and autofills the textbox.

This worked using 1.0 of Atlas with no errors

Now, When I browse to the page with the user control, I get the following error:
Assertion Failed: Could not find an HTML element with ID "CtlSearchLims1_txtStrain" for contorl of type "Sys.UI.Control" Break into Debugger?
Whether I click OK or cancel, nothing happens.

The ID of the Control is "CtlSearchLims1" and the first textbox on the control is txtStrain.
Every time I generate a postback I get the above mentioned message. For some reason, it is putting the control ID and the textbox ID together.

When I downloaded Atlas 2.0, I blew away the 1.0 download, so I either need to get this fixed or get a copy of the 1.0 download and go back to that version.

Thanks,

Faronwhere did you get atlas 2.0? since thereisn't even a 1.0 version. Atlas is still in beta and has a versionnumber like 0.0.0.0.0..0.0.0.0.1.2 or so.
So what do you mean? You upgraded from the March CTP to the April CTP?Or do you mean dat you upgraded from ASP.NET1.0 to ASP.NET 2.0?

I went from the previous version that has a Microsoft.Web.Atlas.dll in the bin folder of 167 kb (2/3/2006), to the latest version that has a Microsoft.Web.Atlas.dll of 1872 kb (4/6/2006).

I received no errors on the first version and it started failing when I moved to the current download of Atlas.

Faron


I went from the previous version (OF ATLAS) that has a Microsoft.Web.Atlas.dll in the bin folder of 167 kb (2/3/2006), to the latest version that has a Microsoft.Web.Atlas.dll of 1872 kb (4/6/2006).

Everything is on ASP.NET 2.0!

I received no errors on the first version and it started failing when I moved to the current download of Atlas.

Faron

UPLOAD FILE WITH ATLAS

I need a sample that allows to upload files using ATLAS.

Thanks in advance!

hello.

can you give more details on what you're after?


Well, I need to upload XML files from a WebBrowser (Internet Explorer, FireFox, etc) to the WebServer using UploadFile control.

How can I do it with ATLAS!?


hello.

unfortunally, by default, you can't do it without writting code to perform this action.


ok! Could you help me with this? Could you send me a sample to perform this action?


hello.

unfortunatelly, i still haven't written anything that let's me perform that kind of action. i'll report abck if i manage to get something working.

Wednesday, March 21, 2012

Urgent Help Required

Hi All,

I am new to Atlas Technology. Just I started an application with Atlas but it is not working. I created web site using Asp.net Web site Template instead of using Atlas Web Site template. I refer Atlas dll in my application, then also it is not working, it shows an "Unknown Error" message. Can we use Atlas if the application opened in asp.net web site template. Or we must need to open it in Atlas web site template.

Can any one tell me what are all the requirements needed for Atlas based application, that is in Client and developing machine requirements. Whether we need JVM for running Atlas based application.

I just create a sample web application using Asp.net web site template. The page consist of two text box and two button. One button is "Add" and other button is "Back". If I press Add button it call server side btnadd_Click using Atlas. But it is not working. I am pasting my code here please tell me solution for this.

<atlas:ScriptManager id="scptMgr" runat="server" EnablePartialRendering="true" />

<asp:TextBox ID="txtAstClassName" runat="server"></asp:TextBox>
<asp:TextBox ID="txtAstClassPrefix" runat="server"></asp:TextBox>

<atlas:UpdatePanel Mode="Conditional" ID="atlasUpdate" runat="server">
<ContentTemplate></ContentTemplate>

<Triggers>
<atlas:ControlEventTrigger ControlID="btnAdd" EventName="Click" />
</Triggers>
</atlas:UpdatePanel>
<asp:Button ID="btnAdd" runat="server" Text="Add"

OnClientClick="AddUpdateAssetClass()" OnClick="btnAdd_Click" />
<asp:Button ID="btnBack" runat="server" Text="Back" />

I set web config like this

<

controls>
<

add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas" />
<

add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas" />
</

controls>

In this I call server side Add Click event in Atlas Trigger. But It shows error.

It is very urgent Please help me, Any sample program which is created using Asp.Net web template and Atlas pls send to me.

maximasshel@dotnet.itags.org.yahoo.com

maximasshel@dotnet.itags.org.hotmail.com

Regards,

Maximasshel

Hi,

if you are working with the ASP.NET WebSite template, be sure to reference the Atlas dll but also to update the web.config (the changes you made to your web.config are not enough).

The easiest way to update the web.config is copying it (or the relevant sections) from the Atlas WebSite template.

Hi

I refer dll in my application and I get this config information from other project which is created in Atlas Web Site template.

I just include add button event in atlas trigger, that shows error.

regards,

maximasshel

Urgent: Atlas breaking <asp:button> postback

On my form I have an <asp:ImageButton id='Calculate'> which calls a webservice to perform a calculation then populate a textbox.

I also have an <asp:button id='Save' test='Save'> which performs the form submit.

The Save button works correctly posting back to the server unles the Calculate button is pressed. If the Calculate button is pressed the asynchronous call for the calculation works, but afterwards the Save button will no longer postback.

I created <a href="http://links.10026.com/?link=javascript:__doPostBack('Save','')">Save it</a>. This works before the Calculate is pressed and fails after Calculate is pressed (exactly like the Save button).

Any ideas? I have a client I have to show this to in the morning.

thanks.....mac

hello.

not without seeing a small sample that reproduces the error...

URL parameters within Atlas enabled Web Service

I was able to test my Web Service by passing in the parameters via an URL string. (i.e. localhost/service.asmx/GetNames?id=1) But since I "Atlas enabled" my Web Service, this functionality no longer works. I receive the error,Request format is unrecognized for URL unexpectedly ending in...

I would like to have the flexibility of passing in URL parameters to some of the methods. Is this just not possible?

Thanks in advance.

Juan

Juan,

You could try a different approach. Check out a tool called Web Service Studio. You give it the url to your service, http://localhost/service.asmx, and it will discover all of the methods available at that service and what their parameters are. Then, type your test parameters into the text boxes and click the Invoke button. That will call the web service and display the results.

One advantage of using this tool is that you can test a web service even if its web.config is set up to disallow GETs and POSTs.

Here is a link to the tool:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c

Mindreef SOAPscope is another, more sophisticated tool, but it is not free:

http://www.mindreef.com/

- Brandon


Thanks! This will do just fine.

Juan