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:
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?
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.
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.
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.
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 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:
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
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 have just deployed my ASP.NET/C# code to a sharepoint server and am getting this error when hoving over the menu:Menu_HoverRoot(this) Object ExpectedI have absolutely no idea what is causing it, but have seen other people with this problem, and it seems to be something with WebResource.axd.
I am getting the following error "Microsoft JScript runtime error: Object expected" when I try to set a property for a webdatagrid using javascript. I have the following code in the head of my Report.aspx web page. Would anyone know what I'm doing wrong?
<script type="text/javascript"> var mygrid = $find("gvResults"); Mygrid._callbackManager.setTimeout(60000); </script>