AJAX :: Building An Application - Looking For Timer In .Net?
Dec 12, 2010I am building an application where I need to check/send a query to database every second. So, is there any way to do that??
View 5 RepliesI am building an application where I need to check/send a query to database every second. So, is there any way to do that??
View 5 RepliesI'm searching for an example with an client timer that ticks synchronous with an server timer. Also there must be a button on the client side which can reset the server timer to an default value, and with this it also resets the client timer ofcourse. I tried it myself but it seems that there is some postback delay which makes it impossible for me to make it atleast look like it goes synchronous.
I hope somebody got an example for me, the button part is really important because by pressing that button the delay comes.
I have a requirement for building an instant messenger application for the selected user.
I have googled for the solution but without any sucess.My requirement is once a user initiates a chat with another user,the another user needs to get a popup of the chat window,where the two users can start chatting.
I have a web application solution with 14 projects which include web services, class libraries, sub-web applications.. can anyone provide a solution on how to get along with an example?
View 1 RepliesWe have a big classic ASP website, and we want to start writing new code in .net, (the website is way to big to rewrite 100% at this stage).
The old website uses session variables, will these still be accessible in the .net pages, and if not (which I suspect) is there anything we can do to make them accessible?
The new section is detachable, that is it is pretty much independent from the rest of the site so should be fine to write in .NET, it's just sessions which are important to us. Do we need another login page?
How bad practise would it be to ajax a local .net page which sets session info when they login to the old site? Can we copy session data this way?
I am looking to build a web application from the ground up. I have done a bit of research, however I just thought I would post here to see what kind of responses I get. I will give a brief description of the type of application I am trying to build. It will be a database web app for managing clients and financials of those clients. The application will need a secure log on system for approximately 160 end users, with the ability to change permissions for each user given their individual rights.
Depending on the type of user created they will have access to 1 of 7 unique application modules within the app framework. A data dictionary will be designed and created prior to starting the project as the 7 unique application modules will have common database fields and custom relationships. Based on this information, what asp.net tools, libraries or books would you recommend using?
I am working on building a new shopping cart applicaiton. When i checked many shopping card applications, i found that the cateogry pages and product pages seems to be dynamically created. eg: http://shopping.sify.com/cadbury-bournville-almond/chocolates/CHOC24112009TTL14.htm
How this is being done? Is this page is created while adding product itself?
Im in the process of building an Enterprise Application, I want to have the DAL & BLL in separate projects, one each. With a structure like this, what should i do with the Models folder in MVC'S Default Project?
View 3 RepliesI need to build a globalized web application, and I already have those resource files in the App_GlobalResources folder. My web application is built upon an N-tier architecture: DAL, BLL and Presentation are the layers, and we are using SQL Server 2008. We have decided that the database, BLL and DAL will always be operating using the en-US culture, but the culture in the Presentation layer can vary.
ASP.NET works with two culture properties: Culture and UICulture. There's an article in MSDN that states that a thread's UICulture determines which resource files ASP.NET picks, and Culture determines datetime/currency formating, etc.
So, to have a fully globalized application, I think I must set both Culture and UICulture, so that both Resources and datetime/currency formating are displayed using the same culture.
Then I thought I would set those culture properties (both of them) in the BeginRequest event in my web application, based on the user's choice, and that everytime a method in the BLL is called, it sets the thread's Culture property to "en-US" and, just before it returns, it sets the thread's Culture back to what it was before.
I'm building an Iphone application, which has to retrieve information from a database on a server.
I thought about building a C# web service on the server,so the Iphone app will send a http request to the web service and get the required data as a xml output. Are there any better alternatives? for instance: I never tried but heard about WCF, maybe it's better using it instead of the older xml web service technology?
Is it possible to develop something like this with asp.net, html and javascript?
http://www.gsk.com/annualreview2009/
i think this website is developed in flash with actionscript.I dont want to use Silverlight or Flash . what are the other options i have?
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 ?
View 8 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]...
My new office project is based on an MVP design and is in VB.NET (.NET 3.5), using multiple libraries (like EntLib, internal corporate framework, etc.). The number of DLLs used as references is so huge (almost 50) that when I try to build/debug the application in VS2008, it takes almost 3-4 minutes to get the website running successfully.Wanted to know if there are any settings/areas which upon some modifications can help me reduce the build time? and what exactly can be the major reasons behind this long loading duration?
View 1 Repliesi have a task, online test. 15 questions stored in database , and also answers.
it has 4 options, a, b, c, d. for a particular question how to fil values in respective options from database.?
and also how to move to next questions, by clicking next button
I wrote a composite web control that is used in several web applications. If I use sessions variables, for example HttpContext.Current.Session("MyProgramMemberId"), do I run the risk that the host site might have also defined that same session key name?
View 2 RepliesI am interested in finding out how I would go about displaying a website wiithout forms authentication but to utilise forms authentication when the user makes a request by clicking in the signin button, and then the user will view other pages that are private and secure,
View 2 Replieshow to set time for particular questions.
eg: 2 min.
if the user not click the answer for particular question, it should automatically went to next question. (online exam text).
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.
[code]...
I have an ASP.NET form with several update panels. All works great.I use a timer and have it handle some periodic upates. That works correctly too. However, I appear to get an error when I leave the page open running in the debugger. Specifically the above JScript error 12030.I'm not clear how to find the source but I assume it is because my page has logged out. If I refresh I go back to my login page.So, does this sound like the cause? If so, how to I address this?
View 2 RepliesI have an ASP.NEt website and I want to know how can determine how long the website was idle (no activity from the user) and then based on that timer I want to automatically logout and redirect to default.aspx?
View 1 Repliesi want to have a timer in my site that will work for all the site where have i to put this timer?i mean if i put it in one aspx it will work only for this page or not?
View 25 RepliesI'm having a serious problem with my ASP.NET AJAX application.There is an javascript function in my application needs to be executed after the Timer_Tick event. Here's the code behind:
[Code]....
When I call the javascript function 'UpdateValue' for the first time(at onload page event), it works correctly. But after the Timer_Tick event, it does nothing. This is the HTML code:
[Code]....
What's the problem with the ScriptManager or the Timer_Tick event?
i want to know that how the timer works in asp.net.?
View 1 RepliesI render HTML returned from an ajax call and currently uses simple html controls and the string that is returned from the ajax call looks like this:
string s = "<tr><td><a href="#">MyLink</a></td></tr>";
Now, on the click on these links I need to do some processing on the server side to determine where I need to navigate to and for other information. My understanding is that I cannot use <asp:linkbutton /> in this html string I am building. How do I make a server side call if i don't want to use ajax.