Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > error - Could not lod in Design View

Reply
Thread Tools

error - Could not lod in Design View

 
 
buran
Guest
Posts: n/a
 
      05-05-2004
Dear Programmers,

In Visual Studio .NET HTML View screen, I add the following code snippet and
receive the error "Could not lod in Design View" and cannot go back to the
design view. How can I get rid of this? Thanks in advance...

<a href="javascript:showSPInfo('<%# GetSPID(Databinder.Eval(Container,
"DataItem.SPName")) %>')">View</a>


Buran


 
Reply With Quote
 
 
 
 
buran
Guest
Posts: n/a
 
      05-06-2004
Thanks Suresh, the correct format is as following:

<a href='javascript:showSPInfo(<%# GetSPID(Databinder.Eval(Container,
"DataItem.SPName")) %>)'>View</a>

Buran


"Suresh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> <a href="javascript:showSPInfo('<%# GetSPID(Databinder.Eval(Container,

"DataItem.SPName")) %>')">View</a>
>
> ASP.NET designer doesn't like it when you nest double/single quotes with

in a property setting.
>
> Try the followin and see if it helps.
>
> <a href=javascript:showSPInfo('<%# GetSPID(Databinder.Eval(Container,

"DataItem.SPName")) %>')>View</a>
>
> Suresh.
>
> ----- buran wrote: -----
>
> Dear Programmers,
>
> In Visual Studio .NET HTML View screen, I add the following code

snippet and
> receive the error "Could not lod in Design View" and cannot go back

to the
> design view. How can I get rid of this? Thanks in advance...
>
> <a href="javascript:showSPInfo('<%#

GetSPID(Databinder.Eval(Container,
> "DataItem.SPName")) %>')">View</a>
>
>
> Buran
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Could Not Open With Design View =?Utf-8?B?UmFlZCBTYXdhbGhh?= ASP .Net 12 03-13-2005 07:14 AM
Problem with Could not open in Design view. Maziar Aflatoun ASP .Net 1 06-04-2004 04:34 PM
Help: Could not open aspx page in Design View =?Utf-8?B?RG9ubmll?= ASP .Net 1 02-09-2004 10:51 PM
could not open design view??? Davef ASP .Net 1 10-17-2003 04:41 PM
Wierd error when going to Design View from HTML view VB Programmer ASP .Net 1 07-10-2003 03:20 PM



Advertisments