Could not open in Design View. Quote values differently inside a '<% .." Value" ...% > block

 iam using the following code

 <asp:TemplateColumn HeaderText="Applicant Code">
<a href="javascript:var w'ResumeText.aspx?appcode=<%# ((DataRowView)Container.DataItem)["ApplicantId"]%>');"><%# ((DataRowView)Container.DataItem)["ApplicantId"]%></a>

It is giving error when i switch to design view as Could not open in Design View. Quote values differently inside a '<% .. Value" ...% > block.

I have tried all combinations of single quotes and double quotes but the error shows.

The program works fine when executed, only in design view the error shows.

Can anyone suggest the correct code.

Any comments and suggestions are wqelcome

Thanks in advance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

what version of the framework and visual studio are you using
I found a lot of design view issues were gone since .NET 1.1 and VS2003
pradeepyAuthor Commented:
Iam using .net version 1.0 and vs2000

I've seen loads of design view issues with those and virtually all are gone since I'm using 1.1 and vs2k3, if you have a possibilty to try them out, please do so

you can download the 1.1 framework from microsoft and vs.NET time limited demo's are available too
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Hi pradeepy,

try using this:
                        HeaderText="Applicant Code"

Please remove semicolon (;)  which u specified in below line.
<a href="javascript:var w'ResumeText.aspx?appcode=<%# ((DataRowView)Container.DataItem)["ApplicantId"]%>')
"><%# ((DataRowView)Container.DataItem)["ApplicantId"]%></a>

note : i put enter to specify ; clearly

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.