I am writing a music related web site. What I am trying to do is have the user upload a song (MP3, MP4, Wav). I then want to be able to slice the song to a max lengh of 30 seconds. The user would be able to select a starting point and I would cut the song down to 30 seconds from that point.
in my application i need to generate/open a popup window automatically at some interval of time, when the user is working at some page in the application, like a alert message
the popup window contains some information which should take from the database,
and the information should be updated automatically when the popup window opens,
I have a forum area on my website and i would like to make forum main page in such a way that it should refresh itself every 2 minutes. How i can accomplish this ?
I want to calculate the total data download and upload in a particular interval of time, and store it to a database so that it can be viewed later on. Thus, this particular user logged in at this time and downloaded and uploaded this much data.
I am using sql server 2005. In my project i wanna auto delete the data from the database after a fixed interval of time say (30 days); Is there any automatic process to delete the data from the database without the user intervention..
I have written the following code to display multiple markers in google map and i succeeded in it.Now i want to have a drop animation applied to markers and want to drop marker after a specific interval of time.I know i want to call setTimeout method ,but don't know where to call this method to achieve the result
<script type="text/javascript"> window.onload=function(){ if(markers.length>0){ var mapOptions={ center:new google.maps.LatLng(markers[0].lat,markers[0].lng),
I have Website Application , in which i have method ..i want to execute this after every 10 days automaticlally ..what is the concept of doing this , provice some code etc. if possible ..
I need to create a scheduler for a hospital appointment screen.. i am taking a time interval value and doctor schedules from MyDb. I want to fill the gridview based on the doctor's schedule timings and interval....
for Ex;
if Doctor A .
Time schedule is 09:00 Am - 09:40 AM && 10:00 Am - 11:00 AM
the bestway to handle multiple file uploads without activex,applet or flash. User should have the ability to select multiple files in one browse click.
I wish my user to have option of selecting multle image at once and upload them to site form there hard drive, somehing like on copy paste, and not to have 5 upload buttons and to look for each photo separatly.
I have thi esolved in zip file where user can zip in let say 453 photo and upload them to internet in single file where they are automaticli unziped but it would be much better to have option of selecting numerus photo i windows explorer and upload thm with single click
im trying to upload a 8mb of pdf file but im getting Request Timeout error, below code i have mentioned in the web.config file. In my web page i have used AJAX Scriptmanager, Updatepanel.
<httpRuntime maxRequestLength="25600"/> below is the error message
Server Error in '/' Application.
Request timed out. Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
I have a web site that publish to the production site after I make changes. I do this from VS 2008, by clicking Build, then Publish Web Site. How can I do the publish without uploading the web.config file each time? I do not want to update the web.config each time because I use a different database for my testing here locally.
I'm using the ajax asyncfileupload plugin to upload files to my server and it works fine for the first file upload but if I try to upload another file before refreshing it throws the exception "Unhandled Exception: $common is undefined".
If I add 'location.reload()' to my UploadComplete javascript method it fixes it but obviously this isn't ideal. Does anyone know how to fix this?
I have a tree-view which doesn't have any events and AutoPostBack property is also false. But whenever the treeview node is selected,its taking a lot of time...The tree view is placed inside update panel...I have an update progress and selection of any node shows the progress for atleast 5-6 seconds.
I wanted to know how to prevent more than one user from uploading the report at a time .
This is a Windos based app written in c# . When User A clicks Upload option on one server from the menu to upload the files and at the same time when User B clicks Upload option on different server , User B should be alerted a message saying "User A's uploading is in progress,pls wait" . How to achieve this, with the code..I am thinking this logic should be kept in a stored proc, How do I write that proc?
I have a simple search page with a drop down list that I would like the value to persist on refresh..basically the user will select their location from the dropdownlist and this will be used to populate a gridview. After this the page is set to refresh at a set interval and use the same location data initially selected by the user. However the initial selection is lost each time the page refreshes.
p.s system is to old for ajax!
<meta http-equiv="Refresh" content="300" /> <script runat="server"> Dim connectionString As String = ConfigurationManager.ConnectionStrings("****").ConnectionString Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) If Not IsPostBack Then Dim conn As SqlConnection conn = New SqlConnection(connectionString) Dim Locationcommandtext As String Locationcommandtext = "SELECT * FROM [Location] ORDER BY [Location]" Dim loccomm As SqlCommand loccomm = New SqlCommand(Locationcommandtext, conn) Dim reader As SqlDataReader Try conn.Open() reader = loccomm.ExecuteReader() Locations.DataSource = reader Locations.DataValueField = "LocationID" Locations.DataTextField = "Location" Locations.DataBind() Catch ex As SqlException Response.Write("SQL Error: " & ex.ToString()) Finally conn.Close() End Try Else '"Viewstate should kick in here" End If End Sub </script>
When uploading a new DLL for a large web application (dll is around 1mb) IIS throws an error because the DLL is 'in-use', meaning the website is down while the DLL is being uploaded. Is there a way to stop this behaviour?
Also, although I am using Web Applications, not Web Sites, whenever I upload a new DLL it still takes a while for IIS to restart after a fresh upload. I thought this wait was generally only for websites as they need to be compiled by IIS, not Web Applications?
In an ASP.NET website, how would I run a process, such as send an email, on a timed interval?
Lets say send myself an email every 4 hours. And assume there is no activity at all on the website during that period.
The only way I can think of doin it is open a web page on the site and have it refresh at a timed interval that is less than the server time out setting. When the page refreshes check to see if it is time to send the email, if so send it.
The problem is that rblNavigation.SelectedValue is not the value that the user has selected to trigger this event. How do I get the value the user has just selected?I'm using C# and this selection event is inside my MasterPage.
've using adrotator in my web page store few images using xml file .The problem is only image change when refresh but i want to be change in regular interval.