Showing posts with label existing. Show all posts
Showing posts with label existing. Show all posts

Wednesday, March 28, 2012

Updated control KIT

I downloadedhttp://atlas.asp.net/default.aspx?tabid=47 this tool kit and I copied .dll file to my existing Atlas project and I still dont see new control like (dropshadow, roundcorners,modalpopup etc)
How to fix it?

Even when I create new application using atlast template I dont see new controls?

What dll did you copy?

It could be that you've reinstalled Atlas ... not the Atllas Control Toolkit , they are different.


I downloaded the new tool kit and than extracted and copied the bin folder from sample project to my project.

If this is wrong download what I need to dowload and from where? (Note: I already have old atlas running on my current project)


The atlas assembly is: Microsoft.Web.Atlas.dll ... no update since April 6.

The latest control toolkit is: AtlasControlToolkit.dll ... and some of the samples need Microsoft.AtlasControlExtender.dll as well (like the Modal dialog sample).

Have you tried running the sample website that comes with the toolkit? If not, you should try ... it has working examples of all of the controls.

If it's a pre-existing project, you'll also need to add a new directive to your pages in order to start referencing the toolkit controls.

<%@. Register Assembly="AtlasControlToolkit" Namespace="AtlasControlToolkit" TagPrefix="atlasToolkit" %
Hope I'm not repeating myself ... but the toolkit controls are open source samples of things that you can build on top of Atlas. I don't work for Microsoft ... so know idea if these things will be rolled into the core Atlas at somepoint. But at this point the goal is clearly to seed the developer community with cool things that you can do on top of the Atlas framework, get developers to submit new controls, etc.


Wednesday, March 21, 2012

UpdatePanel and GridView : Requirements for PartialRender

Hello all,

I'm trying to incorporate Atlas into an existing ASP.NET application. When I add an UpdatePanel and move the GridView inside the UpdatePanel it does not work. When I turn of PartialRender the application works just as it did before. However, when I turn ON PartialRender, I get a browser error "Unknown error" when I click the auto-generated Select button in the grid.

When I create a new project and put an UpdatePanel and a GridView on it and turn PartialRender on, it works without any problems.

Can someone tell me for what settings I should look for, or what settings should or should not be used in the page and/or grid when using Atlas?

Thanks in advance,
Mariella

Hello Please check for Enableview state.

Also what are you doing for databinding. Ar eyo uusing SQLDataSource for that.

and what is the purpose of your select button ??


EnableViewState of the grid is True. The purpose of the select button is only to select the record (The built-in behaviour). Data binding is done by clearing the grid, and assigning a DataTable to the DataSource property of the GridView. Columns are generated manually. After that the DataBind method is called.

Hello Mariella,

You might review your web.config, and then adding configurations to be same as a new Atlas project's web.config.

Hope this help...


I have already checked the Web.Config. It is the same as the new project..

Hello,

What exact error are you getting. Turn on the error of browser to show complete errors.

Try to debug and see what is there and at hwat point code breaks.


I am only getting a Internet Explorer message saying "Unknown error".When debugging in Visual Studio, no exceptions get trapped.

Hello,

in your browser ( IE). go to Tools -> Internet Options -> Advanced Tab -> Browsers Section and look for this checkbox named "Show Friendly Http error Messages". uncheck that and see what is ther.


It is not an HTTP error message, but a script error.

Like this:

Hi,

Just check that in Firefox also. and any other browser


You might try using Fiddler.


Firefox appears to be doing nothing at all (It does not display an error, progress or activity, however it is making a request).

I have installed Fiddler. For what things should I be looking? In Fiddler I can see a request, which gets an OK response (200). For as far as I can see, data gets returned.

Any ideas where to look at?


When I see Unknown Error javascript exceptions, I will generally see a pageError node in the TextView of Fiddler that shows the server-side exception.
There is no pageError node in any response.

Just thought of something else. Check the head element that gets passed back. Make sure that there are no invalid characters or use CDATA. Search for posts on CDATA for more information.