AJAX :: SlideShow Extender Working With Code Behind In VisualBasic

Nov 2, 2010

what i am trying to achieve is a single image control with slideshow extender attached which when of the category option buttons are pressed the SlideService goes get the images for that category from the image folder sub folders and starts to display them i have got the code to work as to, the point that i have to hardcode the images sub folders path in to the webmethod - but i want the image folder name to be passed as a parameter when the webmethod GetSlides is called - the code i have so far is From the aspx page - (the category name will be a string retrieved from the button text when clicked

[Code]....

View 1 Replies


Similar Messages:

AJAX :: Slideshow Extender Not Working For .NET 2.0?

Feb 2, 2011

The Slideshow isnt looping, however, it appears that the page is trying to refresh itself for each loop interval (I can see this at the bottom: downloading ...)

This should work because Im basically used the same code thats in the demo, minus the labels and buttons, and modified the web.config to be identical as well.

[Code]....

Here is the web.config:

[Code]....

View 5 Replies

AJAX :: Implement Slideshow Extender With A Code Behind File?

Feb 24, 2011

I have found all kinds of tutorials on the web showing how to implement the AJAX slideshow extender, but can't get them to work. All I want to do is put a simple slideshow on a master page. I want to use a code behind file for the c# (do not want the script on the page itself.

I ran into a couple of problems with the samples on the web. Specifically when I try to add System.Web.Services.WebMethod and System.Web.Script.Services.ScriptMethod - VS 2010 doesn't know what the "WebMethod" or the "ScriptMethod" are. Further, VS2010 express keeps telling me "{" expected - on the line AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[5];

Every tutorial on the web seems to be for ASP.net 2.0 - and is at least 2 years old. Is there an easier way in ASP.Net 4 to implement the slideshow control? I am new to c# in general, so if someone could provide a simple cs codebehind file - and the code on the aspx page, that would be great. I understand more than I can write.

View 1 Replies

AJAX :: How Implement Transformations In Slideshow Extender

Aug 21, 2010

i am working on ajax slideshow extender.

1) implement transformations between slide to slide.

2) and the direction means orientation in changing of slides.

View 1 Replies

AJAX :: Using Imgebutton As Playbutton In Slideshow Extender?

May 17, 2010

I'm using ajax slideshow extender for a slideshow. How do I use an imagebutton to play/pause slideshow. I would have to change the imageurl with the corresponding action...

View 1 Replies

AJAX :: Slideshow Extender Add_slideChanging Event?

Jan 6, 2010

I'm using the Slideshow extender and have a vexing problem that I can't see to solve. The slidehow itself works fine, but I am trying to get the value of the ImageDescriptionLabelID into a javascript variable when the slide changes. Using this code in a javascript function:

[Code]....

It appears that the add_slideChanging event fires BEFORE the image (and accompanying label) change. Is there an event that occurs AFTER the image changes?If not, any ideas on how I can make the number I'm successfully passing in the lblDesc control available to javascript?

View 3 Replies

AJAX :: Populate SlideShow Extender From Database?

May 7, 2015

how can we have the ajax slide show which take the image path from database, instead of define the image path static in service method.

View 1 Replies

AJAX :: Refresh Slideshow Extender With New Contextkey Without Postback

Apr 8, 2010

I have a slideshow extender, I will change the slideshow extender's contextkey value by a button click event. So that after button click the slideshow will display different set of image. Originally with postback everything work fine, but I don't want the whole page to refresh.

So I put the slideshow extender inside an updatepanel with triggers target the button click event. Now the whole page didn't refresh and the slideshow extender's contextkey value did change (same code as before) after button click event. However the image set on the slideshow didn't change.

I think I am missing some sort of slideshow extender reload or refresh call but I am not sure how to do this? I didn't see any related property with slideshow extender...

View 3 Replies

AJAX :: Why Isn't Calendar Extender Working In This Code

Apr 26, 2010

I am using a detailsview control in my form and I want to use the Ajax calendar extender control with some of the fields.

After I have connected the textboxes to the extender and when I click on them there is no calendar displayed.

If this makes any difference I am containing the detailsview in a regular panel control which I make visible through a button click.

Here is the code for the detailsview:

[Code]....

View 4 Replies

AJAX :: Microsoft JScript Runtime Error In Using Slideshow Extender

May 1, 2010

when I run my site that used Slideshow Extender, i get this Error:

Microsoft JScript runtime error: Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead.

in localhost i ignore this Error and Slideshow Extender works correct.

