473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Using Atlas on existing application

Hi.

I think I have some conceptual questions here. I have an asp.net web
application up and running and now I intend to use Atlas on some of my
pages. I have read that after installing Atlas, I need to create a
specific Atlas project. But what I need is to just adapt Atlas on
existing pages, so my questions are: Can I simply add Atlas controls
like UpdatePanel on an existing web application page? If so, do I need
to adjust some kind of configuration in order for this to work?

Thanks,
Robert Scheer

Oct 6 '06 #1
3 1526
Hi Robert,

Yes, you can certainly add Atlas to your existing application. The Atlas
project just automates some of this for you.

You'll need to add the Atlas DLLs to your bin directory and add them as
references in your project.

Next, put in the ScriptManager first in the form section, making sure to set
EnablePartialRendering to true :

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

Then, wrap the UpdatePanel markup around your control:

<atlas:UpdatePanel ID="pn1" runat="server" >
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False" DataKeyNames="TaskID"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True"
/>
<asp:BoundField DataField="TaskID" HeaderText="TaskID"
InsertVisible="False" ReadOnly="True"
SortExpression="TaskID" />
<asp:BoundField DataField="Name" HeaderText="Name"
SortExpression="Name" />
<asp:CheckBoxField DataField="Complete" HeaderText="Complete"
SortExpression="Complete" />
</Columns>
</asp:GridView>

</ContentTemplate>
<Triggers>
<atlas:ControlValueTrigger ControlID="Dropdownlist1" />
</Triggers>
</atlas:UpdatePanel>

As you suspect, the messy part is getting all the Atlas stuff into your
web.config. My advice is to take one of the samples from the Atlas control
toolkit and work from there.

Let us know how you make out?

Ken
Microsoft MVP [ASP.NET]

"Robert Scheer" <rb******@my-deja.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi.

I think I have some conceptual questions here. I have an asp.net web
application up and running and now I intend to use Atlas on some of my
pages. I have read that after installing Atlas, I need to create a
specific Atlas project. But what I need is to just adapt Atlas on
existing pages, so my questions are: Can I simply add Atlas controls
like UpdatePanel on an existing web application page? If so, do I need
to adjust some kind of configuration in order for this to work?

Thanks,
Robert Scheer

Oct 6 '06 #2
Hi Ken,

Just one more question... I will install the Atlas July CTP. Will I
need to replace this CTP for the next to come?

Thanks for your help and sure I will tell the group about my
experiences :-)

Robert

Ken Cox [Microsoft MVP] escreveu:
Hi Robert,

Yes, you can certainly add Atlas to your existing application. The Atlas
project just automates some of this for you.

You'll need to add the Atlas DLLs to your bin directory and add them as
references in your project.

Next, put in the ScriptManager first in the form section, making sure to set
EnablePartialRendering to true :

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

Then, wrap the UpdatePanel markup around your control:

<atlas:UpdatePanel ID="pn1" runat="server" >
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False" DataKeyNames="TaskID"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True"
/>
<asp:BoundField DataField="TaskID" HeaderText="TaskID"
InsertVisible="False" ReadOnly="True"
SortExpression="TaskID" />
<asp:BoundField DataField="Name" HeaderText="Name"
SortExpression="Name" />
<asp:CheckBoxField DataField="Complete" HeaderText="Complete"
SortExpression="Complete" />
</Columns>
</asp:GridView>

</ContentTemplate>
<Triggers>
<atlas:ControlValueTrigger ControlID="Dropdownlist1" />
</Triggers>
</atlas:UpdatePanel>

As you suspect, the messy part is getting all the Atlas stuff into your
web.config. My advice is to take one of the samples from the Atlas control
toolkit and work from there.

Let us know how you make out?

Ken
Microsoft MVP [ASP.NET]

"Robert Scheer" <rb******@my-deja.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi.

I think I have some conceptual questions here. I have an asp.net web
application up and running and now I intend to use Atlas on some of my
pages. I have read that after installing Atlas, I need to create a
specific Atlas project. But what I need is to just adapt Atlas on
existing pages, so my questions are: Can I simply add Atlas controls
like UpdatePanel on an existing web application page? If so, do I need
to adjust some kind of configuration in order for this to work?

Thanks,
Robert Scheer
Oct 6 '06 #3
Hi Robert,

