Showing posts with label http. Show all posts
Showing posts with label http. Show all posts

Saturday, March 24, 2012

QUERY: Joe Stagner AJAX videos....

I started downloading the AJAX videos byJoe Stagner (http://www.asp.net/learn/videos/default.aspx?tabid=63). I recognised he used some abbreviations such as:

HDI01-AJAX-B1-GetStarted.zip

HDI03-AJAX-B2-CascadingDropDown.zip

HDI06-V-AtlasCustomExtender.zip

HDI09-ACT-B2-TextWatermarkExt.zip

I guess HDI = How Do I, B1/B2 = beta 1/2. But some downloads had a V or ACT code in it. What does V or ACT mean?

dhruba.bandopadhyay:

What does V or ACT mean?

ACT = AJAX Control Toolkit

V = Video

When Joe updated all of the videos for the Release Candidate, he made sure that the video was available for download as a .zip file, and that the code was available for download as a .zip file. Since both downloads had the .zip extension, the video download includes V in the filename, and the code downloads include C#, VB, or DEMO in the filename.

Question about ms ajax...

Hey I dont have speakers at my office so i cant hear whats going on in this video...http://www.asp.net/learn/videos/view.aspx?tabid=63&id=81 . Can someone point me to some text that tells me step by step how to take an existing .net application and convert it so that it can support ms ajax?

http://www.codeproject.com/useritems/AJAX-enabling_ASPNET.asp


Thankspaul.vencill that work!


中国 ajax

Wednesday, March 21, 2012

Question about: A demonstration of ASP.NET AJAX

I have just whatchedA demonstration of ASP.NET AJAX @dotnet.itags.org. http://ajax.asp.net/

and i notice that during the demon the demonstrator creates two update pannels the one containing the data list the other containing the insert record control, what is not clear from this demo is weather the it is posible to update the datalist now that the insert record control is in a seperate update panel, as no extra triggers were added to the data list. Being a synic i wondered if the demonstrator had deiberatley paged the data list and added extra items to it before the update pannels were introduced so that when he added the extra record via the control in the update pannel it would be added to the end of the list, which was on the secound page which could only be viewed when the user selected to view the secound page forcing the datalist update panel to be refreshed. So i was left wondering if this was to hide a limmitation of the technology and weather it was posible to add a asychronus post back triger based on the event that is within a seperate update pannel.

Q. Is it posible to add a asychronus post back triger, in one update pannel based on the event of a control in a diferent (sibling) update pannel, is that control visible from the other update pannel?

ps Any change of a spell check for this interface, i think i could use oneWink

The answer is yes. Here is a simple example:

1<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">2 <ContentTemplate>3 <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true">4 <asp:ListItem Text="CA" Value="CA" />5 <asp:ListItem Text="CO" Value="CO" />6 <asp:ListItem Text="FL" Value="FL" />7 </asp:DropDownList>8 </ContentTemplate>9</asp:UpdatePanel>1011<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">12 <ContentTemplate>13 Last Update:<%= DateTime.Now.ToLongTimeString()%>14 </ContentTemplate>15 <Triggers>16 <asp:AsyncPostBackTrigger ControlID="DropDownList1" EventName="SelectedIndexChanged" />17 </Triggers>18</asp:UpdatePanel>

In line number 16 you can see that a trigger is registered for a control that reside within a different UpdatePanel. Also, programmatically you can also call the Update() method on any UpdatePanel that has it's UpdateMode set to Conditional.