Solved

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

Posted on 2011-09-03
1
245 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 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 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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

630 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