|
I don't see a section for Web deployment so I choose this section as I think it's closest to my issue.
I created my web site using VS 2005. According to my SA (admin) he said our web server is FrontPage 2002 ready. I see that the following files are in our directory (the directory that I will publish my web site to using the Remote option in VS 2005):
_private
_vti_cnf
_vti_log
_vti_pvt
_vti_script
images
_vti_inf.html
default.htm
postinfo.html
When I click on the Build menu then "Publish Web Site" I see that the web site get Pre-Compile but I get the following error:
"Unable to create the Web 'http://www-cbs-a01/IDSAccess'. The Web server does not appear to have the FrontPage server extensions installed.
Error: Unable to create the Web 'http://www-cbs-a01/IDSAccess'. The Web server does not appear to have the FrontPage server extensions installed."
Does anybody know what is going on? My SA is out on medical leave for about two months and I don't know why I am getting this error from VS 2005. Any help is greatly appreciated.
Thanks,
Don
|
|
|
|
|
I'm debugging a home brew AJAX application using FireBug. I use the code below to dynamically assign an 'onblur' handler for cells in a table body output by my Repeater. My problem is that my console is filled with the definition of the handler, not just its name. I would like to just output the name.
eval(oHourlyRate+".onblur = ajax_update_Employee_Rates");
console.info(oHourlyRate+".onblur: %s", eval(oHourlyRate+".onblur"));
eval(oHourlyCost+".onblur = ajax_update_Employee_Rates");
console.info(oHourlyCost+".onblur: %s", eval(oHourlyCost+".onblur"));
|
|
|
|
|
It's not answering your question, but you should be able to assign a handler with an assignment (getting rid of the nasty eval and making the problem easier to read):
oHourlyRates.onblur = yourfunction;
|
|
|
|
|
It isn't but, thanks for the advice anyway. However, the reason I use eval is because the control being assigned the event handler , i.e. an input, is obtained by dereferencing a DetailRow variable, and indexing cells within that row, e.g.
oHourlyRate = "DetailRow.cells[2].childNodes[0]"
Then I use eval to get the actual object denoted by the expression
oHourlyRate + ".onblur"
|
|
|
|
|
hi i am just tryin to get a total for 4 textboxes on a webpage but when i use the following code to add all the vales together they are concatenated like a string and not numbers any help wud be appreciated
Thanks in advance
Tim
window.onload = initAll;
function initAll()
{
document.getElementById("technicalScore1"). onblur = GetTechincalTotal;
document.getElementById("technicalScore2"). onblur = GetTechincalTotal;
document.getElementById("technicalScore3"). onblur = GetTechincalTotal;
document.getElementById("technicalScore4"). onblur = GetTechincalTotal;
}
function GetTechincalTotal()
{
var total = 2;
total += document.getElementById("technicalScore1"). value;
total += document.getElementById("technicalScore2"). value;
total += document.getElementById("technicalScore3"). value;
total += document.getElementById("technicalScore4"). value;
document.getElementById("technicalScoreTotal"). innerText = total;
}
|
|
|
|
|
by default value picks as string.
you will have to pasre it to integer using parseInt.
parseInt("document.getElementById('technicalScore1'). value",10)
Sreekumar PP
|
|
|
|
|
try this:
total += (document.getElementById("technicalScore1").value * 1);
The multiplication will force it to be an int and not a string. I assume you stop the user from entering non numbers ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi guys
i am using asp.net1.1 . i am using dropdownlist,,
i have bouned this dropdown with a datasource with data set object,
but i want show an empty string on the click event of the clear button, i dont want
the data binding to be removed, i just want to show the selected text in the drop down
which should be blank string, is there any way ?
thanks in advance
regards
hello
|
|
|
|
|
i would recomend to add a default text to the dropdown after binding.
dropdownXYZ.DataSource = something;
dropdownXYZ.DataValueField = something;
dropdownXYZ.DataTextField = something;
dropdownXYZ.DataBind();
dropdownXYZ.Items.Add("Select One");
dropdownXYZ.SelectedIndex = ddlEventIDONX.Items.Count-1;
// Assuming that you won't be having any negetive value in real time.
dropdownXYZ.SelectedItem.Value = "-1";
---
On Clear Button Click event, change the drowndown to "-1"
However, i would recommend this clear button to have javascript function. Why should it make an unnecessary round trip to server and waste time even if that is just seconds.
--Javascript ---
loop thru the document and find all required controls like text box, dropdowns etc and clear it....
----
var controls = document.all;
if(controls[i].tagName == 'INPUT' || controls[i].tagName == 'SELECT' || controls[i].tagName == 'TEXTAREA' || ... etc)
if(controls[i].value.length > 0 )
{
//Clearing Text Box
if(controls[i].tagName == 'INPUT')
controls[i].value = "";
//For DropDows
else if(controls[i].tagName == 'SELECT' )
{
if(controls[i].value != -1)
controls[i].value = -1;
}
else if(controls[i].tagName == 'TEXTAREA') controls[i].value = "";
----- etc..
}
Sreekumar PP
|
|
|
|
|
Thank you very much
it helped me very much
Regards
hello
|
|
|
|
|
Does anybody knows how to implement custom development under MS sharepoint ? To develop additional documents for documents management, etc ?
thank you
|
|
|
|
|
(Im try to working with WMP , but it not working Please help me process this problem; I try to play *.WMV on my Website; I can use Object but i can't working it with behind code;
Thank A lot Of......
|
|
|
|
|
HarryIsp2007 wrote: I can use Object but i can't working it with behind code;
Of course you can't. The server code runs on the server to create the page, then the page is displayed in the browser, where the WMP object is created. The server code and the WMP object exist on different computers, and they don't even exist at the same time. When the server code is running, there is not yet any web page, and when the web page exists, there is no server code running.
---
single minded; short sighted; long gone;
|
|
|
|
|
yes. but with Code HTML i can user Object to Play *.WMV ; I try to working with WMP.DLL , i can play movie but i play with media player in client; I think it can, but client must download video first, then in client can paly it; I try to input this Object (MEDIA) in Website; But i can't , Pleasr help me ??? ( (
|
|
|
|
|
A quick search on Google reveals[^] many ways of embedding WMV on a website:
|
|
|
|
|
Thank you very much, i have make it with HTML code in my site; but now i want to use *.WMV in my site on behind code; and control it with WMP.DLL to uselly; (
|
|
|
|
|
Your code behind runs on the server and so cannot manipulate the media player on the client. WMP.DLL is intended to control media player on the same computer, which in this case would be the server.
|
|
|
|
|
Thank a lot of your mess.....
Thank abour your idear; i have just working with WMP.dll; but i can't play movie in servers; With WMP.dll we can play the movie in client. When client click on movie, the movie in server will load to this PC and play the movie in this client; Last choise, i must working with Object in HTML code; May be i don't known more about WMP.dll , i think we can use it in my web. Please go and working with me in this object;
;);)
|
|
|
|
|
I have some code:
-------Javascript ------------
...
function SavePosition(source)
{
// Call AJAX request to save
//var url = "Home.aspx?order=" + getPositionOrder();
url = "Home.aspx?order=0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12"
var objXmlHttp = createXMLHTTP();
objXmlHttp.open("GET", url, true);
if(objXmlHttp == null)
{
alert("Browser does not support HTTP request!");
return;
}
ShowWarning(source, waitingHTML);
objXmlHttp.onreadystatechange = function()
{
if (objXmlHttp.readyState == 4)
{
if(objXmlHttp.status == 200)
{
setTimeout("complete()", 2000);
}
else
{
alert("Error while trying to save.");
}
}
}
objXmlHttp.send(null);
}
When I execute the function and debug it, I see that.
sometime, it executes very well, my DB is updated that mean home.aspx loaded.
sometime it do nothing (because home.aspx does not load) although run step over objXmlHttp.open("GET", url, true);
|
|
|
|
|
The invalid URL that you are using might be part of the problem. An URL may not contain spaces, you have to encode the URL correctly.
Try:
url = "Home.aspx?order=0%20s1%20s2%20s3%20s4%20s5%20s6%20s7%20s8%20s9%20s10%20s11%20s12"
---
single minded; short sighted; long gone;
|
|
|
|
|
Ok, I try it again, thanks you so much.
|
|
|
|
|
I tried it, but ... it don't run.
My problem:
I have two textarea (object1 and object2).
if
{
I have swap object1 and object1 (dag object1 to object 2)
click save --> database was updated.
}
but after, I want to go back
{
I drag object come back.
click save --> database was not saved.
}
--> The BIG PROBLEM!
HELP ME!!!!!
|
|
|
|
|
I handly understand anything of what you are writing. Could you try to explain it in complete sentences?
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks you so much.
I have a problem below.
I use javascript in my project to drag and drop some objects that exchange position.
when I log in and do the function (drag and drop) after save the position to my DB ==> OK.
But i drag and drop back and save ==> it is not save to DB ==> BROBLEM????
i used dojo library.
|
|
|
|
|
Spaces in URL ought to be URLEncoded before being transmitted.
tranglt wrote: --> The BIG PROBLEM!
HELP ME!!!!!
Please avoid such quotes in discussion forums.
|
|
|
|