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


Similar Messages:

AJAX :: How To Pass Two Textbox Value To Contextkey In Autocomplete Extender

Nov 12, 2010

i am using autocomplete extender for three textbox.i want to pass the first two textbox value as a parameter to the webservice.How to do it using javascript?

View 1 Replies

AJAX :: Update SlideShowExtender's ContextKey Without Postback?

Mar 28, 2010

I have been struggled for a day without success. Also I am not sure is this possible, since I am not too familiar with Javascript. let me know is there a way to fix my problem. Here is my problem:

What I have is a datalist and at each row it contain an UpdatePanel and inside the UpdatePanel there are a button, a slideShowExtender with related controls and a hiddenField. The hiddenField stored a second contextKey value. At page load time the default contextkey already assigned to the slideShowExtender. What I want to achieve is when user clicked the button the slideShowExtender will switch the Contextkey with the hiddenField value so that the SlideShowExtender will display a new set of images.

So far I can make everything work as I want with server side function, which executed when the button onclick. However this will generate a whole page post back, which I want to avoid. So I was thinking of using client side Javascript to do the contextkey assign and then update the updatePanel, but I am not too familiar with Javascript so I can't get it working :(

Here is my current code:

[Code]....

View 3 Replies

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 :: 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 :: 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

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 :: 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 :: Refresh Modal Popup Extender Each Time The Button Is Clicked?

Jan 5, 2011

I have a user control and inside that user control I have a image button on whose click I am opening a modalpopup extender(which is another user control) I am populating all the values in drop down list and getting all the information i need on the form. The user and go and save the information required on that web form and clicking on cancel would exit the form which would bring the user back to the main user control.

The problems faced:

1.Problem 1: Not refreshing On clicking on tree view one of the nodes I am calling the reload function of parent user control as well as the user control present as popupextender. This click would refresh and fill in the values from the database for user to view and edit. Now when the user clicks on the image button another user control opens up where he can edit the entire values of the form and move back and forth in the records I have put update panels for every block and for the buttons. He can save the information. But when he exits and form and reopens it after a while the values of the form are retained the values which are not saved to the database but the ones which were selected so it is retaining them and not refreshing. How can I force the refresh everytime the button is clicked for modalpopup extender user control.

2. Problem 2 enable/disable buttons I am not able to enable and disable the buttons inside the extender the buttons are in the update panel as well as for the different sections of the form.

View 2 Replies

AJAX :: Forcing A Postback From An Asp.net Extender

Mar 12, 2010

I have been trying to figure out out to force a postback from an asp ajax extender. The closest post that I can find is

http://forums.asp.net/t/984558.aspx

However I am pretty sure this was at least one migration ago. Additionally I am using VB as my programming language so some of the conversion may be the problem.

I think I am pretty clear on what needs to be done.

If I am correct the steps are...

Create a new property in the extender to hold the postback command for each target control that is using the extender.

Then in the Onload populate that property (Use GetPostBackEventReference to get the ASP valid target ID ) so it can be called from the Clientbehavior.js

My problem is the syntax in the for-each loop that allows me to iterate through the target controls.

Protected Overloads Overrides Sub OnLoad(ByVal e As System.EventArgs)

View 1 Replies

AJAX :: Getting Dropdownlist To Update Without Postback / Refresh

Jun 27, 2010

I have a number of cascading dropdownlist controls on a page. The results in dropdownlist2 are dependent on the results in dropdownlist1, pretty basic stuff.

I now would like to eliminate the terrible postback or refresh of the page that occurs after the SelectedIndexChanged event fires on dropdownlist1, is it possible to do that in Ajax?

What I want the results in dropdownlist2 to populate without the obvious refresh of the page.

View 2 Replies

AJAX :: Postback Does Not Reset Meta Refresh Tag?

Feb 25, 2010

