Hello ,
When I run my application in Visual Studion everthing works ok.
But when I publish to our web server i get the error
Compiler Error Message: CS0030
I am trying to open a popUP window with the following code
<a href="javascript:OpenCalendar('<%= txtBedpAdmissionDate.ClientID %>',
true)">
----------------------------------------------------------
function OpenCalendar(idname, postBack)
{
popUp = window.open('Calendar.aspx','Calendar',
'width=235,height=278,left=200,top=250');
}
------------------------------------
The page load of 'Calendar.aspx has been emptyed , there is no code in there.
Any help would be great
--
Life in the sun 3 3427
Hello,
If you open the "calendar.aspx" directly in browser, will you also get the
error? And, if you use the same code to show another page, like:
popUp = window.open('SomePage.htm','Calendar',
'width=235,height=278,left=200,top=250');
What will be the result?
Besides error code "CS0030", is there any other error message like "cannot
convert type....."?
Thanks,
Luke Zhang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Luke,
Thanks for the reply.
I Think I Found the problem.
It was the name of the ASPX file "Calendar"
Changed the name to MyCalendar and it worked ok.
I think .net was trying to convert the page into the Calendar Control !!!
this caused the type mismatch error
--
Life in the sun
"Luke Zhang [MSFT]" wrote: Hello,
If you open the "calendar.aspx" directly in browser, will you also get the error? And, if you use the same code to show another page, like:
popUp = window.open('SomePage.htm','Calendar', 'width=235,height=278,left=200,top=250');
What will be the result?
Besides error code "CS0030", is there any other error message like "cannot convert type....."?
Thanks,
Luke Zhang Microsoft Online Community Support
================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ==================================================
(This posting is provided "AS IS", with no warranties, and confers no rights.)
Thank you for the sharing. This hint may help someone who encounter similar
issues.
Thanks,
Luke Zhang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jon morgan |
last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random
compiler errors.
I have raised this issue in posts at least three time in the past couple of
months without attracting...
|
by: Neil Zanella |
last post by:
Hello,
Allow me to share my frustrations with GNU g++. This is the second
time something similar happens to me: I can't find anything wrong with
my C++ program and yet I get segfaults, and...
|
by: pj |
last post by:
(Was originally, probably wrongly, posted to the vc subgroup.)
(This doesn't appear to be a c# problem, but a problem with a bug in
the Visual Studio c# compiler, but, any help will be welcome...)...
|
by: rollasoc |
last post by:
Hi,
I seem to be getting a compiler error
Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is
'BIND'.
An internal error has occurred in the compiler. To work around...
|
by: Mark Rockman |
last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------
Preparing resources...
Updating references...
Performing main compilation...
error CS0583: Internal Compiler Error...
| |
by: David Sworder |
last post by:
Consider the following line of code (it's not important what it does):
resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase);
It turns out that this line is in error. The...
|
by: keithb |
last post by:
A web site published from its development environment (VS Web Server) to an
IIS 6.0 site displays this message:
Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to...
|
by: keithb |
last post by:
This application works without error in the development environment using
the VS web server. When I publish the site to my IIS 6.0 server, I get this
error at runtime when I open the Change...
|
by: nomad |
last post by:
Hi,
When trying to serialize a class I keep getting the message below.
optionalExtensionTypeOptionalExtension is not mandatory so not sure
why this is appearing.
If anyone has seen this type...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |