When I access the page us a url (in debug mode) http://localhost/logon.aspx?v=1 the page loads correctly and the jquery button command loads correctly. But then I access the page using the new url route, I get this error.
The error i get seems to be centered around jquery finding what it's in (window,document, etc.). Right now i'm just trying to implement the jQuery datepicker. the project has a master page, where i placed my script references.
Trying to get jquery to work in VS 2010 Premium. I've got a simple asp.net webapp with a .aspx that doesn't use a master page with the code below. When I run it I get the error in the subject line. I've got the following in the scripts folder:
The JQuery import is in the page header. The javascript is just inside the <body>. It would be nice if I could tell which object is having the issue instead of being pointed at this block of code. I'm new to JQuery and beginner level javascript.
I am new to jquery in asp.net mvc2 and was trying to implment a simple jquery function like a show() function on my system but it keeps giving me this error:
When I run this page and click on the image I get an "Object Expected" error.However, if I place the test function into my Default.js external file it will function perfectly.
I've got a few ComboBoxes on a page which worked fine before. I can't recall making any changes to the form but now I get an "Object Expected" javascript error when the page loads and the comboxes don't load/work.
On debugging from IE, the highlighted error is in MicrosoftAjax.js in the piece of code
However, ever since I have introduced the notion of content place holders (from a master page), I am repeated getting the Object Expected error.Now I understand why this is happening, asp.net is amending the control names to take into account the CPH i.e. $('#ctl00_ContentPlaceHolder1_radBuyer').attr('checked', true);
How do I go about reslving this issue, effectively 'renaming' my asp.net controls to take this into account?
Error: Microsoft JScript runtime error: Object expected
if (lstRecipient.Items[i].Text == ddlRecipient.SelectedItem.Text) { lstRecipient.Items.RemoveAt(i); isDuplicate = true; ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "AlertAdd", "jAlert('Recipient name is already in the list.', 'Duplicate Entry!');", true); }
I have an asp.net 2.0 web application that will run on the same web servers as SharePoint Server 2007. The application should run in its own App Pool (IIS 6.0). The Web Application needs to call the SharePoint Object model API.
Is there a resource that explains the required configuration / security settings and other considerations? It is possible that I need to make some settings in SharePoint Admin Console itself; aswell as config files. Script files might need to be located in a specific location in order to be accessible. Assemblies may need to be signed.
I can only get partial success running my Web application. But only if it is deployed to a Virtual Directory that resides under the SharePoint Website (in IIS & File system). Even with this setup, I JQuery / Javascript throw errors when accessed (object null); and also images not loading.
I have made some changes to the Web applicaton web.config file which have allowed me to run the application albeit the above mentioned issues with scripts and images (Virtual directory properties also set to allow scripts and executables to run). Ajax functionality appears to work OK.
I m facing some strange issue during uploading and viewing the PDF files on different deployment servers.
My application is running on two servers.
On one server i am saving my PDF file in E drive like "E:\FolderNamefile.pdf" and it is working fine, i can upload PDF and can view all PDF files.
Problem come when i try to change the path of my files in Other Server database
As there is no E drive on other Server so when i try to change the path of my PDF from E drive to D drive as "D:\FolderNamefile.pdf" n try to view my PDF files, i am getting error "Object Expected". but wen i delete that file path and upload the same file again then it is working. Can anyone tell me wuts wrong