I have a kiosk application that uses master pages. There is a refresh meta-tag on the master page (or I can add it programmatically using Page.Header.Controls.add(metaTag), it makes no difference for my problem). When the user does not interact with the aplication it should return to the default page. But when the user does react using async postbacks only a partial postback is performed which does not reset the html meta refresh header, so it just keeps on ticking and after x seconds the page redirects to the default page. How can I avoid this from happening. The meta-tag can not be in the updatepanel so even though I can manipulate it from the code-behind when the async postback happens, any changes I make (for example sometimes when the user makes a mistake he should be redirected to a clean version of the page he is currently on after showing a modal message, so I have to change the url of the meta-tag content to no longer use the default page, but the current page) are not implemented.So the main question is, how can I manipulate (or reset in case of refresh meta tag) meta-tags in an async postback ?

View 2 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

AJAX :: Hover Extender Not Working After Postback

Sep 13, 2010

I bind a hover extender to a cell in a gridview, using following code:

Sub GridView1_RowDataBound(ByVal sender
As
Object,
ByVal e
As System.Web.UI.WebControls.GridViewRowEventArgs)
Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow
Then
Dim hoverMenu
As HoverMenuExtender =
CType(e.Row.FindControl("hoverMenu"), HoverMenuExtender)
e.Row.Cells(1).Controls.Item(0).ID = e.Row.RowIndex.ToString()
hoverMenu.TargetControlID = e.Row.Cells(1).Controls.Item(0).ID
End
If
End
Sub

Now This works perfectly and the panel appear when hovering over the second cell. However after a postback it is no longer working and no panel will show when hovering over the cell.

View 2 Replies

AJAX :: Prevent Full Page Refresh During Postback?

Jan 26, 2010

I have 2 checkboxes (yes/no) that when selected cause the entire page to refresh during postback mode. How can I elimiate this?

[Code]....

View 6 Replies

AJAX :: MaskedEditExtender And MaskedEditValidator Causing Refresh/postback?

Sep 7, 2010

I have the following tabpanel (it actually contains a bit more content, but that content doesnt influence my issue):

[code]....

When I remote the MaskedEditExtender and MaskedEditValidator, it doesnt show that (undesired) behaviour anymore.Is there something special these controls do that cause them to refresh? Is there a workaround for this?

View 1 Replies

Ajax Popup Control Extender Disapear In Postback ?

Feb 28, 2011

I'm using Ajax Popup Extender and I have Some Buttons Inside It ...One of Them for Close ....The Firing Control for that popup is LinkButton ....so When I click on that link button The popup appear but once the page post back The Pop up Disappear... and that what i don't want ..... I will Explain what i want in Details ... I want POP UP Control to Appear and Other Control In The Page Can Be Using not blocked like Modal POP UP and In that pop Up i will have some Buttons all of them do post back and only one of them close the pop up .... so i want the pop up keep appear what ever which psot back happend and close only when I click on Close button for it......... So How Can I Handle That

View 4 Replies

AJAX :: Collapsible Panel Extender Collapse By Itself During Postback?

Jan 10, 2011

i'm getting the problem about Collapsible Panel.It collapsed by itself during postback(it have a timer and trigger to automatic refresh my page).I 've been read many articles.Someone said it should fix by set Suspressposback property or using cookie to keep to state of Collapsible Panel.I 've already try both of it but it didn't work for me cause i could not get Collapsible Panel object and set set_Collapsed property as i've done the below code before :

UCcpe3 = $find("cpePortfolio");
if (!UCcpe) return;
if (GetCookie("Collapsed")) UCcpe.set_Collapsed(true); //Collapse the CPE

cause i have put it inside the panel in the inner listview like the example code below.

example(type by hand):

<asp:Listview id=main>
<asp:panel id=panelcontent>
<asp:Listview id=sub>

I've been spend a week for this.

View 7 Replies

AJAX :: After The Upgrade To 4.0 The Linkbutton Causes A Full Postback With Page Refresh?

Jun 15, 2010

I have an update panel with content that needs to be updated by a listview item which is a linkbutton, in .NET 3.5 I just used the defaults on all the controls and everything worked fine, after the upgrade to 4.0 the linkbutton causes a full postback with page refresh. I did try setting the linkbutton's id as the trigger for the update panel and still causes same page refresh. The scriptmanager is on the masterpage with enablepartialrendering = true.

View 2 Replies







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