Solved

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

Posted on 2011-09-03
1
232 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Disable extension 8 38
Regular expression help 2 25
REXEX help Part 2 2 25
Client Validating 2 date fields, required & comparison 1 27
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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