Showing posts with label controls. Show all posts
Showing posts with label controls. Show all posts

Wednesday, March 28, 2012

Atlas without ASP.NET

I have observed that Atlas has a strong dependency to ASP.NET.
All Atlas controls have the form of ASP.NET components.

Could I use functionality of Atlas without using ASP.NET?

More precisely I would like to take advantage of Atlas rich UI features but use a server with no ASP.NET support (Tomcat, JBoss, Weblogic etc) and without using ASP.NET at all.

Is it possible? If yes how?

Please assist.

Hi,

and welcome to the ASP.NET forums.

I read on a blog last weekend that at Mix06 there was a demo by just using the script libraries to interact with PHP pages that ran on an Apache server. Unfortunately I could find the presentation or sample code at that timeSad [:(].

Grz, Kris.


hello.

well, i think it's fair to say taht atlas is divided into 2 parts: client side and server side. Most of the client side features can be used in non-asp.net pages. for instance, you can use the OO abstractions to build better javascript objects. You can also use the atlas elements that wrap the controls and i think that you can also use most of the behaviors.

i also think that you can call web services if their return value is formatted according to the JSON rules.

so, if you want to reuse the client side of the atlas, you should only need to add the necessary jscript files to your pages and you should be ok :)

Atlas with FreeTextBox

Helo,
I'm using a FreeTextBox control (http://freetextbox.com/) in the same updatepanel of other controls, including a panel. When I try to set the Visible=false of the panel it doesn't work. When I remove the FreeTextBox control it works.
Do you if they doesn't work together? Is there an alternative? Are they resolving this bug?
Thank you,

Chierici

Hi,

from what I've read in these forums, there are problems with FreeTextBox and the UpdatePanel. The only editor that seems to work isFCKEditor (the last version, stating tothis thread).

I have posted a workaround for the freetextbox on my blog.

http://www.flanders.co.nz/Blog/2006/07/21/MakeTheFreetextboxWorkInsideAnAtlasUpdatpanel.aspx

Atlas with Comercials Grids

Hello all!!

Well I beginig with atlas.. work fine if i use standard web controls of VS25005 in a updatepanel.. but if i put a Infragistics UltraWebgrid, AspxGrid, or WebGrid of intersopt in a updatepanel.. well work fine the first, but in the first postback make error in atlas.js

with ultrawebgrid the grid is only html txt and a jx error in atlas

with aspxGrid error because the XML (delta) no es correct

with WebGrid the grid is only html txt (no javascript of grid)

no working atlas with this? only with standard webcontrols? no with comercial controls?

thanks and excuse my bad English, I am spanish

I have a similar problem. I have custom richtextbox and datepicker controls within a formview. The formview mostly performs as it should until I try to switch to the editing view where the richtextbox lives. It refuses to switch views and throws a javascript error. If I remove the richtextbox it switches ok though the datepicker doesn't quite display properly.

Not sure if these problems will be down to the custom control makers to sort out when Atlas is released or if these are just bugs within Atlas that will be ironed out in a final release?

I do realise I'm expecting a bit much from beta software at this early stage though. Atlas is an absolutely superb piece of work and I have huge respect for the developers.

Davy

Atlas with 3rd party controls