but when i publish the site I have JScript Error and Slideshow Extender not be loaded.

View 1 Replies

AJAX :: SlideShow Extender - Page Method Can't Get Its Slides From Database?

Mar 8, 2010

I have this slideshow extender that works perfectly with hard coded images in the page method. However as soon as I try to make the page method get its images from the database it stops working; no images are returned.

I have tried to declare the datatable that the pagemethod uses both inside the pagemethod and in the on_load event. When in the last case I test the datatable contents by hooking it up to a gridview, it shows that it does get its proper data.

Declaring this dataTable as a private static dataTable, outside the page_load, to make it accessible in the page method (like in this --- post http://forums.asp.net/p/1115257/1726736.aspx---) also does not work.

So the page method with hard coded images works and also the query to the database works!

View 1 Replies

AJAX :: Slideshow Extender Retrieve Current Display Picture Information?

Feb 17, 2010

My slideshow extender work perfectly fine, but I want to retrieve the current display picture's information on the server side.

So I added a normal asp button on the same page as the slideshow extender. When button clicked, it fire off a server side function. In the function I grabbed the SlideShow's name label, description label or the Image, but none of them contain any current information of the picture displayed at slideshow extender.

Is there another way to obtain the slideshow extender current state? Or am are those name, description label text value should be updated?

View 1 Replies

AJAX :: Toolkit Slideshow Extender's Webservice - Set Up The Slide Show Based On A Querystring Parameter

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

AJAX :: Tab Extender Not Working?

Jun 16, 2010

i am using VS2008 pro an ajaxtoolkit3.5...i am able to use other tools but whenever i am trying to add a tabextender its not displaying in the browser...do i have to do something in my config file ???here is the code :

<%@ Page Language="C#" AutoEventWireup="true"&nbsp; CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-

[code]...

View 1 Replies

AJAX :: MaterPage Ajax Calendar Extender Not Working?

Aug 24, 2010

AJAX with MasterPage not working. Setup simple test site below, no error just not working. TIA

[Code]....

[Code]....

View 2 Replies

AJAX :: Ajax Calander Extender Not Working With ScriptManger?

Dec 13, 2010

Does the Ajax Calander extender work with "ScriptManger" or Do I have to use ToolkitScriptManager? For some reason calander extender doesnt work with script manager but does work with ToolkitScriptManager. ( But I do not want to use ToolkitScriptManager).anything wrong with the below code.

[Code]....

View 4 Replies

Ajax Calendar Extender Not Working?

Jun 1, 2010

I've made a new project with one page and a reference to AjaxControlToolkit.dll

The calendar extender below doesn't work, what have I done wrong?

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!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 runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<ajaxToolkit:CalendarExtender runat="server" TargetControlID="TextBox1" CssClass="ClassName" Format="MMMM d, yyyy" />
</div>
</form>
</body>
</html>

View 2 Replies

AJAX :: Calendar Extender Not Working With IE8?

Jun 10, 2010

I am using Calender Extender on one of my page and it is not working as expected on IE8. The problem i am facing is when i click on calender image calender shows for a fraction of second and goes away. It is really annoying and the same thing is working fine on Firefox and Chrome. Here is the code i am using .....

<asp:TextBox ID="txtPurchaseDate" runat="server" Width="80px"></asp:TextBox>

View 1 Replies

AJAX :: AutoSuggest Extender Not Working?

Dec 31, 2010

I've followed 2 different guide to implement the autosuggest feature on a textbox and it doesn't seem to work.

I followed this guide mainly:

[URL]

When I type more than 3 characters into the textbox, nothing happens.

The bulk of what I've pasted below was copied and pasted from the guide I was following, so I'm not sure where I could have gone wrong.

Here's my code for the page that contains the textbox:

[Code]....

Code behind:

[Code]....

The contents of my "autosuggest.asmx:

[Code]....

View 4 Replies

AJAX :: Autocomplete Extender Not Working Iis 7?

Apr 22, 2010

i have installed AjaxControlToolkit for framework 3.5 . my application is in virtual folder on the server which has Autocomplete Extender control, when i browse, control is not returning any list nor any error message. it is working fine in the localhost, is it because of the subfolder or any other reason i dont understand

View 2 Replies

AJAX :: Autocomplete Extender Is Not Working?

Jun 16, 2010

I'm yet another programmer who find out that AJAX autocomplete extender doesn't work although I've searched several pages and saw where the biggest problems occur.I'm using ASP.NET 2.0 and AJAX for the same version. Few months ago I've included modalPopupExtender in to the same project and it's working fine.However with AutoCompleteExtender have no luck..ASPX page:

[Code]....

and web service:

[Code]....

I was using this site for reference:ttp://dotnetslackers.com/Community/blogs/kaushalparik/archive/2008/06/06/autocomplete-textbox-using-ajax-autocompleteextender-from-database.aspxBut when I type something in textbox nothing happenes. However in IE8 I got message that there is script error.

View 13 Replies

AJAX :: Button Not Working In Modal Pop Up Extender?

Jan 31, 2011

i am using a button in pop panel to get back to the original screen but the button is not functioning

here is the code

<cc1:ModalPopupExtender
ID="modal"
runat="server"
BehaviorID='mdlpop'
TargetControlID="divd"
BackgroundCssClass="modalBackground"
PopupControlID="divd"
Enabled="true"
>
</cc1:ModalPopupExtender>
<div
id="divd"
style="display:none;
width:400px;
background-color:White;
border-width:2px;
border-color:Black;
border-style:solid;
padding:20px;
font-family:
Verdana;
font-size:
small;
font-weight:
bold;
color:
#800000;"
runat="server">
<asp:Button
ID="Button8"
runat="server"
Text="cancel"
OnClientClick="$find('mdlpop').hide(); return false; "
/>
</div>

even if i write a code behind sub hide the pop up panel its not working

View 5 Replies

AJAX :: Trying The AjaxListSearch Extender Control But It Is Not Working?

Aug 26, 2010

I been trying the AjaxListSearch extender control but it is not working...I added a listbox and added the ajaxlistsearchextender on it.I get this error :Error : 'Sys.Extended.UI.ListSearchPromptPosition.Top' is null or not an objectI also try an ajax combobox and same thing.... this is the error I received :Sys.Extended.UI.PositioningMode.BottomLeft is null or not an objectthis is my code :

<
asp:ScriptManager
ID="ScriptManager1"

[code]...

View 1 Replies

AJAX :: Collapsible Panel Extender Not Working

Feb 12, 2011

I just tried a simple page with a collapsible panel extender, following the tutorial video at asp.net/ajax/videos. When clicking on the header panel, nothing happens. I have gone through countless posts looking for the answer, I have not found a solution. When viewing the page using IE, it shows a page error: Object expected. The cpe does not work in any browser; it does not work on my local machine or production server. As far as I know, the Ajax Control Toolkit was installed correctly; the .dll is in the bin folder. see this link for the page in question: [URL] Below is the code for the page:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CollapsiblePanelExtender.aspx.cs"
Inherits="CollapsiblePanelExtender" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]">
<html xmlns="[URL]">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Panel ID="HeaderPanel" runat="server" Style="background-color: rgb(230,230,230);
cursor: pointer;">
<asp:Image ID="Image1" runat="server" ImageUrl="~/MasterFiles/images/collapse.jpg" />
AJAX Collapsible Panel Test
<asp:Literal ID="Literal1" runat="server">(Show Details...)</asp:Literal>
</asp:Panel>
<asp:Panel ID="ContentPanel" runat="server" Style="height: 0px; overflow: hidden;">
<h4>Some Details Content here.</h4>
</asp:Panel>
<asp:CollapsiblePanelExtender ID="ContentPanel_CollapsiblePanelExtender" runat="server"
Enabled="True"
TargetControlID="ContentPanel"
CollapseControlID="HeaderPanel" ExpandControlID="HeaderPanel"
Collapsed="true"
ImageControlID="Image1" ExpandedImage="~/MasterFiles/images/collapse.jpg"
CollapsedImage="~/MasterFiles/images/expand.jpg"
TextLabelID="Literal1" CollapsedText="Show Details..." ExpandedText="Hide Details..."
SuppressPostBack="true"
ExpandDirection="Vertical">
</asp:CollapsiblePanelExtender>
</div>
</form>
</body>
</html>

View 1 Replies

AJAX :: Calendar Extender Is Not Working In IE7 After Postback?

Sep 9, 2010

We have implemented ajaxtoolkit version: 3.5.40412.0, and my web application is not AJAX enabled. We have included ajaxtoolkit binary reference in our web application. In one of the page, calendar extendar is working fine when it rendar first, after postback it's not working at all in IE7, but it's working fine in Mozilla. The sample code is as below, [ We are not getting any javascript or HTML tag error ]

[code]....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved