C# - Static Music Player That Remains On The Page Playing No Matter If The User Navigates Away To Another Page Within The Site?
Sep 15, 2010
I am needing to have a music player (something like a strip down at the bottom of the page that goes all the way across), that remains at the bottom even when the user navigates to another page within the same site.The purpose of this is to play music on the website no matter where the user goes on the website.
How to maintain Accordian history and user navigates to next page and trys to comeback to same page (where the accordian is). Its not actually a different page, but I am using asp multi view and Accordian in a view.
I'm setting up a website for a friend who wants to showcase their music. At the moment i have about 12 songs all loading at the same time using the <embed> tag. This displays a WMP object on the page for each song and obviously takes forever to load due to the total size of the songs.
I'd like to be able to simply have a link (title of the song) and an image on the side of each song (play button) that can be used to start and stop each song as required.
What is the easiest way to save form data and retrieve it when the user navigates back to the page?
We have an application process that consists of several web forms. If the user clicks to go back a step we would like to auto-populate the fields. I am assuming there is a common generic way to do this without having to mess with individual controls - what is it?
Before I even start, I never used silverlight..not even touched the tutorials, articles, anything.
I got a project coming up I need to make some decisions about (Presentation layer defo Asp.Net MVC).
Basically a user will updload a video, which will be "processed" (cannot reveal that part) and then the user can preview the result before opting to download it in a video format.
For the "preview" part, I need to decide what "video" player to use, and before looking around I was wondering if Silverlight would be a good solution for this?
It works and I can hear sound, but if I go to a different page, it stop (pause and return to start, I can still see it through and press play since its in my master page) How do I make it play while I'm browsing through pages? Note : The player contains a pause function and doesn't auto play so users wont be annoyed.
So i was thinking on using an image and a literal control. The questions i have is
1)Is there a better control to use than literal?I am using it because the text would have html and i must render it.
2)How i will achieve putting text beside the picture(the site uses a <strong> as i see in firebug but i cannot view the css and after that everything is simple text and some <br> )?
If i put the literal beside with <strong> and have a specific div size will the text automatically go below when reach the div limit?I'm asking because it will be html so i don't know if it(html) can surpass the main div container.
I use media player control to play mp3 files in asp.net application. I want to find When the playing process gets end and the total time require to finish the file using javascript.
I have a search field (text box) at the top of my page. When you type something, and press enter, the page navigates back to the previous page? What I want it to do is act as if I clicked the Search button.
In a page hving some textboxes and dropdownlists with every control having server side validation controls.On selecting a dropdown all the validation controls are disappear and on clicking the save button the page remains idle.
I am using ASP.NET 2.0 with VB. In design view of grid, i have one textbox in its template field. I also have one Ajax Calender Extender and FilteredTextBox Extender. I have set target controlId of both calender and filteredtextbox extender equal to that textbox. Now dynamically i dispose one of the extender from that textbox. everything works ok. But once my page reloads it takes the original design image, means both extenders are being set to that textbox.
I have a page which has menu of the items on the left and the content page on the right. Since, master page is used, there is a few content on the footer of the master page.As a default, the left menu shrinks but as you expand the menu tree, the menu items goes down and down. But the footer of the master page remains there so that its ugly looking.IS there any way to push the footer of the master page also below and below as the menu items grow and grow (moves below and below)
Is there a way to get the page that the user has come from on my own site 100% of the time, there are no querystrings. so if they have clicked through from homepage or a category page I could get the url of the previous page.
I've made a membership by create user wizard. everything is good but after click on finish register button, when page redirect to index .aspx, this page thinks tht user logged in. whereas user didnt login just added to DB.here is the code:
I have the following code that is trying to "spit out" an mp3 file so WMP can play it. However it keeps saying that it cannot play the file. However if I change the "inline" parameter for "attachment", the browser invistes me to open it and then, WMP can play it. I have seen some related articles around but I cannot make it work. The file is in the website's root folder and only authenticated users can reach it, but in my tests I am logged in as a valid user.
I am trying to render a simple hyperlink that links to a named anchor within the page, for example:
<a href="#namedAnchor">scroll to down</a> <a name="namedAnchor">down</a>
The problem is that when I use an ASP.NET control like asp:HyperLink or HtmlAnchor, the href="#namedAnchor" is rendered as href="controls/#namedAnchor" (where controls is the subdirectory where the user control containing the anchor is). Here is the code for the control, using two types of anchor controls, which both have the same problem:
[code]....
I am using the HtmlAnchor or HyperLink class because I want to make changes to other attributes in the code behind. I do not want to introduce a custom web control for this requirement, as the requirement I'm pursuing is not that important enough to justify abandoning the traditional ASP.NET link controls. It seems like I should be able to use the ASP.NET link controls to generate the desired link.
I have a static HTML page complete with client-side scripts and css (both are included in the html). I was wondering if it would be possible to embed this HTML page into an ASPX page and have the ASPX page be able to respond to javascript events that are raised from within the static html document? Does asp.net provide a specific control for this or can I use a frame?
I have an ASP.NET web application where a Microsoft Media Player object on the page (in IE) is issuing a request for an .aspx web page. In the page I use TransmitFile to send back the audio file. This works fine most of the time.
But, in some cases (a combination of IE version and a specific client, at least from what I can see) there is a second request issued, with the exact same URL. The only difference I can see between the first and second request is the user-agent value. The first request will have User-Agent: Windows-Media-Player/9.00.00.4508 and the second one will have User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
This second request is causing the audio file to be sent a second time over the net, which is wasteful. This is what I'm trying to avoid. I had a related question here, but in this case there is no Range request. It is just the same exact request again (same headers, except for the user-agent).
I was trying to suppress the second response (based on the user-agent in the header) with all kind of HTTP status responses (304, 404, 500 etc.) This works for some clients, some of the time, but breaks occasionally (the Media Player will just not play the audio, even though Fiddler will show it was transfered on the first request).
I would like to "convince" the browser to avoid the second request, if possible. As a second option I would like to find a response to the second request that will not break the playback, but avoid sending the whole audio buffer.
The ASP.net 3.5 SiteMapPath Control shows the site map but not necessarily the path thru a site. If a user links from one page to another using a hyperlink, the Site Map does not seem to show the actual path, only the site Map. If this is incorrect, please let me know.If it is correct, do you know of another control that will show the actual path thru the site in a session?