Showing posts with label template. Show all posts
Showing posts with label template. Show all posts

Wednesday, March 28, 2012

atlas will install but template doesnt show up when creating new web site

Am running Win Srvr 2003/SP1 and have installed/uninstalled Atlas multiple times and it installs fine, but the template never shows up when I want to start a new website in VS2005. Have also tried turning off virus checker during install, with still no success.What must I do??Crying

hello.

inside the installation folder (something like C:\Program Files\Microsoft ASP.NET\Atlas\v2.0.50727), you'll find the aspnetatlas.vsi file. running this should install the templates for c# and vb.net.


Luis, thank you for taking the time to respond. Did what you suggested and it seems to install and says it was successful, but then the template still does not show up when attempting to create a new web site in VS2005. Does this not work on Win Srvr2003? All of my colleagues who have Win XP Pro have had no trouble getting it to install.? Thanks, Michael B.beebemichael3@.hotmail.com


hello.

hum...i'd say no. at work, i've installed it at a win 2003 server and i can see the template on my list.

Atlas Wiki VSI

Hi, after i downloaded and installed atlas wiki vsi file, i tried to create a new website, however, the atlas wiki template did not show as one of the templates. any idea how to fix this?
mp
Try to reinstall it?
did you check everywhere in your new project... list of projects you can make, What are you using for an IDE?

Atlas Wiki

Hi all,

I read the book "Foundation of Atlas" and Laurence Moroney references to Atlas Wiki. This is a template that i like to download, but i can't find it. Is this template part of the new release (July CTP)??

Kind regards,

Hi,

it was a template created with a previous CTP, that is incompatible with the last one. It has been removed from the Atlas site and I think it hasn't been updated yet.

If you need it drop me a pm, I should have it somewhere in my archives...


Hi Garbin,

if its incompatible with the new CTP i can't use it. Thanks for you're offer and reply.

Kind regards,

Atlas Wiki

I can't figure out how to access the Atlas wiki template. How does one access the download mentioned on a number of web postings? Or ... does it no longer exist?Are you trying to use it because you want information about it? you can go to http://atlas.asp.net

Monday, March 26, 2012

Atlas UpdatePanel control is not working on a Microsoft CMS (MCMS) site page

Hi all,

I am really puzzled about the Atlas UpdatePanel control not working on a MCMS template page. Can someone please comment on possible fixes, issues related to using this control of MCMS? I am not very familiar with how the control work under the hood. Can someone pinpoint me where to find documentation on the internal workings of this control?

Here is what I have tried so far.

I followed the insertion of the javascript on the page_load event handler post on this linkhttp://blogs.technet.com/stefan_gossner/archive/2006/06/01/431687.aspx?CommentPosted=true#commentmessage

// register a client script that ensures that the action property
// is correct when AJAX tries to do its postback.
string script =
"\n<script type=\"text/javascript\">\n" +
" if (typeof (__CMS_CurrentUrl) != \"undefined\")\n" +
" {\n" +
" __CMS_PostbackForm.action = __CMS_CurrentUrl;\n" +
" }\n" +
"</script>\n";

Page.ClientScript.RegisterStartupScript(this.GetType(), "AdjustActionForAJAX", script);

However, no luck at all.

Here is a description of the behaviour after that Javascript insertion.

I try using the ATLAS:UpdatePanel control and it didn't work. The button on my page and the clicked results are wrapped inside the content of the UpdatePanel. In view mode, it still does a postback by refreshing the page. And in author mode, there are more problems. The edit link for the web author console will not show up when it is clicked.

Have anyone tried using the ATLAS:UpdatePanel control with a MCMS site.

The only post I found ishttp://forums.asp.net/thread/1335638.aspx
The person responded the following:

It was a painful lesson, but I was able to see multiple things that CMS did to break ATLAS.

- CMS writes a JScript block intercepts the ATLAS async post sent from the client and throws it on the floor. So, the client never gets the post back off the machine. Turns out using the DefaultConsole control is writing the additional JScript block. Needed for CMS editing of the page.

- When using the cms:RobotMetaTag control in CMS, it will cause the XMLDOM load to fail for ATLAS on the postback because of the '&' characters in a <BASE> tag. Plus there is a <META> with no closing tag. This control can be removed if you don't want to use the CMS feature.

We resorted to placing the ATLAS enabled page in an iFrame of a page that was done in CMS. Seems to work

This is still an issues with 1.0 RC.

Has anyone else been able to get the UpdatePanel to work with MCMS?


Here is what I finally came up with to adjust for the ugly CMS urls that was causing AJAX to reject the post backs from UpdatePanel. This is currently going through test, and I'm not sure if it broken FireFox, but this is what I have to get it work in IE.

// add this Script to handle the confusing between CMS and AJAX
string script = "\n<script type=\"text/javascript\">\n" +
"Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);\n" +
"function EndRequestHandler(sender, args) { \n" +
" if (typeof (__CMS_CurrentUrl) != \"undefined\")\n" +
" {\n" +
" Sys.WebForms.PageRequestManager._instance._form._initialAction = __CMS_CurrentUrl;\n" +
" }\n" +
"}\n" +
"EndRequestHandler(null, null);\n" +
"</script>\n";
Page.ClientScript.RegisterStartupScript(this.GetType(), "AdjustAJAXForCMS", script);


I figured out that this fix is for IE and is not needed for FireFox. Funny how the two browsers deal with this.

So I added a check for IE before I write the script block.


Does anyone have an update on this issue? I'm having the same problem and I was able to narrow it down to the RobotMetaTag object and the BASE tag that it appends.

Any help is appreciated.

Thanks,
Ahmed

Atlas Update Panel Content Template

Hi All,

I want to generate update panel dynamically.

I am using the following code to do that

