Compiler Error Message: CS1026: ) expected

Hi,
I am new to ASP.Net. I developed a page using ASP.Net (C#). I got the follwing error, here it is along with the code.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1026: ) expected

Source Error:

Line 54: 										</div>
Line 55: 									</div>
Line 56: 									<div class="ddot_app_right_area_tools_print"><asp:imagebutton id="PRINT" onclick="window.print();" Runat="server" AlternateText="" ImageUrl="../img2/print_icon.gif"
Line 57: 											Height="24" Width="24"></asp:imagebutton></div>
Line 58: 									<div class="ddot_app_right_area_tools_help"><asp:imagebutton id="HELP" onclick="comingSoon();" Runat="server" AlternateText="" ImageUrl="../img2/question_mark.gif"

Source File: http://localhost/WEPS/Pages/EWRPermits.aspx    Line: 56
Here is my Code:

<div class="ddot_app_right_area_tools_print"><asp:imagebutton id="PRINT" onclick="window.print();" Runat="server" AlternateText="" ImageUrl="../img2/print_icon.gif" Height="24" Width="24"></div>

<div class="ddot_app_right_area_tools_help"><asp:imagebutton id="HELP" onclick="comingSoon();" Runat="server" AlternateText="" ImageUrl="../img2/question_mark.gif" Height="20" Width="21"></asp:imagebutton></div>

I appreciate any help.


Thanks.
Srini
 
0
SriASP
11/21/2005 4:08:16 PM
asp.net.getting-started 91979 articles. 2 followers. Follow

3 Replies
426 Views

Similar Articles

[PageSpeed] 12

take out the onclick once and see what happens.
You need to narrow down the potential cause(s).
0
Curt_C
11/21/2005 5:14:07 PM

hi ,

hey why that all .

u don't need to make your control runat=server to print the page u can do it by client script simply by :

<a href="#" onclick="window.print()"><img src="your image source " > </a>

that's it

 

but to attach a client script to a server control you should right in the page load event the following

yourcontrol.attributes.add("onclick",your javascript function )
thnx
ahmed Smile [:)]


Ahmed El Noby
Senior Web Developer
MCP,MCTS
0
ahmed_elnoby
11/22/2005 3:52:32 PM

Hi,

Thanks for the information. Your suggestion(s) were helped me to fix the problem.

 

--Srini

0
SriASP
12/13/2005 10:03:51 PM
Reply:

Similar Artilces:

Compiler Error Message: CS1026: ) expected #2
Hi I hope someone can help with a compiler error message as follows   <asp:HyperLink ID="HyperLink1" runat="server" Height="29px" NavigateUrl='<%# String.Format("Eval("Hyper")?Telecomitaccno={0}&BUSINESSSTREAM={1}&Dealer={2}", Eval("Telecomitaccno"), Eval("BusinessStream"), Eval("Dealer")) %>' The hyperlink is designed to evaluate a hyperling value from a table and then navigate to it carrying forward three items of information. The hyperlink works carrying the three pieces o...

I Get this error : Compiler Error Message BC30002.
Hi everybody, i'm working on a project and works fine in my local server, but when i try to public into the production server, doesn't works i get this error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30002: Type 'ClsDataAccess' is not defined.Source Error:  Line 3: Partial Class Presentacion_MasterPageLine 4: Inherits System.Web.UI.MasterPageLine 5...

Compiler Error Message: CS1026: ) expected
Hello,I have a simple web form that runs on a windows 2003 server with the 2.0 .NET framework but when I move the app over to a Windows 2000 server running the 1.1 framework it gives me a strange error. If it's not something specific with that then it may be the COM component I'm calling but I was hoping I could get a hand debugging this. I've looked at a lot of other posts with similar error messages but those all seem to point to inline ASP with a # between the <% %> tags. I do call this page from a javascript function below but it's just a window.open.On the Windows ...

while compiling getting error as : error: expected �=�, �,�,
Hi, I am using gcc (GCC) 4.2.1 (SUSE Linux). SUSE 10.3 While compiling a .c file I get following error Configuration.h:70: error: expected �=�, �,�, �;�, �asm� or �__attribute__� before �extern� can anybody tell me ways to sort out such problems. Thanks -- prabhat_singh ------------------------------------------------------------------------ Correct the error in your program. -- ken_yap ------------------------------------------------------------------------ ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221 View this thread: htt...

Compiler Error Message: CS1003: Syntax error, ':' expected
hent..." : "slett..."%>Hi, i have error in the belowed statement. It says " CS1003: Syntax error, ':' expected" If any body help me, It would be grateful.. Thanks in advance.   Compiler Error Message: CS1003: Syntax error, ':' expectedSource Error: Line 28: <td style="border:1;"><%# Eval("Person")%></td> Line 29: <td style="border:1;"><%# Eval("ass")%></td> Line 30: ...

