I have created an application in asp.net using c#.In that i have a Quiz Module.Quiz is working fine but now clients wants a Timer in this Module.How do i add a Timer for two minutes for whole quiz which will be showing like this- > 02:00 to 00:00 ?
I'm building a website in ASP.NET with C# code behind files, I'll be using the site on shared hosting due to price, and one of my aims was to have a stored procedure scheduled to run every 1 hour in MySQL and update my database.
Unforunately security arrangements on shared hosting means that users cannot schedule stored procedures, so I decided to tackle the problem another way.
I created a timer in my website inside its own class file in the App_Code folder, it basically starts a timer and then the time elapsed event connects to my database and calls the stored procedure. I then built an admin page that allows me to see the status of this thread (started/stopped) and allows me to start/stop and restart it.
It's installed on my test site that I run from my home PC using Win7 and IIS, and it works beautifully, I can stop start the service and watch the database tick up when it's running...
HOWEVER...it only seems to run for 20 minutes before it stops, I thought maybe it was the garbage collection killing it since that's mentioned in some timer examples but I've added a GC.KeepAlive(Timer) and that's not . I'm really stumped as to what is stopping the timer, it's functionality is dead on the money and how I want it, but it just stops, always after almost exactly 20 minutes.
I am doing Automated coded ui testing in asp.net 2010 for web application. I am testing site and i need to know how can i create the test which will work with all browsers. Right now i created test in IE 8 but its not working in Firefox. So is there any way i can create one test and will work in all browser.
I create paypal payment Getway when on local machine i check transaction using paypal sandbox In this way I get all data from paypal site when Return url send me back to my site at Paysuccess page after tansaction over
But when I try same page Online It working well, but Data not save in my database.
How to Create a Online Test Program using Count down?The page showing one question with 4 answer fetch from the database sql server and there will bw a countdown timer for test.
I need to build a page to test online video speed.
video will be uploaded in my webserver and there is no flash play in the server. I need to have two players. one is window media player, second is a flashplayer (prefer using google player)
Page layout:
Windows media player
report of speed testing
Flash player
report of speed testing
report requirement
1.length of video
2. total time that spend to load this video (dynamic is better)
3. average download and upload speed during playing the video
me how create offline and on line application.like..
I need create an app.net application.This should works with or with out internet.
Here main requirement is some user will connects to internet and get data to local system.then whey will work on offline.Finally need update server all users updates to server.
so here..
1. user will connect to internet every morning at that time we need to synchorize local database from server database.
2.next user will do some operataions like adding some records or updating some records from his local database using application.
3.Finally end of the day we need to synchronize his local database with server.
I have a problem with IIS 6. I have developed Warehouse Management System using ASP.Net 2005, SQL Server 2005 with Framework 2.0.
It has a website folder and Web Service folder separately. My Website access Web Service hosted on same IIS using JavaScript (webservice.htc) On development platform it works fine but when I tried to deploy it on newly installed Windows 2003 SP2 and IIS 6.0 web application gets hanged after 2 - 5 minutes.
I tried to re-install all software as well as changed some IIS Settings like Pooling etc. but result is same.
If any body knows how to properly configure ASP.Net web application with web service on IIS 6.0.
I want to redirect the user after 2 mins if there is inactivity for 2 mins. I am not using ASP.NEt membership. And I dont want to use Sessiontimeout for this. Session timeout will logout the user even if he is working on the system. My objective is like screensaver process.
If there is no action for the specified time, the screensaver runs. Similarly, I want to redirect the user to login page.
note that i have already handled it with the following javascript:
[Code]....
Here what my problem is,
the user is working on the site...ok.. he want to see someother site.he browse someother site and works on....or even he can do some other work in his system...but he is active in his system... What this script does is, it automatically logout the user and redirect him to login page. But it should not do while he is active...IT SHOULD REDIRECT IF HE IS NOT ACTIVE REALLY (Similar to Screensaver process)
VS2010 ( Vb.net ).I have a masterpage that contains a gridview, giving stats and information on client files sent to us. This gridview is updated by means of a timer control every 10 seconds. In my grid I have an image field, to display either a tick .. if everything is ok or a cross for any problems.When the timer control timer event forces a gridview databind every 10 seconds.When the page first loads, i get the default red Cross in the gridview imagefield, however when the timer loops forces a 'databind' I lose the redCross and it is replaced with the default image control ( as if no url is set ) . Then I get a server 404 error.I am using the OnDataBound event to fire my vb sub. I have commented out evertything just to get a solid starting point but im still getting errors.
I want to develop a utility where user will insert new Records and also the same application should work if user is not connected with internet.When user wants to submit records only that time he required to connect internet.
We have created one sample application using excel where we use Dropdown, Textbox, Label.User will download excel file from website and filled up details. When user wants to submit all details only that time internet is required. Application will insert value from excel file to server using WebServices when user click on submit button.
Above is working file but it's increasing our work because we are creating website and also Excel project (Almost double work). I want something where we can utilize the code for online and offline application.
need to let users to generate online questionnaires that could be answered by other users. I was wondering if this could be done using the WebParts.I have a custom application with already set up database. I do not use any form of Membership Provider (I have a custom made form of user authentication, I did not want to be bounded by the rigid frame of the ASP Membership). As far as I know Web Parts uses db (called SharePoint ?) to store the state etc. so this might be the first problem because I do not want to modify my DB just for the sake of WebParts (I assume it would require a whole lot of changes).So I was wondering if it would be possible to use Web Parts only as a form of "ASP code generator" e.g. I could create the questionnarie using WebParts and then export the result somehow (?) to print an ascx/aspx file or code.If this can not be done, can anybody tell me if there are any components that would be useful here? Some sort of toolkit where one could create asp code online? (with textboxes, checkboxes etc.).
i need to create an online html editor to be used in my asp.net application with the basic button of dataformating + adding/inserting images+creating templates
What is the best way to unit test the presentation layer of a web forms application? I have been told that there are frameworks available like Watin. Are there better tools around?
I will be creating a webform that will require online application and sending/uploading of resume that will later be forwarded to an e-mail address (the resume will be an email attachment). I badly need some tips on this! Really new at these things. I will be using VB to code the web form.
I 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.
I would like to design Questionnaire around 30 questions. What control should use? If simply using label & text box will have a lot of control within one form?
i'm a developer with some experience in dotnet 2.0.
i work at the moment with web application and i'd like to find a book or some article about how to test a web application for to know some error that i don't know to do of course :)