Showing posts with label example. Show all posts
Showing posts with label example. Show all posts

Wednesday, March 28, 2012

Atlas works on Dev. Machine - not on IIS

hi,

I have installed Atlas - and just tried the simple example with the Labels and Time refreshing.

Works perfectly on the development machine, although it doesnt work once i publish it to the IIS server.

any ideas as to how to get it to work?

thank you.Depends on what the error is...

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

Monday, March 26, 2012

Atlas UpdatePanel, EnablePartialRendering, and a custom javascript problem.

Hi all,

I have a javascript that renders custom tooltips on onmouseover events of objects on my pages, for example an A element. The custom javascript points the elements onmouseover event to delegates. This works fine except however when an UpdatePanel is render after the page has initially loaded. The function pointers are lost by objects within the UpdatePanel.

How can I setup an client side event procedure that can be run everytime the UpdatePanel renders something so that I can reinstate the lost function pointers?

Or, is there a better way to do this?

Thanks,

Andeezle

Please allow me to simplify my question. In other words, how can i run a client side script after an updatepanel updates?

also, i need a reference to the updatepanel that updated.

-Thanks,

Andeezle


Hi,

please check theUpdateProgressSignup written bySimone Busoli.

Thank you. Very cool. And it worked too!!!

-Andy

ATLAS Updatepanel bug ?? character underline

I have a problem with de "_" character in the January Pre -Release

For example if i have a update panel with id ="updatepanel_calendar"

The panel not be found in postback cause then panel id change to update&calendar

I have the same problem if i have de update_panel into a user control with underline charater

for example: uscr_ticket

meybe its me the problem, but i dont know

anyway im very happy working with atlas

thanks...

Pd: sorry my bad english ...jeje

;)

Hi,

yes, it is a known problem; you should avoid to put an underscore in the UpdatePanel's id. This will be fixed in the next release.

Wednesday, March 21, 2012

Atlas scripting inside an ASCX

Hello!

I have an ASCX inside an ASPX.

I want this ASCX to work with Atlas Scripting, for example doing this:

PageMethods.HelloWorld(OnWebRequestComplete1);

The problem is that it only works if HelloWorld is in the .ASPX.CS, but I want this method to be in the ASCX.CS.

If I put the HelloWorld inside the ASCX.CS a javascript error is thrown (it doesn't recognize what PageMethods is).

Any one has an idea??Hi,

at the moment you can't call a WebMethod inside a user control. You have to expose it in the Page class.
Thanks Garbin... that's a bad newSad

I would have to use AJAXPRO for this purpuse
I'm not sure that's entirely correct. I am doing just that, without any problem. The key is that you have to have the ScriptManager in the ASCX control, and then it works just fine. I assume, therefore, that you just can't have another in the Page itself. Otherwise, it works for me...
Hi,

thanks for pointing that out, lonevvolf. I wasn't thinking of this scenario because I see the ScriptManager tied to the Page rather than to an user control (where I would use the ScriptManagerProxy). However, if it works around the issue, it's good news.

Here's the way I'm doing it.

In the .ASPX page, I'm exposing a Web Method that will actually route the call to the user control's web method. This is the way I found that works best for me.


Is it possible that I can see your code, or share mine with you. I am unsuccessfull so far and need help. The whole idea behind this for me is to keep the .ascx control's code to be abstract from the user (developer. I want the user to be able to implement these controls very easily.

Thanks,

Jack

jfobel@.msn.com


I am sorry, my post was meant to be directed tolonevvolf. He states he has done this successfully.

Were you successful at it now? I'm having this same problem as I just discover it.


I'm unable to post the code here as I don't know how to get this forum to render this sample html script instead of malformation text...

Atlas Samples Database Cannot Connect

I have SQL 2005 Express and SQL 2005 Developer Edition

I installed the Atlas examples in the default location but the example websites fail.

System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance.

If I try to attach to the .MDF files using Management Studio in the website app_data folder I get this:

Attach database failed for Server 'local\SQLEXPRESS'. (Microsoft.SqlServer.Smo)

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\Program Files\Microsoft ASP.NET\Atlas Sample Applications\TaskList\App_Data\Tasklist_log.LDF'.
Could not open new database 'C:\WEBSITES\WEBNET\MISC\ATLAS\SRC\APPS\TASKLIST\APP_DATA\TASKLIST.MDF'. CREATE DATABASE is aborted.
File activation failure. The physical file name "C:\websites\webnet\misc\atlas\src\Apps\TaskList\App_Data\Tasklist_log.ldf" may be incorrect. (Microsoft SQL Server, Error: 5123)

I don't have a c:\websites folder and there is no .ldf file shipped with these examples.

Do they test this stuff before offering them up for people to waste an entire Sunday pissing around with examples that don't work? What's going on?

hello.

it looks like you don't have enough permissions on the folder where the sql database is placed to do what you're after. maybe you should take this issue to the sql express forum (i think that you'llget a faster answer there.)


Thanks Luis,

It turns out that I had SQL Express installed from my VS 2005 installation. The version of SQL 2005 Developer I had would not install because it said the Express version was newer. So, I had to uninstall Express, install Developer Edition then re-installed Express to use the examples.

Long and short of it is, if you do that you need to delete the Documents and Settings\<user>\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS folder so it will re-create that folder with the current install of SQLExpress. That is where it creates files related to a user instance of SQL Server that dynamically attaches .mdf files like the Atlas examples.

How stupid of me to not know that... Hmmm