I get a Compiler Error Message
CS0012: The type 'System.Web.UI.ScriptManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.   Here is how this happened, I wanted to add an ajax CalenderExtender to a project and then i saved project and from the IIS i ran it , and i got the previous error, i have everything in place all the dll references in the project and in the toolbox are fine and everything ran perfectly before.  All the projects that were running be...

Compiler Error Message: The compiler failed with error code1.
 Hi all, I just installed the software which was fine and no errors... when i went to run it first time at local host it came up with the following error... anyone know what this means?? I have created different ASP.NET projects and it runs no problem... Regards Sicose Server Error in '/PortalVBSDK' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed...

Compiler Error Message: The compiler failed with error code 128
I recently installed the .net framework 1.1 to one of my IIS servers. I have been running the .net and some of the starter kits on my dev box and it works just great. In addition to trying the time tracking starter kit (which also works great on my dev box), I have tried a very simple test.aspx page. I would appreciate any help or direction on what to do about this. I am new to .net and not even sure what to try to resolve this problem Thanks in advance. -Bob Server Error in '/TTWebVBVS' Application. ----------------------------------------------------------------------...

Compiler Error Message: The compiler failed with error code 128.
 I have deployed my website to a server hosted by a hosting company. (WebHost4life). I keep getting an error message when I try to access the web application via the assigned URL. Does anyone know what the problem is? Why am I getting this error message and how do I fix it? Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code 128...

Deploy new website - getting error
This works fine on my development machine - I have deployed it to an IIS 6 machine.  I am getting: Compiler Error Message: CS0246: The type or namespace name 'IBindableControl' could not be found (are you missing a using directive or an assembly reference?)Source Error: Line 492: private static void ExtractValuesFromBindableControls(IOrderedDictionary values, Control container) Line 493: { Line 494: IBindableControl control = container as IBindableControl; Line 495: if (control != null) Line 496: { IBindableControl ...

Retrograding httpHandler from .NET 2.0 to 1.1, get "Parser Error Message: Could not create type" message
Hi there,I have written a httpHandler using VS2005 and .NET 2.0 that builds and works fine.However, I am now having to convert it to .NET 1.1, which I hoped would just be a case of changing the runtime used by the web app (as in running the 1.1 version of aspnet_regiis, with a "-s" switch pointing at my web apps folder). After doing this though (and fixing a few minor differences with web.config), if I then navigate to my handler I get the following error message:Server Error in '/Path/To/MyWebApp' Application.Parser ErrorDescription: An error occurred during the parsing of...

Compiler Error Message: The compiler failed with error code -1073741502
Hi all, I am posting this just in case this information is useful for other people. I have an ASP.Net page created with VS2005 worked perfectly when running in release mode, but it consistently gave me the following error when running in debug mode within VS2005: Compiler Error Message: The compiler failed with error code -1073741502  The problem was solved after restarting VS.Hong Hi, I appreciate that you share your experience here. Thanks, ThomasThomas SunMicrosoft Online Community SupportPlease remember to click “Mark as Answer” on the post that helps you, and to click...

Web resources about - Compiler Error Message: CS1026: ) expected - asp.net.getting-started

Compiler - Wikipedia, the free encyclopedia
... , or external linking . The most common reason for wanting to transform source code is to create an executable program. The name "compiler" ...

Compiler - Wikipedia, the free encyclopedia
"Compile" and "compiling" redirect here. For the software company, see Compile (publisher) . For other uses, see Compilation . This article has ...

Facebook Open-Sources HipHop PHP Compiler Software
Earlier this morning, Facebook officially made their new PHP “compiler,” called HipHop, available as open source software. In the blog post by ...

Art in the Age of Matter Compilers
jurvetson posted a photo: Sheba may be the harbinger of art in the digital age — a mathematical sculptor with digital matter. She manipulates ...

Interpreters and Compilers (Bits and Bytes, Episode 6) - YouTube
This animation explains the difference between interpreters and compilers. It is from Episode 6 of the classic 1983 television series, Bits and ...

Typesafe cofounder forking Scala compiler
The main contributor to the Scala compiler, Paul Phillips, has announced on GitHub that he is forking the compiler to “fix some of the innumerable ...

Does Apple's new developer agreement ban Adobe's Flash-to-iPhone compiler?
Given that any kind of formal truce between Apple and Adobe was essentially blown out of the water by Steve Job's very public slating of Flash ...

Apple seeds devs with Safari 5.2 for Lion, Xcode 4.4 with new LLVM compiler
... to the general public this summer. Among the new features: According to Apple, Xcode 4.4 includes an editor for Collada 3D files, compiler support ...

NVIDIA and Continuum Analytics Announce NumbaPro, A Python CUDA Compiler
... are announcing that they are bringing Python support to CUDA. Specifically, Continuum Analytics’ will be introducing a new Python CUDA compiler, ...

IntelliJ Releases IDEA 12, Brings Improved UI, New Compiler Mode, Android UI Designer, And More
I'm not going to pretend to be a developer here, and I'll openly admit that the bulk of what IDEA 12 does is over my head. However, I do understand ...

Resources last updated: 1/14/2016 4:28:17 PM