|
ritu4321 wrote: i want to connect xml file ie xmlfile1.xml to a javascript file ie
coolmenu.js
How do you want to "connect" them?
ritu4321 wrote: Can someone give me the connection string for this
This line leads me to believe you think that javascript can connect to an xml file in a similar way that VB.NET/C# can connect to a database - sorry, thats just not the case.
ritu4321 wrote: I need it urgently.
It doesnt matter how urgently you need it, people here answer questions in their own time. You can get things quicker by rewording this to "I am on a tight deadline, so I would appreciate an answer as quickly as possible."
Now, all that aside - it looks like you are trying to build up a javascript driven menu system from an xml source (based entirely on the name of the js file). This can be done, but requires that you use server-side code to open the XML file, and server-side code to generate the relevant JS source. This is no small task and it is impossible to explain how to do so in one short forum message. There are literally hundreds of topics on the web that will help you, so get googling! Feel free to come back and post specific code-related questions when and if you have difficulty.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
Connect how? Are you trying to connect to the xml file using ADO from code in the js file, or what?
---
b { font-weight: normal; }
|
|
|
|
|
Hello, I am working on an aspnet project that I just completed... in the main server, the framework is installed and I have a directory where I can put my part of the project... the rest of the project is in plain ASP while my part is in ASPNET with C# as the code behind..
I can run the project on my computer perfectly but when I try to access in on the browser using the main servers IP address, it gives me the option of saving or opening.... it brings up a pop up as if I want to download something..
Can someone please help me on this?
Thanks alot,
Michael
|
|
|
|
|
It sounds like IIS does not have the .aspx extensions registered for ASP.NET. Take a look at the aspnet_regiis[^] tool - one of its uses is to register ASP.NET with IIS.
|
|
|
|
|
Thanks Mike,
I just tried your solution and it works perfectly....
Greetings,
Commickey
|
|
|
|
|
I have one WIN user control created in C#; before the security update update KB912812(Cumulative security update for Internet Explorer)
I use this win control inside a ASPX page using:
<object id="MyControl" height="100%" width="100%" classid="/MyWinControls.dll#Module.TestDesign.Components.EditorControl"
<="" object="">
and it work perfect;
After the security update was install, I must activate the control before use it;
the message "Click to activate and use this control" appear, I must double-click on the control before use it;
I have try to use Microsoft solution to create a JavaScript function that will insert the text from the Object tag...but it doesn't work;
the control is no longer initiated;
Any idea how should I use the win control in order to skip the "activate"?
|
|
|
|
|
doru.popa wrote: I have try to use Microsoft solution to create a JavaScript function that will insert the text from the Object tag...but it doesn't work;
the control is no longer initiated;
You will be referred back to that solution. That's the way to do it.
---
b { font-weight: normal; }
|
|
|
|
|
How to pass variables from Flash to Asp.net? I am stuck.
|
|
|
|
|
|
hi
i have a database in sqlserver
and now i want copy it for other computer , for do this work:
i go to the this path:
c:\programfile\sqlserver\data and i want copy the two file with this name
ostan.MDF and ostan.LDF but i can not find them
what should i do?????
|
|
|
|
|
Copying those files while the server is using them is not very wise. Make a backup of the database to a file and restore it to a new database on the other computer.
---
b { font-weight: normal; }
|
|
|
|
|
|
hi all,
how can create a shortcut to my web project at the time of installation.
thanx in advance
coolsweety
|
|
|
|
|
Hi,
I am using .net passport for an asp.net website. To use the passport, the application has to be registered at the Microsoft Services Manager website.
At the site, the passport service is selected. Then details like domain name,
Default Return URL, Expire Cookie URL, Logout URL and a few other URLs have to be provided.
Does the URLs have to be webpages which are already hosted on IIS and are made public on the Internet already?
Can the URLs just be directory paths of local asp.net webpages? e.g C:\My Documents and Settings\Test.aspx
|
|
|
|
|
How can I possible to bind a value to WebCombo except using dataset,datatable
-
|
|
|
|
|
ask help from their support persons
coolsweety
|
|
|
|
|
I confirm,
Ask them even if you are using a trial version and they will solve your problem, well, i guess so !
Another advice : they are the only persons who can help you ! no other humans can do it ! and if they didnt, ...
|
|
|
|
|
Dear all,
How can i change the default port 80 in my web application ?
Best Regards
Ishaq
|
|
|
|
|
Open the properties for the web site in IIS manager.
---
b { font-weight: normal; }
|
|
|
|
|
Dear Guffa,
Thanx for your answering, but i can't find from where can i change it, please be patient
Regards
Ishaq
|
|
|
|
|
Strictly speaking, what you are asking for is not possible at all. You can't change the port for a web application, only for a web site. If your application is not in a separate web site, it's not possible.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
When using the password recovery control it seems that the password gets sent by email only to the users that have specified an email address outside the office and not the ones inside the office.
What is wrong please?
Thanks
|
|
|
|
|
We have a web application, where we use the session to store the user specific
data,and also we have datagrids which has paging and using Dataset stored in
session.since these dataset r holding large amount of data ie about 1000 recs min ,
and v have such datagrids throught the application ,according to the customer
request.
We r planning to replace the session object by Cache object. since all these
data are user specific, and the Cache object is of Application scope,Can u suggest
me the methods the keep these cache items user specific.
I planned to concatnate the session id with the cache item name,so when accesed the cache item created by the user will be unique.
Is there any other method to make cache items user specific.
Show me the right way
Thank you in anticipation
regrds
IHN
|
|
|
|
|
hi,
i want to ask , is there any method to fire query on dataset in asp.net using csharp.
vijayendra shinde
|
|
|
|
|