|
hi
how to use popup celander in asp.
Haresh Bogani
|
|
|
|
|
What popup calendar would you be referring to?
|
|
|
|
|
Hi,
Try the following Link : http://www.softcomplex.com/products/tigra_calendar/
Regards,
Vimal
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
|
How to handle bookmarks while using Ajax?
|
|
|
|
|
What do the two have to do with each other ? IF you mean, how to bookmark the state of a page after it's been changed by AJAX, you can't, unless it's possible to store a URL using javascript, and you use query string parameters to store/restore that state.
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 )
|
|
|
|
|
Hello,
I am a newbie to ASP.Net. I created my first web application using ASP.Net.
The project compiles and runs perfectly from my local machine.
I did a copy website from my local application onto the web server.
Now, when I open the server website on the VS Expresss Edition, and build it. I get Errors that says:
Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. \\<webservername>\wwwroot\<location>\Form.aspx 396
Error 107 Element 'CalendarExtender' is not a known element. This can occur if there is a compilation error in the Web site. \\<webservername>\wwwroot\<location>\Form.aspx 501 36 \\<webservername>\wwwroot\<location>\
I don't know what is causing this problem.
When I run the website on the IE browser, I get a different error that says:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Oracle.DataAccess, Version=9.2.0.700, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 37: <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 38: <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
Line 39: <add assembly="Oracle.DataAccess, Version=9.2.0.700, Culture=neutral, PublicKeyToken=89B483F429C47342">
Line 40: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
Line 41:
Source File: c:\inetpub\wwwroot\<location>\web.config Line: 39
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess, Version=9.2.0.700, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Please let me know, if you have any clue.
Appreciate your help.
Regards.
|
|
|
|
|
You're asking the wrong question. AJAX will just work on any web server. However, if you used a library to get AJAX controls, then those controls, that library, needs to be installed on the server, obviously.
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 )
|
|
|
|
|
You need to have the ASP.NET Ajax Extensions installed on the web server and a reference to the AjaxControlToolkit in the bin folder of the website (only if your actually using the toolkit of course, but it looks like you are).
|
|
|
|
|
Thank you for your response. I had our web server admin install "AJAX EXTENSIONS" download from the ajax.asp.net website.
Also, downloaded the AJAX control toolkit. Unzipped in the folder under Program Files/Microsoft ASP.Net
\\webserver\c$\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions
Then, I opened the web site on my local machine and when I try to build it. It gives me these errors again:
Error 1 Element 'CalendarExtender' is not a known element. This can occur if there is a compilation error in the Web site.
\\webserver\wwwroot\webforms\Form.aspx 396 30
\\webserver\wwwroot\webforms\
Error 7 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
\\webserver\wwwroot\webforms\Form.aspx 396
Please help as I am clueless on how to make these errors go away.
Appreciate your input.
Regards,
Rekha.
|
|
|
|
|
I'm pretty sure there are detailed instructions on the ajax.asp.net website for the toolkit, but heres a quick heads up first - you have to reference the toolkit assembly in your website. Then when you build the site it will add the assembly to your bin folder.
How did you create the site in the first place? If you use one of the templates with the ajax extension this should all of been done for you.
|
|
|
|
|
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 ??? ( (
|
|
|
|