Web Forms :: How To Make Slideshow Without Using JavaScript
Oct 13, 2013I want to make a slideshow in asp.net page without using javascript.
View 1 RepliesI want to make a slideshow in asp.net page without using javascript.
View 1 Replieshow we can make the picture slideshow in a webpage with forward and previous button?
View 6 RepliesI 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 Replieshow to slideshow images from database without using javascript in asp.net.
View 4 RepliesI think I summed up the question in the title. Here is some further elaboration...I have a web user control that is used in multiple places, sometimes more than once on a given page.The web user control has a specific set of JavaScript functions (mostly jQuery code) that are containted within *.js files and automatically inserted into page headers.However, when I want to use the control more than once on a page, the *.js files are included 'n' number of times and, rightly so, the browser gets confused as to which control it's meant to be executing which function on.What do I need to do in order to resolve this problem? I've been staring at this all day and I'm at a loss.
View 2 RepliesFor performance reasons, I would like to put some code in javascript but am concerned that a user may pick up some proprietary formulas. Is it even possible to hide it or scramble it to the user?
View 2 RepliesAfter this JavaScript Method runs the validation controls not work
[Code]....
function checkValue2(item) {
I am currently building an asp.net webforms application in ASP.NET C# using Visual studio 2008 and the Framework .NET 3.5.In my application main page, I use some javascript code to make AJAX calls to different handlers (.ashx files) in order to get some information.In this handlers définition (in the CodeBehind), I use the Oracle provider for .NET (Oracle.DataAccess.Client) to get the requested information from an Oracle database.The thing is, when I make a first call to one of these handlers, everything works just fine, but when the main page try to repeat the call in order to update the information requested, I encounter a problem.In fact, it appears that the different Oracle SQL request results that were made during the first call are still in memory and that the requests are not repeated correctly in order to obtain the updated information from the database. The application keeps the first results and this is these results that are sent back to the main page once again.I don't know how to force the handler to obtain new results and work with it instead of working with the previous results.In the handlers définition, the IsReusable methods are all set to false.I have called the Dispose() méthods of every Oracle object at the hand of the handlers définition and then the System.GC.Collect() méthod to force Garbage Collection. But this does not seem to be sufficient to be sure that nothing is kept in memory.
View 3 RepliesHow can i show multiple images with one imagebutton?For example 20 images per sec.
Here is my code.I tried timer control but it didn't work.
[Code]....
how can i develop a slideshow of images coming from database?
View 1 Replieswant to create a slideshow with back and next button.. all data including img path and img name is to be fetched from the database... any code you can paste here?
View 5 RepliesI want to slideshow images from database, four images at a time.The images should slide after 2 seconds and slides should scroll from right to left.During this left most image should disappear and all remaining images should move to left,covering leftmost image. At the place of rightmost image a new image from database should be picked up.
View 1 RepliesI want upload image in database and display image in slide show on website without gallery and button using gridview.
View 1 RepliesI have a Panel with property, Visible set to False
<asp:Panel ID="pnlUpload" runat="server" Visible="False" />
and i try to make it visible using javascript as code below
document.getElementById('<%= Panel1.ClientID %>').style.visibility = 'visible';
how can i make using javascript a table row visible or invisible when checkbox is checked? also i need table row runat="server" so when postback page it will not loose table row state.
View 9 RepliesI have a page that contains a user control. Can i make an ajax request directly to the control? I know I can make an ajax request to .aspx or .ashx; however, is it possible to go direct to the .ascx?
View 2 RepliesHow do i make sure that for particular ASP.NET page CSS/JS file will not be cached on browser side (each time its loaded from server)?
Anything that can be done using the server side code?
I am using jQuery dialog in asp.net. It is working fine for me. The problem is when I open the dialog box, I can still work parent page functionality. I don't want that. Just dialog to modal and should not allow focus on parent page.
window.onload = function onloadFunction() {
[Code]....
I am trying to add validation on my form. I am using AJAX controls in my form fields.
When I remove the Update panel and AJAX control, my validation starts working, but when keeping both the things together, my validation is not working. How could I make them work together?
<script type="text/javascript">
function Validate() {
var QuestionTextArea = document.getElementById("ctl00_ctl00_cphBody_midbox_fvInsert_txtQuestion");
varError = "";
if (!IsTextBoxEmpty(QuestionTextArea, "
Question Text Area not be Empty.")) {
alert(varError);
document.getElementById("ctl00_ctl00_cphBody_midbox_fvInsert_txtQuestion").focus();
return false;
} return true;
}
</script>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<asp:TextBox ID="txtQuestion" runat="server" MaxLength="1000" Columns="50" Rows="5" Style="width: 380px;
float: none" Text='<%# Bind("Description") %>' TextMode="MultiLine" />
<AjaxControl:TextBoxWatermarkExtender runat="server" TargetControlID="txtQuestion"
WatermarkCssClass="water" WatermarkText="Type your Question Here.">
</AjaxControl:TextBoxWatermarkExtender>
</ContentTemplate>
</asp:UpdatePanel>
When I removes ajax extender and Update Panel. My textbox gets validated and when using UpdatePanel. No javascript function created by me is called.
I have a hquery plugin that consists of jquery itself, 2 .js files and some script to configure the plug-in which resides on the page. I noticed that in .net you can create a .js file.What I would like to do is put the configuration inside a .js file created in .net, but how do I then reference this in the header of the page
View 1 RepliesI am Creating Timed online test in C# asp.net.I have created it using the local machine time. But in the case of Database disconnection or system hang, The countdown timer must start from the time at which the machine has hanged or unexpected database disconnectivity.For example the user is answering the Questions for 10mins and unexpectedly system hanged. After recovery the countdown must start from 10mins. Can anyone please help me with coding in C#? I have used the following coding, But its not useful in the above scenario.
int totalTime = (Convert.ToInt32(ViewState["totaltime"])) * 60;
DateTime startTime = (DateTime)ViewState["startTime"];
TimeSpan elaspedTime = DateTime.Now.Subtract(startTime);
[code]...
I have several ASP.NET sites, hosted on the same domain (different subdomains) and working via HTTPS.I have WCF service, hosted on the same domain.I have a separate state server for sessions. why - i will reply later, but it's a 'must') On my sites, I use grid components from Telerik (but actually it does not matter) that ask for data from WCF service and must be filled with this data.I cannot manage to make POST request to WCF service from javascript: for some reason it's always either GET or OPTIONS (no matter if I use Sys.Net.WebServiceProxy invoke or just a plain jquery AJAX request). It happens even if I indicate COOKIE mode
View 3 RepliesI've created a C# function which extracts data from an mssql database, formats it to a json string and returns that. Now I need to make a call from my javascript (jQuery) slider through an aspx page that is related to the C# code file. I have actually never done anything like this before, from what I could tell by googling I need to use xmlHttpRequest, but how exactly do I make the function get hold of this string? It would be awesome if someone had some example code that shows how this works.
View 2 Repliesfunction addToFavorites(prod, box) {
var favPage;
var response;
if (box.checked == true) {
favPage = "xyz.aspx?type=add&product=" + prod;
} else {
favPage = "xyz.aspx?type=remove&product=" + prod;
[Code] ....
I am using the above javascript to call a page on check box click.It is working fine on my visual studio project.
But when i deploy that it is not working.javascript is calling but not able to call that page.
I am using visual stuido 2008 / 3.5 as my development server.
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link type="text/css" href="~/Content/Main.css" rel="stylesheet" />
<link type="text/css" href="~/Content/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" />
<script type="text/javascript" src="~/Scripts/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="~/Scripts/jquery-ui-1.8.10.custom.min.js"></script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
</head>
<body>
[code]...
However I'm not seeing center aligned text. What am I doing wrong? Also, will I need to make whatever changes to the JQuery .css files as well? Basically what I'm aiming for here is a single master page that I can use to hold all .css and javascript code so I don't have to reference it everywhere else.