Showing posts with label current. Show all posts
Showing posts with label current. Show all posts

Saturday, March 24, 2012

How Do I add Atlas to a Current project?

All,I am trying to add atlas to a current project so I can use some things from the toolkit. I tried dragging in the collapsible panel from the toolbar, but what else should I do to make it work?

Karls

There is some stuff you have to add to your web.config. Search Google harder, it is out there, I just did this recently and had to find it. I believe it was on Scott's blog or the Microsoft web site. Don't get confused about how to add Atlas to Visual Studio (toolkit) from Adding Atlas to your project.

-Wayne

Wednesday, March 21, 2012

how can i load anout url without refreshing page with ajax?

how can i load anout url without refreshing page with ajax?

I mean can i load another webpage without refreshing current window?

HI Dear,

You can window.open() (Javascript method) to open new Popup window, without refresing current page.

window.open("Anotherpage.aspx","WindowName","scrollbars=1,resizable=1,location=0,url=0s,status=1,width=700,height=350");

First Parameter is the Target Page URL that will be shown in the Popu WIndow

Second Parameter is Window Name '( Can be Anything),

Third Parameter is page attributes like scrollbar, Page height, width etc

Thanks

Best Regards,

Muhammad Akhtar Shiekh


i know how to open a pop-up but my problem is not opening a pop-up window, i want to load another page without refreshing to current window.

Hi,

Hope I didn't misunderstand you. Here is a sample you may try:

<%@. Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"> protected void Button1_Click(object sender, EventArgs e) { System.Net.WebRequest req = System.Net.WebRequest.Create("http://localhost/MyAJAXSampleSite/HTMLPage.htm"); System.Net.WebResponse rep = req.GetResponse(); System.IO.StreamReader sr = new System.IO.StreamReader(rep.GetResponseStream()); string temp = sr.ReadToEnd(); Literal1.Text = temp; }</script><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> </div> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate>  <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /> <asp:Literal ID="Literal1" runat="server"></asp:Literal> </ContentTemplate> </asp:UpdatePanel> </form></body></html>

The html page to be loaded:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>Untitled Page</title></head><body> <input id="Button1" type="button" value="button" /> <input id="Reset1" type="reset" value="reset" /> <input id="Submit1" type="submit" value="submit" /> <input id="Text1" type="text" /></body></html>

How can I get the starter kit using ASP.NET AJAX?

It seems that there's a starter kit using Atlas CTP for the user to download, how can I get it? And is there anything like that with the current ASP.NET AJAX?

Thanks

Hi,

which starter kit are you referring to (url please)? I know that there was a wiki starter kit available in the beginning of this year but it wasn't upgraded as more CTP's came out.

Grz, Kris.


That's just what I want.

I'm going to give a demo/training to my customers but I can't find starter kit or something like that about it. I can change the wiki site to ASP.NET AJAX by myself, would you like to tell me that where can I get it?


Anyone can give me the wiki starter kit?

Thanks


Hi,

I still have it on my hard drive. You can pm me and provide your email address.

Grz, Kris.


I've sent the pm, thanks!