Solved

ASp.Checkbox in Grid view + asp.net/vb.net

Posted on 2011-09-03
1
226 Views
Last Modified: 2012-06-27
I am getting the following error.  Cannot figure , what is this error, which character is not valid. Urgently rneeded to figure it out.

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: BC30037: Character is not valid.

Source Error:

 

Line 39:                      <HeaderTemplate>Aktiver/ deaktiver</HeaderTemplate>
Line 40:                      <ItemTemplate>
Line 41:                       <asp:CheckBox ID="chkActiveVoucherSeries" runat="server"  AutoPostBack="true" OnCheckedChanged="chkStatus_OnCheckedChanged"
Line 42:
Line 43:                       Checked='<%# Convert.ToBoolean(Eval("Aktiv")) %>'
 

Source File: D:\Utvikling\ProvisoWebCon\Web\Events\Admin\ActivateVoucherSeries.aspx    Line: 41

0
Comment
Question by:Ammar Iqbal
1 Comment
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 500 total points
ID: 36479272
I think that it is on this line:
<HeaderTemplate>Aktiver/ deaktiver</HeaderTemplate>

I believe that you would want to put the text in a label if you want to display it as your header.
<HeaderTemplate><asp:Label ID="lblHeader" runat="server" text="Aktiver/ deaktiver" /></HeaderTemplate>
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now