AJAX :: Sliding Images In And Out?
Dec 28, 2010
I have been exploring for a few days AJAX Toolkit and I am just wondering, if it is possible to move images in and out e.g. from right to left from asp.net image control. I would like to create a control that behaves in a similar way to the ones appearing on MS Store websites which you see there:
[URL]
I have tried to create it using AJAX SlideShowExtender but to be honest I am new to this technology and managed to make it only fade in and out. I was thinking also about using Collapsible Panel Extender but obviously I am not sure where to start.
View 2 Replies
Similar Messages:
Sep 14, 2010
How to use form Sliding in masterpage?
View 1 Replies
Nov 13, 2010
I am creating a nested accordion in the code behind which is populated from my data table. The requirenment is
1. Main Accordin - create department Panes
2. sub accordin - Each department pane has a accordin in the contnet are.
3. sub accordin panes - people from that department show up as panes in sub accordin.
I was able to impelment this model but the problem is that the sub accordin ( with people) would not slide. First one is opened by default and i see hand on the other header panes but they dont slide (up and down). They do have a content though. P.S - if i implement the same nested according in aspx it works fine. My code
[Code]....
Update - I found that I get "Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.Parameter name: element" javascript error when i try to create the nested accordin.
[Code]....
View 1 Replies
Jun 8, 2010
1) How/where do I set the lifetime of the session cookie in my web application when using an STS to get claims? From what I can tell, it seems I can only do this programmatically in the erviceConfigurationCreated event.
2) How/where can I make sure that the expiration is sliding?
View 1 Replies
May 21, 2010
I am new to javascript and jquery. I have written some javascript code for some client validation.
document.getElementById(spnError).style.display = 'block';
This is how I am showing a span if there is some validation issues in the form. I want to use Jquery to show this span. I would like to slide it down slowly.
View 2 Replies
Aug 12, 2010
I want to display in my web page couple of show times and the list of movies under it.The display would be like this -
Show Time 6.30 PM
Movie 1
Movie 2
Movie 3
Show Time 9.30 PM
Movie 1
Movie 2
Movie 3
I want to display it in such a way that when I Click on "Show Time 6.30 PM" it would display the movies under that show and wont display anything under "Show Time 9.30 PM". Now when I click on "Show Time 9.30 PM", all the contents inside "Show Time 6.30 PM" should shrink and the list of movies should be available in "Show Time 9.30 PM".I need some idea on how to do this, will it be achieved using a sliding panel, or is there any other control.Note - For the show times and movie details I have a collection which I am binding it to a repaeter control.
What I am looking is for a SINGLE sliding panel which floats around every row in the table, So if Row 1 is clicked the panel displays the show times under it, when Row 2 is clicked, the data inside row 1 Is shrinked and the panel floats to down displaying the movies under Row 2.
View 2 Replies
Sep 27, 2010
I use my web app on the wall as a dashboard type scenario. One thing that would look great would be to automatically move between pages on my site (and maybe others) after a certain time. For example, you setup page x for 2 mins, then page y for 2 mins then page z for 4 mins. Now, I can do this easily inside my existing website. However, I would like to be able to switch to other sites with login where required. So basically a website of its own that just diverts according to a script. Has anyone seen anything like this on the market or have concepts similar?
Note, my webspages are ajax-ified so any timers would not be allowed to interupt updated.
View 5 Replies
Feb 7, 2011
I think the question says it all, but I'd like to know for sure.
View 1 Replies
Feb 6, 2010
How can I implement a sliding pager in asp.net mvc helper? Take Google pager for example.I've managed to create a pager like this: <previous> current: 9 of 50 pages <next> but I need something like:current: 9 of 50 pages <previous> 4 5 6 7 8 9 10 11 12 13 14 <next>
View 4 Replies
Dec 3, 2012
i wish to show a slide panel on webpage.
View 1 Replies
Mar 5, 2011
I know that when declaring a page method in ASP.NET, I can specify a CacheDuration like so:
[WebMethod(CacheDuration=60)]
public static void Foo()
{
But from what I understand, CacheDuration only supports absolute expiration. I want to have sliding expiration. So that leads me to believe that I need to access the System.Web.Caching.Cache object somehow. But, since page methods are static, and this is essentially a standalone web service, I'm not sure how to access it statically. The only ways I have seen on Google rely on getting it from the HttpContext. But, there is no HttpContext available to me here, right?Or, do I need to use the System.Runtime.Caching.MemoryCache to do my own caching?
View 1 Replies
Mar 28, 2011
we have a web based application that let users register, activate their account and then login to use the app...
it is very important that accounts must not be used simultaneously, so if user a is logged in using mynameisA/mypassword, no one else can login at the same time using the same credentials, until he logout.
this was achieved by using a cache mechanism that inserts an entry specific to that user and will keep on refreshing at each request, until the user logouts, where we remove that cache entry. on login, we check whether that cache entry is there in order to allow him in or throw a message saying that the user is already logged in... we use enterprise library 5.0 which we found more reliable than the asp.net cache, and for various other practical reasons.
now, this works fine, but the problem is that it seems like the authentication ticket and cookie doesnt slide properly at each request. so sometimes, users end up logged out because their authentication ticket got expired, and they cannot login again because the cache entry is still there.
here is the code in the sign-in page:
' if user credentials are valid, and other checks and validations...
[Code]....
here is the code that runs on every authenticated request (httpmodule):
[Code]....
and here is the web.config stuff:
[Code]....
we've done all kind of tests including metabase IIS6 monitoring. there is no apppool recycle happening...
checking the authentication cookie in firefox view cookies option shows that on each request, the expiration time of the authentication cookie is not sliding.
View 7 Replies
Jan 5, 2011
I have a little problem with my sliding panels, I have a Page with 2 sliding panels (right and left). These panels have a 'slide button' and you can reduce panels by clicking on it. I use cookies to record state of panel, so when you change page panels stay collapsed or extended. But it doesn't work very well, in fact the state is recorded for the page. If I change page, panel will extend (default position) but if I go back on the page it will disapear. Is it possible to ignore the path in the cookie and use a cookie for all website?
Jquery code :
$('#rightfold').click(function () {
if ($('.menudroite').is(':visible')) {
$('.menudroite').hide("slide", { direction: "right" }, 400);
$.cookie('rightfold', 'collapsed');
$('.triggerdroite').animate({ backgroundColor: "#B2C9D1" }, 1000);
$('#rightfold').animate({ color: "#000000" }, 1000);
}
else {
$('.menudroite').show("slide", { direction: "right" }, 400);
$.cookie('rightfold', 'extended');
$('.triggerdroite').animate({ backgroundColor: "#6c7a7f" }, 1000);
$('#rightfold').animate({ color: "#d9f4ff" }, 1000);
}
});
$('#leftfold').click(function () {
if ($('.menugauche').is(':visible')) {
$('.menugauche').hide("slide", { direction: "left" }, 400);
$.cookie('leftfold', 'collapsed');
$('.triggergauche').animate({ backgroundColor: "#B2C9D1" }, 1000);
$('#leftfold').animate({ color: "#000000" }, 1000);
}
else {
$('.menugauche').show("slide", { direction: "left" }, 400);
$.cookie('leftfold', 'extended');
$('.triggergauche').animate({ backgroundColor: "#6c7a7f" }, 1000);
$('#leftfold').animate({ color: "#d9f4ff" }, 1000);
}
});
// COOKIES
var leftfold = $.cookie('leftfold');
var rightfold = $.cookie('rightfold');
// Set the user's selection for the left column
if (leftfold == 'collapsed') {
$('.menugauche').css("display", "none");
};
// Set the user's selection for the right column
if (rightfold == 'collapsed') {
$('.menudroite').css("display", "none");
};
View 2 Replies
May 31, 2010
Looking to implement a solution on a web application but don't know if it is possible. If clicked the menu would take you to the full page with slide(Left to right / right to left). slide looks like iPhone Application.
View 2 Replies
Aug 7, 2010
I have the basic service...but I am trying to pulling the image url from an sql database table according to their id.
<%@ WebService Language="VB" %>
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
<System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
Public Class SlidesService
Inherits System.Web.Services.WebService
<WebMethod()> _
Public Function GetSlides() As AjaxControlToolkit.Slide()
Dim MySlides(2) As AjaxControlToolkit.Slide
MySlides(0) = New AjaxControlToolkit.Slide("ClassifiedImages/Image1.jpg", "Blue Hills", "Go Blue")
MySlides(1) = New AjaxControlToolkit.Slide("ClassifiedImages/Image2.jpg", "Sunset", "Setting sun")
MySlides(2) = New AjaxControlToolkit.Slide("ClassifiedImages/NoImage.jpg", "Winter", "Wintery...")
Return MySlides
End Function
End Class
View 2 Replies
Mar 27, 2010
I wonder if it is possible to have a clickevent for the SlideShow control. In this case I am now showing 2 images.
Is it possible in any way have a clickevent or to handle a click on the images that is showing to open up a browser with a URL like www.google.com ?
I beleive the Click event then should be in the Image Control in somehow ?
[Code]....
View 1 Replies
Feb 15, 2010
i have a problem in Sliding pager. the problem is that when i tried to get any other page instted of current page it give me error The resource cannot be found. my rutting method on globa.asa
routes.MapRoute(null,"",new { controller = "Products", action = "List", page = 1 });
routes.MapRoute(null,"Page{page}",new { controller = "Products", action = "List" },new { page = @"d+" });
and my htmlhelper is
public static string PageLinks(this HtmlHelper html, int currentPage,int totalPages, Func<int, string> pageUrl)
{
StringBuilder result = new StringBuilder();
for (int i = 1; i <= totalPages; i++)
{
TagBuilder tag = new TagBuilder("a"); // Construct an <a> tag
tag.MergeAttribute("href",pageUrl(i));
tag.InnerHtml = i.ToString();
if (i == currentPage)
tag.AddCssClass("selected");
result.AppendLine(tag.ToString());
}
return result.ToString();
}
View 4 Replies
Aug 4, 2010
how to do the below?
I have a file server where i store all of images.I need to display these images onto my webpage using jquery and ajax. how to do ? i can do the reading of the image from file server using a web service hosted on the file server which will return a byte array of the image, but once i read the byte array then how do i display it on the web page using jquery and ajax.
View 1 Replies
Mar 1, 2011
I'm using the ToggleButtonExtender to display different images for CheckedImageUrl and UncheckedImageUrl.
This works fine if I put the images in a folder within my site and set the property e.g.
[code]....
View 1 Replies
Dec 1, 2010
I'm using the slideshow extender, however the images are not a standard size. The images are user supplied, and they are often displayed full size, so I can't standardize them. I need a way to resize them on the fly, and have them look good.
I've been working on this slide show off and on for some time. I've had many false starts, finding out after putting in quite a bit of time and work that there is just one thing or another that I cant't get to work. I'm hoping this ajax extender will be the answer. It won't be if I can't rezise the images.
what the extender can use as image sources? I know it can use an image on the hard drive, which is where my images are, but then I have the size problem. I tried using a webpage that uses a third party control to resizde the image, but that didn't work. I'm looking at this site: [URL] for resizing the images, can the output be used by the extender?
View 6 Replies
Aug 17, 2010
I want to display the image before the data in the dropdown based on the data category? is it possible with cascading dropdown?
View 2 Replies
Jan 4, 2010
I'm getting a problem while using HTMLEditor. Images used in toolbars are not displayed well. Instead of showing correct images, it only show cross (x) image. After recycling the pool from IIS, everything's fine again. And the problem happens again next morning. Then, recycle the IIS, and fine again.
I checked url of image (Right click -> Properties) before and after. All are the same.
Here, I override the HTMLEditor in order to customize the tool bar buttons. But even I used the original HTMLEditor, the problem is same.
View 6 Replies
May 7, 2015
i am doing work on my project so i want to upload multiple images in c#.
View 1 Replies
Dec 13, 2012
How to do autocomplete textbox Images in asp.net like IMDB or APPLE SITE OR jules.co.uk with database connections..
Note:i have to do similar autocomplete like above mentioned sites..
View 1 Replies
May 20, 2010
I need to display multiple images in seadragon. I have developed these in deep zoom compmser and checked in preview, it works fine.but when i put this in seadrgon's sourceurl,i am facing the following error. icrosoft JScript runtime error: Object doesn't support this property or method.
View 2 Replies