UpdatePanel

panel =newUpdatePanel();

panel.Mode =

UpdatePanelMode.Conditional;ControlEventTrigger obj =newControlEventTrigger();

obj.ControlID =

"Button1";

obj.EventName =

"Button1_Click";

panel .Triggers.Add(obj);

I want to know how shall we add the controls to the content Template dynamically for the update panel.

Regards,
Techwork

Hello,

myUpdatePanel.Controls.Add( myGridView );

I hope this will work.


Hi,

I had already tried that. It will not work.

We need to add the controls to the content Template of the update panel and not the update panel.

Regards,

Techwork


Hi All,

I am using the following code to do the dynamic update panel.

UpdatePanel panel =newUpdatePanel();

panel.ID =

"panel";

panel.Mode =

UpdatePanelMode.Conditional;

panel.ContentTemplate = Page.LoadTemplate(

"~/UpdateUserControl.ascx");UpdateUserControl user =new UpdateUserControl();ControlEventTrigger obj =newControlEventTrigger();

obj.ControlID =((Button)user.FindControl("Button1")).ID;

panel.Triggers.Add(obj);

I am not getting any error but when I run this page the usercontrol is not loading.

I have the scriptamanager in the page. I have written this code in the Page_Load() event of the page

Do I need to do soem more things other than this?

where exactly I am going wrong?

Regards,

Techwork


Firs you have make yourself a UpdatePanelContent class. Make it a inner class within the class holding the updatepanel.
Note, the only method you need to declare in this class, additional to the constructor, is the instantiateIn . Required by the ITemplate interface

publicclassUpdatePanelContent :ITemplate

{

publicControl m_Control;

public UpdatePanelContent(Control controlToAdd)

{

m_Control = controlToAdd;

}

publicvoid InstantiateIn(Control container)

{

container.Controls.Add(m_Control);

}

}

--Now you can instantiate your panelcontent as shown.
Add your hook, page or whatever controlcollection to the panelcontent trough the updatepanelcontent contructor.

UpdatePanelContent panelContent =newUpdatePanelContent(your_control_collection);

the_updatepanel_instance.ContentTemplate = panelContent;

Regards Knut Dullum

Saturday, March 24, 2012

Atlas Tools missing in VS2005 Toolbox

I have installed Atlas on a WinXP SP2 with VS2005 Standard. I have created an Atlas Web site using the template provided in VS2005, but I do not have any of the Atlas Tools showing up in the toolbox. I tried to add them in the usual way, adding a tab and then adding the tools to that tab, but no go, they do not appear. Can anyone help me get these tools to show up?

Are the controls "checked" in the Choose Toolbox Items dialog?
Can you give me a little more information? When you are on the choose toolbox items dialog box are the controls showing up? Are they there, but when you check their check box they still don't show up? If both of these things are true, have your tried resetting your toolbox?

jonesf222:

I have installed Atlas on a WinXP SP2 with VS2005 Standard. I have created an Atlas Web site using the template provided in VS2005, but I do not have any of the Atlas Tools showing up in the toolbox. I tried to add them in the usual way, adding a tab and then adding the tools to that tab, but no go, they do not appear. Can anyone help me get these tools to show up?

Hi, I am also having the same issue as yours. Were you able to fix it? Please help. Thanks.

blumonde


orphicfireball:

Can you give me a little more information? When you are on the choose toolbox items dialog box are the controls showing up? Are they there, but when you check their check box they still don't show up? If both of these things are true, have your tried resetting your toolbox?

Hi Orphic, I finally got it to work now. Thanks for the response.

blumonde


What was it?

Yes, what was it. All of us who still not have the things show up in the tool-box. What to do ? I have tried reset, restarted the computer and so on. How do I do to solve this problem ?? thanks for an answer


add the items manually to the toolbox.

Browse to the exact location and add the controls to the toolbox.

It seems to work fine for me.


thank you Kate, You know I am new to Atlas, so could you (or anybody else) be so nice and give me a hint of what the location could be called (in a standard installation) and what the controls should be called, more or less, in a standard installation.

Go to ToolBox.

Right Click Choose Items

In the .NET Framework Components click browse and once you install the atlastoolkit there will be a directly where the dlls


AtlasControlToolKit.dll and Microsoft.Web.Atlas.dll

If you select AtlasControlToolKit then the controls are highlighted and checked in the components list, click OK then the controls will be added to the toolbox.


Sorry for my late response.

There are two ways to do it. You can do it as Kate1234 suggested or you can use your file explorer to get to the installed default directory below and then drag and drop the dll file "Microsoft.Web.Atlas.dll" onto your toolbox panel. To group the controls, make sure you add a tab called "Atlas" to the toolbox(rightclick) first.

C:\Program Files\Microsoft ASP.NET\Atlas\v2.0.50727\Atlas

blumonde

ATLAS template install error

Hi,
I am trying to install the ATLAS template provided by microsoft..
but when i double click the file, an error comes saying "unknown stream header byte sequence"...
Can anyone help me in installing this template??
I have MSVS 2005 BETA2 installed..
Thanks..

Atlas is not supported on Beta 2. See similarthread.

David

atlas template in VS 2005 professional

I have installed VS2005 professional in my home pc while VS2005 team suite at my office.

In VS2005 when i create new website i can't find atlas asp.net web site template.Is it provided in the professional edition or not.Or i have some problem.

Hi there,

To get the Atlas templates to show up, you need to download and install the Atlas January CTP drop. You can install it from here:http://msdn.microsoft.com/asp.net/info/future/atlastemplate/

I'm about to post some slides+samples on my blog shortly about Atlas if you want to get up to speed quickly. Take a look here in a few hours: http://weblogs.asp.net/scottgu

Hope this helps,

Scott