I am making a ASP.NET site for my band to get our songs out there. I made a <asp:Literal> and dropped an <embed> to load the song picked from a dropdownlist.
The problem is that I want the music to continue when someone clicks a server-side link on the site. Reason being, that I have links to my Lyrics and Photos specific to each song. When they click Lyrics, I want the song to keep playing from where it was, but load the TextArea with the Song Lyrics. Currently, the song restarts when I do this.
I've tried to use an <iframe> to hold the player, but I can't get the <iframe> to function properly.
ViewState don't work either.
Sooooo, my question is, how can I Refresh one area of the current page ( the main textarea ) and keep the music playing (in a Literal Control) without a restart. I know I can use JavaScript to keep the page from posting while still changing the data loaded, but was hoping there was a way to stop the server from restarting the music while making a server-side hop (mainly cause I coded all that out already). It currently uses SQL Server 2005 as a backend, and recycles a page (Index.aspx) loading different data based on the user-selection based through web controls.
Thanks in advance...
Merk
The problem is that I want the music to continue when someone clicks a server-side link on the site. Reason being, that I have links to my Lyrics and Photos specific to each song. When they click Lyrics, I want the song to keep playing from where it was, but load the TextArea with the Song Lyrics. Currently, the song restarts when I do this.
I've tried to use an <iframe> to hold the player, but I can't get the <iframe> to function properly.
ViewState don't work either.
Sooooo, my question is, how can I Refresh one area of the current page ( the main textarea ) and keep the music playing (in a Literal Control) without a restart. I know I can use JavaScript to keep the page from posting while still changing the data loaded, but was hoping there was a way to stop the server from restarting the music while making a server-side hop (mainly cause I coded all that out already). It currently uses SQL Server 2005 as a backend, and recycles a page (Index.aspx) loading different data based on the user-selection based through web controls.
Thanks in advance...
Merk