Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-09-03
1
Medium Priority
?
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

670 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