473,657 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SmartNav Problem with Sound

Hi there,

Here is my problem. I have a web app that displays some data. When an
error occurs I play an alarm wav file. I have done this with the following:

RegisterStartup Script("Sound", "<bgsound src=""" & SoundFile & """ >")

It works just fine when I don't use smart navigation. When I have it set to
true in the declarations section of the page it plays the sound twice. Any
ideas on how to remedy this? My users really want to have the smart nav
functionality.

Thanks

J
Nov 18 '05 #1
2 1279
because smart nav works by posting to a hidden frame, then coping the
content to the main frame, your sound happens twice. you should write client
script to set the sound. note: when smart nav is on, the client script will
only run in the iframe.

-- bruce (sqlwork.com)
"vbGansta" <js***@cassocor p.com> wrote in message
news:ut******** *****@TK2MSFTNG P09.phx.gbl...
Hi there,

Here is my problem. I have a web app that displays some data. When an
error occurs I play an alarm wav file. I have done this with the following:
RegisterStartup Script("Sound", "<bgsound src=""" & SoundFile & """ >")

It works just fine when I don't use smart navigation. When I have it set to true in the declarations section of the page it plays the sound twice. Any ideas on how to remedy this? My users really want to have the smart nav
functionality.

Thanks

J

Nov 18 '05 #2
HI bruce
Could you please tell me how to make the client script run in IFrame.

Thanks

"bruce barker" wrote:
because smart nav works by posting to a hidden frame, then coping the
content to the main frame, your sound happens twice. you should write client
script to set the sound. note: when smart nav is on, the client script will
only run in the iframe.

-- bruce (sqlwork.com)
"vbGansta" <js***@cassocor p.com> wrote in message
news:ut******** *****@TK2MSFTNG P09.phx.gbl...
Hi there,

Here is my problem. I have a web app that displays some data. When an
error occurs I play an alarm wav file. I have done this with the

following:

RegisterStartup Script("Sound", "<bgsound src=""" & SoundFile & """ >")

It works just fine when I don't use smart navigation. When I have it set

to
true in the declarations section of the page it plays the sound twice.

Any
ideas on how to remedy this? My users really want to have the smart nav
functionality.

Thanks

J


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2479
by: anon | last post by:
IIS is reporting "SmartNav.htm" and "SmartNav.js" in the /aspnet_client/system_web/1_1_4322/ directory on the web server as FILE NOT FOUND 404 errors. Does anyone know why IIS is report this as a 404? Should I place the files above in that said directory to prevent this? I don't why this should matter, but I would really like to know what's
4
3297
by: Lars-Erik Aabech | last post by:
Hi! I've been walking in extacy since reading the article about test automation with IE in the latest MSDN mag. (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx) After a while, I had to find an issue I couldn't solve. (Of course) If an ASP.NET page uses the smartnav option, the document you get from IE only contains the viewstate input etc, the scripts and an IFrame.
0
8312
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8606
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1622
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.