AJAX :: What Is The Best Way To Load Slide Shows In The Background
Jul 11, 2010
I'm going to do a project soon for a photographer. There will be a number of pages that will have a photo album or slideshow on them. I'm trying to figure out the best way to have this site perform well and the best way to get the images on the client in the background.
I'm hoping to have the slide shows for the other pages load in the back ground after the home page loads. I thought this would not affect the loading of the home page and decrease the amount of time it would take for the other subsequent pages to load.
AJAX seems like a good fit for this with the async calls. I'm thinking about using an async call to fetch and cache the other images and/or slideshows.
Is this a good way to do this? Is there a better way of doing this? Would it be better to have anew thread do the caching to the client?
View 2 Replies
Similar Messages:
Dec 10, 2010
I am writing a small plugin on ASP.NET C# VSTO and I want to be able to capture slide number and title of the slides when a slideshow is happening.
share sample code to capture title of the slide and slide number?
View 3 Replies
Dec 21, 2010
I uploded the blogengine on th web server.On every first load it give me error oops page not found (404).
after i refresh it it works fine.
View 2 Replies
May 14, 2010
I've searched around a lot, and honed this problem down to this case: I'm using the PRG pattern, pragmatically I'm using the same DTO for my post/get actions. It looks like when I have the dto with the data annotation attributes in the get action parameter list, the validation is always displaying errors, every time on initial page load. In some cases this could be desired behavior if you put asterisks in the error message, but how do I get rid of it?
View 1 Replies
Dec 29, 2010
I am using Visual Studio 2010 asp.net 3.5 C# and the latest version of the Ajax toolkit to create a slide show. I have a ToolScriptManager, SlideShowExtender and a prev,play and next buttons. Problem is, I don't know what to do next.
[Code]....
[Code]....
View 5 Replies
Jan 12, 2010
i make ajax page , i added to it slide show tooli make the source code for the page like that :
[Code]....
View 6 Replies
Nov 11, 2011
I'm using visual studio 2010 and sql server 2008. I'm trying to use a web method to get urls from a database for an ajax slide extender control. I’ve been able to create a web method to call the slides and it worked. Then I wanted to create a parameter in my web method that took a parameter. I’ve been unable to get it to work with the parameter with the web method. I’m either using the wrong syntax when calling the parameter or my web method is incorrect.
This is the code for the web method with out parameter that works
Code:
<WebMethod()> _
Public Function GetSlidesDBGalEngage() As AjaxControlToolkit.Slide()
Dim connetionString As String
Dim connection As SqlConnection
Dim command As SqlCommand
[Code] ....
This is the way I calling the web method in my extender that works
HTML Code:
<cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" AutoPlay="True"
ImageDescriptionLabelID="label1" NextButtonID="btnNext"
SlideShowServiceMethod="GetSlidesDBGalRecept" SlideShowServicePath="../SlideService.asmx"
PlayButtonID = "btnPlay" PreviousButtonID="btnPrev"
TargetControlID="image1">
</cc1:SlideShowExtender>
This is my web method which has a paramater
Code:
<WebMethod()> _
Public Function GetSlidesDBGalEngage(ByVal Category As String) As AjaxControlToolkit.Slide()
Dim command As SqlCommand
Dim adapter As New SqlDataAdapter
[Code] ....
This is how I'm trying to call the web method with paramater from my slide extender which doesn't work
HTML Code:
<cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" AutoPlay="True"
ImageDescriptionLabelID="label1" NextButtonID="btnNext"
[B]SlideShowServiceMethod="GetSlidesDBGalParm("Other")"
[I]I've tried using both single qoutes and double quotes and notheing works[/I].[/B]
SlideShowServicePath="../SlideService.asmx"
PlayButtonID = "btnPlay" PreviousButtonID="btnPrev"
TargetControlID="image1" ClientIDMode="AutoID">
</cc1:SlideShowExtender>
Something is wrong with the syntax in the web method with the paramter or something is wrong with the way I'm calling it .
View 2 Replies
May 8, 2010
i am using slide show with my images in database
code below :[Code]....
this works very good but i have also field called topic_details.for example :
when slideshow show slide no 1 ,it also shows topic_details no 1
View 1 Replies
Oct 13, 2010
I've written a nice page with accordion element in it, but I've found that on some browsers, with some setting- the accordion won'trespond to clicking on it. So, what I get is an accordion that shows headers, but clicking on them won't open the data.What I'm guessing is that the sliding effect is blocked for some reason.What I'm trying to achieve are this two:1. Cancel the sliding effect so the data will show right-away, thus answering the problem caused by some browsers2. Cancel It only when the page detects that there might be a problem. (I'm not quite sure what setting I am looking for).Obviously, 1 is quite more urgent. If 2 is not solved I geuss I can use 1 for all the cases, but still- If anyone could find answer for 1- that would be great.
View 2 Replies
Oct 4, 2010
I have used a ajax control toolkit slide shox extender to display a slide show of images.
Currently, when a user hovers mouse over the slide show, the slide keeps on changing. I want that the slide should not change, if a user hovers the mouse.
View 5 Replies
Feb 12, 2011
I am Using Ajax SlideShow Extender and I'M TRYING with that Example : [URL]
View 1 Replies
Nov 19, 2010
When I clicked Header area, Content opened and have "Slide effect". but when I clicked Header's "ImageButton", it do something at codebehidn, Content opened but no "Slide effect". I want slide effect, how to do it,
[aspx]
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<AjaxToolkit:Accordion ID="AccordionMenu" runat="server"
SelectedIndex="0" HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent" AutoSize="None"
FadeTransitions="true" Width="200px" SuppressHeaderPostbacks="false">
<Panes>
<AjaxToolkit:AccordionPane ID="AccordionPane1" runat="server">
<Header>Pane 1
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/expand.jpg" />
</Header>
<Content>
The Details of Item1.
</Content>
</AjaxToolkit:AccordionPane>
<AjaxToolkit:AccordionPane ID="AccordionPane2" runat="server">
<Header>Pane 2
<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/expand.jpg" />
</Header>
<Content>
The Details of Item2.
</Content>
</AjaxToolkit:AccordionPane>
</Panes>
</AjaxToolkit:Accordion>
<p></p>
<asp:Label ID="Label1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
[.vb]
Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Me.Label1.Text = "[Call Header Function 1]"
End Sub
Protected Sub ImageButton2_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton2.Click
Me.Label1.Text = "[Call Header Function 2]"
End Sub
View 3 Replies
Mar 8, 2011
trying to get the slide show control to display imagesfrom database. the web service seem to be returning the right data but to no avail.
web service code
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Data
[Code].....
View 2 Replies
Jan 12, 2010
I want to make a slide show on my page, the images are to be fetched from batabaseMYSQL).please help me as i am not able to make it,tried script manager and slideshow extender control but nothing happening
View 16 Replies
Feb 3, 2010
I implemented yje slide show extender in a normal .aspx page it worked very well. I was GLAD to see that.
But when I tried to implement the same into a content page, which is associated with a master page it certainly changed into SAD.
View 8 Replies
Jan 21, 2010
I have the following code for ajaxtoolkit slideshowextender's service method. I want to get the label1.text value to make the pictures diynamic. I hope you know what I mean. Bu I cannot ! here is my vb code;
[Code]....
I tired the below one but didn't work;
[Code]....
View 12 Replies
Oct 19, 2010
I need to set up the slide show based on a querystring parameter. I thought I had this figured out, but I clearly don't understand something about how the webservice works. I have this in the .aspx page:
<asp:Button ID="btnPrev" runat="server" Text="Prev" />
<asp:Button ID="btnPlay" runat="server" Text="Play" />
<asp:Button ID="btnNext" runat="server" Text="Next" />
<asp:Label ID="lblDesc" runat="server" />
<cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID"
TargetControlID="tstSlides"
AutoPlay="true"
ImageDescriptionLabelID="lblDesc"
NextButtonID="btnNext"
PreviousButtonID="btnPrev"
PlayButtonID="btnPlay"
PlayButtonText="Play"
StopButtonText="Stop"
Loop="true" >
</cc1:SlideShowExtender>
<asp:Image ID="tstSlides" runat="server" height="300px" Width="300px" />
And this in the code behind:.........................
View 2 Replies
Apr 26, 2010
I have a stylesheet attached to a master page and a web user control attached within that master page.
here is the css code
#searchBox
{
background-image: url (image.jpg);
}
in the master page, i create a div inside the made called "searchBox". Then, I have a web user control inside that div. However, my background image does NOT load. How can I resolve this?
View 1 Replies
Mar 15, 2011
I have a ModalPopupExtender that I call when the user click on a button. In the popup, I have a textbox where I want to put today's date, but I only want to do it when ModalPopupExtender shows (or when the user click on the button). The problem is the click event of the button isn't fired on server side when I clicked on the button and ModalPopupExtender doesn't have any Show event.
View 5 Replies
Apr 13, 2010
I have web page with multiple update panels on it, each update panel has a detail view which is bound to different data sources, since the data loading takes time so i want that when data from any source is available the update panel shows it, while the other update panel shows a progress panel till data loading is done.
I have set all the update panel to 'Contional Mode' updating and a trigger is set to them against a buttons click event. on button click i load data from Db. hoever, when i click the button all update panel start the progree bar and they load data syncronously, but i want the above secario.
View 3 Replies
Mar 26, 2010
I have one very weird problem with ModalPopupExtender. First here is the code:
[Code]....
Situation is that after panel is UP, at the some moment I can see same panel in background on the bottom of the page. I am not sure why panel become visible??
View 4 Replies
Jul 16, 2010
The Calendar shows up when you click in the text box. And when it shows up it has no background. It is just letters and numbers, you click a number and that one appears in the textbox. I cannot use ToolkitScriptManager because the AjaxControlToolKit.ddl I have is old, I am afraid to download the newer version because this is for work and they told me to use that specific one. here is my code:
[Code]....
View 5 Replies
Feb 22, 2011
My setup is as follows: I have 4 tabs of data, all of which are invisible when the page loads. The user enters some search criteria, hits the search button, and then the first tab fills up a gridview with data and becomes visible. One of the columns in this grid is a linkbutton named 'detail'. When they click on 'detail', the 3 remaining tabs go and get their data from the database and become visible. On tab#2, I have a listview which allows editing/adding of data. Here is my problem: When I click the imagebutton on the listview that puts the listview into edit mode, the data from the first tab is now shown on the second tab.
So the correct tab (tab#2) remains selected, but the other tab's data is being displayed. Has anyone else run across this? I have tried numerous combinations of update panels and triggers but I always get the same results. Also, the last 3 tabs each contain a usercontrol. I don't know if that has anything to do with it.
View 6 Replies
Apr 17, 2010
I'm sure question's similar to this have been asked before, but I looked all over the net, and couldn't find anything that helped me with this situation.I have a asp.net ajax webservice that is called with jQuery, its been returning the error message that I wrote in the subject of this post. This is what I have on the page other then the jQuery: A ScriptManager with a ServiceReferance to the asmx page (other then that I also have a url locator in the jQuery ajax request code). A UpdatePanel that contains a div where the processed/formatted resul
View 5 Replies
Jan 8, 2011
I have an Error in the design view when I use the ajax toolkit. it says rendering Control Accordion - An unhandled exception has occurred. Collection was modified; enumeration operation may not execute. I have the relevant service pack, download ajax toolkit and I have used the appropriate declerations on the top of the page, I hope. I haven't yet even put anything on the page and the designer view shows the above error.
<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="listaccessoriesbytype.aspx.vb" Inherits="FashionPrototypeProject.listaccessoriesbytype"
title="Untitled Page" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:Accordion ID="Accordion1" runat="server">
<Panes>
<cc1:AccordionPane ID="ac" runat="server">
<Header></Header>
<Content></Content>
</cc1:AccordionPane>
</Panes>
</cc1:Accordion>
</asp:Content>
I entered this manually in my webconfig: added this under the rest of asssemblies code
<assemblies>
<add assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
</assemblies>
added under the rest of controls
<controls>
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
</controls>
View 3 Replies