Hi!
Why using Application Services?, I want put my login control in updatePanel?
Which is better?
Saludos,
Both is correct, this is what they call Client Side Model vs Server Side Model :-)
Oh, only that, Thanks :).
Saludos,
Hi!
Why using Application Services?, I want put my login control in updatePanel?
Which is better?
Saludos,
Both is correct, this is what they call Client Side Model vs Server Side Model :-)
Oh, only that, Thanks :).
Saludos,
Hello,
I am developing Website Application using VS 2005 with .NET 2.0 and Atlas June CTP. I am using Atlas framework in the existing project. Hence I have added reference of Atlas.dll and modified Web.config
In the project, I have one user control (ascx) and one aspx page. The user control is included in aspx page. The user control has two dropdown lists. The second list is getting populated depends upon the selected value from first list. This is done by using Atlas. The UpdateControl is added into this page. The Script manager is added in aspx page.
If the application is launched on the machine where Atlas is installed, it works only on that machine in both browsers (IE and FireFox). It is not working if anybody accesses this website remotely through browser from machine where Atlas is not installed.
If the application is launched on the machine where Atlas is not installed and accessed the local website through browser, the "SelectedIndexChanged" event is not getting triggered. If I add "ScriptLibrary" folder in the application, it is working in FireFox but not in IE. In this case,do I need to add any assemblies apart from Atlas.dll to make it work in IE and without installing Atlas?
Thanks in advance,
Milind
hello. the atlas dll is the only thing you need to have in your bin folder to get the updatepanel working. btw, how are you accessing the web site from the machine that has the app installed? are you using localhost/... or localhost: portnumber/... (ie, are you using the internal server or IIS when you access the site on the server?)
Thanks,
Milind
hello again.
weird stuff...btw, is this a public url we can see?
Thanks in advance,
Milind
hello.
well, if you're not using the atlas toolkit, then you only need the atlas dll.
Thanks,
Milind
hello again.
the only thing that occurs to me is if the web site is not configred as a web app or is not using asp.net 2.0...
Hi
I am writing my first AJAX enabled application, and I am having problems deploying it. I have created a simple autocomplete app in VS 2005 which reads values from a SQL database and returns them as an autocomplete list. This works fine on the development machine, but when I publish the app and copy the files to the server, the AJAX part of the page does not work (non AJAX parts do) I have installed the ASP.NET AJAX from http://asp.net/ajax/ on both the server and the development machine. Following publishing the app to a local drive, the only change I have made is to the SQL connection string. I have stripped the web service down to a "hello world" application to remove the connection string from the equation and this still does not work. I would be very grateful for any ideas.
Thanks
Hi,
Could you please paste the error that you are receiving here?
Thanks
You must have to install the Asp.net Ajax Framework in you server. Also you have to have the AjaxControlToolkit dll in your web application bin directory to make it working.
Turns out it was somehow related to the firewall. Worked fine bypassing the firewall. Passed to sysAdmin to sort out.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:System.ArgumentException: DynamicControlID must be set
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.What ajax components do you have on the page you are running? Most likely one of them is missing a control association. For example the modalpopupextender has to have a dynamiccontrolID set
it's the web control to associate the AJAX Extender with... look through all the ajax components on the page and check to see if any of them are missing a "DynamicControlID" And if they have that as a property that can be set
(Note: Bertrand has ablog post which should be pretty close to what you are doing.)
This should indeed be pretty trivial. Lets assume you already have a page with a datasource, a listview, a textbox (for the message) and a button, and you have set up the right bindings. (If this is a problem, let me know, and I will show you how to set this up properly.)
All you should really have to do is invoke a method on the datasource when someone clicks on the (save) button. Atlas has a concept called "actions", which are kind of like eventhandlers. This basically allows you to specify what actions should be performed when an event is raised. In your case, the action you want to perform is "update the datasource". You can do this with the following code:
<button targetElement="myButton">
<click>
<invokeMethod target="myDataSource" method="update" />
</click>
</button>
That is basically it. The datasource should take care of submitting the bound values (ie. your textbox value is the message) to the webservice's update method.
As a side note: if you want to quickly find out what kind of (public) methods/properties/events a control supports, you could take a look at its getDescriptor function. Ralph Sommerer hasposted a more readable version of the atlas sources, which should simplify this.
HTH.
Update: I should clarify this a little bit. You actually have to call a function "addItem" on the listview first. The listview should then add an item to the datasource (with no values), and show a new item bound against this new datarow. A user can enter values for this new item, and save it by clicking on the button the way I defined it in this post. One way to achieve this, is by adding another button:
<button targetElement="addMessage">
<click>
<invokeMethod target="myListView" method="addItem" />
</click>
</button>
Additionally, you could also tweak this a bit and for example disable this button after you added an item, to prevent a user from adding multiple items and save them at once. To do that, add a setProperty action which enables/disables the button when you add an item and save an item, respectively.
I am making an xmlhttp request (using the scripts provided inAjax for Web Application Developersby Kris Hadlock) to get data from an aspx page. When I create a dataset and return xml with an xmldocument it works fine. I am using the following where dsreturn is the getXML of the dataset.
Dim xdocAs XmlDocument =New XmlDocument()xdoc.LoadXml(dsreturn)
xdoc.Save(Response.OutputStream)
The problem is that I also want to return json. I have created a biz class to parse a dataset and return a json string. I know this works because I have used it in other web services. When I do this I get nothing. I think that my problem is how to return the json string in the response.outputstream. I am not sure how to do this. Just using response.write doesnt seem to work.
Thanx
Have you considered using page methods instead of doing it all by hand? They return JSON by default.Hi All,
I am building an Atlas eCommerce application (Web) that will communicate to the server using web services. Accordingly, I need to secure the Transport layer of my application and I am looking at the WSE (Web Services Enhancements) package from Microsoft.
My question is this:
Has anyone has any experience in successfully integrating WSE with their Atlas applications and know of any links or tips that would prove useful.
Many Thanks
Shailen Sukul
.Net Architect/Developer
Ashlen Consulting Service P/L
BSC | Mcsd.Net | Mcsd | Mcad
Atlas does not support the SOAP-based security protocols implemented by WSE. If you need transport security, use HTTPS.Jeez what a bummer!
Thanks for the reply though.
xml script spec