Has anyone used 3rd party controls with atlas? For example r.a.d controls. I am using one such control (a tab strip). The situation is that I have a Update Panel on my page with some buttons on it. And I have this r.a.d control outside the update panel (actually doesn't matter if it is in the same update panel as the buttons or not).
What happens is that when I click on any of the buttons, this control loses the style that was applied to it. I try to reapply the style on page load but it doesn't work.
I just thought I should post this here in case someone else has seen this problem.

Thanks

There are a series of known issues rleated to Updatepanel and other controls. It boils down the the current process that UpdatePanel is using to try to provide the correct rendered parts of the page that may result from the postback (async). For example, scripts, styles, hidden form fields, as well as the rendering that occurs in the updatepanel itself.

Also, since UpdatePanel (pageRequestmanager) essentially hooks up and overrides the regular postback emchanism, then custom controls may have attempted similar things which cuases issues.

We are investigating such issues ..


Hi,

I'm also having a similar problem with the R.A.D. treeview (5.21), the style and images get "jacked up" after partial postback. Initially, I thought I could just reset the style and image path in NodeSelected. After debugging, I saw that the image path and the style was correct. So I opened the properties on a tree image that wouldn't render, the URL of the image showed as "javascript:false". After looking at all the images it appears that they each had "javascript:false" as the URL. So it looks like it's something that's happening in rendering.

Telerik will be releasing another service pack on April 27. I have solid doubts about it's reliability. As with their Q1 SP 1, I encountered countless bugs that I could not work around, so I had to drop their "callback" functionality. Additionally, Atlas provides such greater customizable functionality. This style problem is the only issue I've ran into.

Does anybody know of any work-arounds?

Thanks,
Tiffany

atlas website or aspnet

Hello there,

I was wondering if it is necessary to create an atlas website to use atlas controls. I was thinking of creating aspnet website and user atlas controls in few pages. What's is the difference between atlas template and aspnet template?

many thanks!

kushpaw

You don't need a atlas website for atlas controls. You just need a Asp.Net website with the Atlas Dll referenced. Also you should run the Atlas .msi so that it registers the .asbx extension. Read this for more info.

http://atlas.asp.net/docs/Overview/Install.aspx


Hi,

you also need to make some changes to the web.config file. The quickest way to do this is to compare the atlas website's one with the web.config in the aspnet website.


thnx guys!

ATLAS Web User Control using AutoCompleteTextextender

hi friends

I have made to web User Controls. one is for Project selection and other is for Resource Selection. I have made is using ATLAS AutoCompleteTextExtender. Actually I want that when a user selects a project then according to this the Resource should should be come.

Actually I want that when user selects a project then I set the Project Id in my query , according to this Resource sholud be come.But I am unable to find the place , where I will write this. please reply this.

manish

Hi Manish,

The way that i see your problem you don't need an autocompletetextextender but just an update panel that will be trigger when you enter your project name. something like this:

<atlas:UpdatePanelID="upResults"runat="server"Mode="conditional">

<ContentTemplate>

<asp:TextBoxID="TextBoxResource"runat="server"></asp:TextBox>

</ContentTemplate>

<Triggers>

<atlas:ControlEventTriggerControlID="DropDownListProjects"EventName="SelectedIndexChanged"/>

</Triggers>

</atlas:UpdatePanel>

Hope this helps

Regards,


hiDennis

First thanks for reply. Deniss I think U have not got my actual problem. Actually I have made two controls using AutoCompleteTextExtender , this is in two pages and I am using both in third page. Suppose anyone selecting a project in one textbox then I want to store the current Project in session , which I can use in the WebService of another autocomplete Extender that is for Resource selection. My problem is that after selecting a Project I am not able to find the way to store the current project in session or anywhere. And I cannot use this value directly in another webservice bcz all r in different pages.I want a way to fire a postback of only the project selector, by which on lostfocus , I can store this value.

please reply .

Regards

Manish

Saturday, March 24, 2012

Atlas Toolkit Use

Do you i need to create a new atlas project to be able to use the atlas controls or can i just add a dll or something and use them in my existing projects?Add the dlls as reference to your project, modify your web.config to include those entries as included with the sample site web.config included with the Atlas download. Then just make sure you do the proper reference for your apsx or ascx and likewise for you code files (see one of the example pages for the declaratives / syntax...

Atlas Toolkit Extender- Controls - Intellisense

hi,

I just tried the new Atlas- toolkit and it is really amazing. but one other amazing fact (beside the controls) is the intelli-sense of the extender- controls.

there is nothing included in the project (for example .xsd- files like in many other solutions) and the thing just works.

can someone please tell me how to do that in my own custom controls?

ollifant
Yeah, I would like to know how to do this as well =)

Thanks. :)

Intellisense just uses reflection, so if your markup matches your object hierarchy, you'll get this for free. If you add some magic attributes

For example:

[ParseChildren(ChildrenAsProperties =true, DefaultProperty ="SubObjects")][PersistChildren(false)]public class MyControl : Control {public bool Visible {get;set;} [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [PersistenceMode(PersistanceMode.InnerDefaultProperty)]public SubObjectCollection SubObjects {get;};}public SubObjectCollection : List {}public class SubObject {public bool Enabled {get;set};public bool Name {get;set;}}

Should give you Intellisense on:

<cc1:MyControl runat="server"><cc1:SubObject Enabled="False" Name="MyName"/></cc1:MyControl>

Thanks Shawn

This is more or less the example from the MSDN (with some typos ;), but still, it doesnt work with the intellisense, nore does it give any clue how to have more than one property that is recognised...Huh?

It has removed the stupid warnings from the IDE though; yay :D
Hi GSpies,

When you say more than one property, are you talking about more than one nested element inside the control? If that's what you're getting at then you can use[PersistenceMode(PersistenceMode.InnerProperty)] on several different properties so they all appear.

Thanks,
Ted

Atlas timer control question

I have two Atlas timer controls on my page. The first one I have a label that updates a tip every 5 seconds. I put the update information in the page load event and not it is working great, I cache even cache the datatable with the hints to improve the performance even more.

Now I have users who sign in. Every 15 minutes, I want to check to see if they are still valid. I would like to use the second Atlas Timer control to do this. How can I a sub to fire to verfiy the user is still good from the timer? I do not want this timer to hit the page load event.

Anyone with any ideas?

Thanks, Chester

I can't believe I am the only person having this problem with the timer control in Atlas. I at first thought that it may be the placement of the timer control, so i have tried various positions on the page. On the timer interval it appears the page is reloading because I have a login password and user ID and if there is anything in the password text box when the tip changes on the timer interval, then the password field is emptied. I guess I will just not use the timer control because it appears to not be perfected yet.

Chester


I have a similar problem too with timers. I'm using two timer controls in a asp.net page. I have two update panels, each timer is inside each update panel. Apparently, only 1 timer can execute the code behind even i've placed code behind to each of the timer's tick event. If I put the first timer interval's 1000, and the second one to 1500, only the first one executes. If i change the first timer to 2000 and the second remains at 1500, only the second one excutes. Anyone has any idea?

cheers


When the first timer fires, the interval for the second timer would be reset. So how would you see the second timer firing. (Only the smaller interval from the two would fire)
vineetc

Atlas Support in Internet Explorer 7

Hello All,

I have a project written in asp.net 2.0, C#, using atlas Controls, the project is running very well in IE 6.0, IE 6.1.

but when i tried to runit on explorer 7.0 the new release, the where problems in the viewin g of the conmtrols, (a Grid View only shows a part of it), as it is hidden,

Do u have any clue fo this problem , and if it's a bug in IE 7 then how to report it.

Good Luck.

Atlas has nothing to do with the "displaying" of your data (or very little most of the time). When moving up in a browser version, the first thing to look at is your CSS, and probably your div's. My first guess is you have a div that used to autoexpand, that is no longer doing quite what you told it to.

Hi,

Did you use Panel or something like that?

if you used a Panel please control width and height of that.

Wednesday, March 21, 2012

Atlas Server Controls

Will there be drag and drop server controls for Atlas once it ships? Drag Atlas (AJAX) control from toolbox to web form, write C# code, done! Dart has a great set off LiveControls that are very easy to use but also pretty expensive. Does anybody know?
PatrickYou can already do that with the Atlas server controls if you add them to the toolbox.

Thanks for your reply. I downloaded the following from atlas.asp.net

Atlas Blank Project VSI

Use this project add-in to Visual Studio 2005 Beta 2 to create your own Atlas web project. Includes Atlas binaries and everything you'll need.
When I open a New Atlas Project and right click on the Toolbox - Choose Items - I can't find the atlas controls under the .Net Framework Components or the COM Components. Is there something else I need to install? Please let me know. Thanks, Patrick


Yes, if you want the controls in the toolbox, you'll have to add them. You do this from the context menu of the toolbox itself, which will enable you to add the controls from the atlas dll.
I'm sorry to bother you again. I have added a new tab to the toolbox and called it Atlas. Now I have four different places where the Microcoft.Web.Atlas.dll is located on my machine. Am I right to assume that I should find the atlas controls when I right click in the Toolbox and click Choose Items under the tab .Net Framework Components?
What do you mean when you write "which will enable you to add the controls from the atlas.dll?
Do I have to browse to one of the Microsoft.Web.Atlas.dll's on my computer? Will that add the controls.
Lost sorry.............
Thanks, Patrick
Thanks Bertrand, I figured it out. I browsed to the Microsoft.Web.Atlas.dll double clicked on it. This added all the Microsoft.Web.UI controls to the .Net Framework Components tab and I was able to add the controls to the Toolbox. Pretty easy really. Thanks for your help once again. Happy coding, Patrick
I've done this too, thank you. But should I still be getting manyerrors such as "The active schema does not support the element Binding"? In my code browser?
I can't even switch to design view because it complains of the Atlas tags.

That's an issue in the PDC build that has been fixed in the next build we'll release.

Hi,

I've just installed the January release and trying to add the controls to my Toolbox. Whenever I try to add Microsoft.Web.Atlas.dll by browsing it in the "Choose Toolbox Items", I received an error message:

There was an error loading types from assembly C:\Microsoft.Web.Atlas.dll
Request for permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5656565' failed.

I am unable to add it to my toolbar... Any idea what I am missing?

Thanks!

Janh