You'll want to update to the next CTP for the fixes. Keep in mind that the
prefixes will change from <atlas:to <asp:as it moves closer to release.

Ken
Microsoft MVP [ASP.NET]
"Robert Scheer" <rb******@my-deja.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi Ken,

Just one more question... I will install the Atlas July CTP. Will I
need to replace this CTP for the next to come?

Thanks for your help and sure I will tell the group about my
experiences :-)

Robert

Ken Cox [Microsoft MVP] escreveu:
>Hi Robert,

Yes, you can certainly add Atlas to your existing application. The Atlas
project just automates some of this for you.

You'll need to add the Atlas DLLs to your bin directory and add them as
references in your project.

Next, put in the ScriptManager first in the form section, making sure to
set
EnablePartialRendering to true :

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

Then, wrap the UpdatePanel markup around your control:

<atlas:UpdatePanel ID="pn1" runat="server" >
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False" DataKeyNames="TaskID"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:CommandField ShowDeleteButton="True"
ShowEditButton="True"
/>
<asp:BoundField DataField="TaskID" HeaderText="TaskID"
InsertVisible="False" ReadOnly="True"
SortExpression="TaskID" />
<asp:BoundField DataField="Name" HeaderText="Name"
SortExpression="Name" />
<asp:CheckBoxField DataField="Complete" HeaderText="Complete"
SortExpression="Complete" />
</Columns>
</asp:GridView>

</ContentTemplate>
<Triggers>
<atlas:ControlValueTrigger ControlID="Dropdownlist1" />
</Triggers>
</atlas:UpdatePanel>

As you suspect, the messy part is getting all the Atlas stuff into your
web.config. My advice is to take one of the samples from the Atlas
control
toolkit and work from there.

Let us know how you make out?

Ken
Microsoft MVP [ASP.NET]

"Robert Scheer" <rb******@my-deja.comwrote in message
news:11**********************@h48g2000cwc.googleg roups.com...
Hi.

I think I have some conceptual questions here. I have an asp.net web
application up and running and now I intend to use Atlas on some of my
pages. I have read that after installing Atlas, I need to create a
specific Atlas project. But what I need is to just adapt Atlas on
existing pages, so my questions are: Can I simply add Atlas controls
like UpdatePanel on an existing web application page? If so, do I need
to adjust some kind of configuration in order for this to work?

Thanks,
Robert Scheer

Oct 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Papanii Okai | last post by:
Hi Guys, As we wall know Atlas is a fairly new feature everyone is talking about (atleast at my school). Even though the idea of Ajax has been used in the past i was wondeing if anyone could...
2
by: Bob | last post by:
Hi, I discovered the new framework 'Atlas' and i want to use it on my existing application. The problem is that on any page of my existing page, the tag <atlas: .../is not recognized. So my...
1
by: MPA | last post by:
Hi, I am a newbee to web applications and we are planning to rewrite our existing PowerBuilder client-server application into a web application under Visual Studio .Net 2005. My question is...
2
by: Tina | last post by:
I'm trying to get started with Atlas and associated necessary javascript at the same time. I started out at http://atlas.asp.net/walkthroughs/gettingstarted/basic.net where they have an...
5
by: igotyourdotnet | last post by:
I have a question on atlas: I can create an 'atlas project' and I can add atlas controls fine. but when I try and add an atlas control to an existing asp.net web app I can't, Why? I did notice...
4
by: Brad Baker | last post by:
I'm trying to implement a gridview control using atlas & asp.net per the following article: http://weblogs.asp.net/scottgu/archive/2005/12/26/433997.aspx My frustration is that the page I've...
1
by: jmdolinger | last post by:
Hi all, I'm a newbie to Atlas (and recently ASP.NET) after coming from a long Java background, also have done quite a bit with an Ajax.NET/ASP.NET 1.1 project, but it was basically all...
0
by: Ted Ngo | last post by:
I am try to use the Atlas Here is my example: <<atlas:ScriptManager ID="S1" runat="server" /> <div> <table id=tbl1 runat=server border=0 width=100%> <tr> <td width=20% class=lbltxt>...
0
by: YellowFin Announcements | last post by:
Yellowfin, Powered by J2EE, Jasper, BIRT, Spring, jfreeChart Advanta releases ATLAS BI using Yellowfin Business Intelligence 3rd of August, 2007 - Advanta Software, specialist software...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.