AJAX :: Accordion - Disabling The Slide Effect?
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
Similar Messages:
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
Aug 31, 2010
I am having a ajax accordian, my problem is that when a accordian panel is selected the other hides so how can i disable this behaviour..
View 1 Replies
Dec 2, 2010
[Code]....
Disabling Accordion Pane in Chrome Browser?
View 1 Replies
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
Mar 2, 2011
I run into this problem while playing with accordion for a project. Sometimes VS 2008 auto generates code, without me wanting to!!!. Less generally I have an Accordion with 2 Accordion Panes in it. When modifing properties of the Accordion VS 2008 adds an Accordion extender and duplicates the two Accordion Panes!
My original code
[Code]....
My code after pressing space between the properties of the Accordion
[Code]....
[Code]....
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
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
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 27, 2010
using asp.net/vb.net 2005
I want to create an accordion inside a gridview with the following functionality:
The user will only see one field of the gridview initially, the ProductCategoryID. When the page loads it will only query the ProductCategoryID and this will be the only field displayed.
Next when the user clicks on the accordion to expand it inside the gridview I would like to query the database to get all Products that are part of the ProductCategory. I will query using the ProductCategoryID that is being displayed.
I need to do this for performance issues. The main thing I am looking for is how to query the database once the user expands a given ProductCategoryID.
but now I think of it one thing I need to know: when you bind an accordion to a dataset will it create one pane for each record returned? It might be better to put the gridview inside the accordion. I'm willing to do either, as long as it works
View 1 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
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
Aug 31, 2010
I have been trying to use ajax in my asp .net website developed in 3.5 sp1 2008! The problem is I can see tool kit controls in my tool box but i can not use the controls. like i was using the text box watermark effect but when i run the website the text-box does not show effect and there is no option in text box to add extender. there is only remove extender option. I have code:
<asp:ScriptManager ID="ScriptManager2" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
First name:
<asp:TextBox ID="TextBox1" CssClass="unwatermarked" Width="150" runat="server" />
<ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server"
TargetControlID="TextBox1"
WatermarkText="Type First Name Here"
WatermarkCssClass="watermarked" />
</ContentTemplate>
</asp:UpdatePanel>
View 4 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
Nov 2, 2010
i am creating a menu which has the below structure. what i would like to do is use a jquery ui accordion control.
can i place an accordion in an accordion?... i.e. menu 1 expands out in an accordion and then the sub menus in menu 1 need to expand out in another accordion.
menu 1
sub menu of the menu 1
menu item
menu item
menu item
sub menu of the menu 1
sub menu of the menu 1
menu 2
sub menu of the menu 2
menu item
menu item
menu item
sub menu of the menu 2
sub menu of the menu 2
View 1 Replies
Feb 9, 2010
When data is stored in my database as Ex: normal, and the data that the Combox is bound to has Ex: Normal, the mismatch in case is throwing an error when the form opens. The CaseSensivity setting on the ComboBox has no effect on this and it was the same with the asp List Box. We sometimes have data imported that has incorrect case and causes this problem.
View 4 Replies
Mar 7, 2011
How to make for ASP Panel Shadow Effect in 2 of its Borders
View 1 Replies
May 24, 2013
I have a button and a div. I want when i click on button my data inserted to db as well as show the div as lightbox effect.
View 1 Replies
Aug 7, 2010
How can I achieve hover effect for the ajaxtoolkit combobox. I just need an outline for the entire combo i.e. outline for combo-textbox and combo-button when hovering over the combobox otherwise it should return to the normal outline color.
I could only get the hovering effect for combo-textbox alone and that too an outline creates at outer of the existing combo-textbox outline.
BTW: how can I attach an image from my desktop?
I tried the CSS style as below
[Code]....
View 3 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