error - Could not lod in Design View

Discussion in 'ASP .Net' started by buran, May 5, 2004.

  1. buran

    buran Guest

    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
    buran, May 5, 2004
    #1
    1. Advertising

  2. buran

    buran Guest

    Thanks Suresh, the correct format is as following:

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

    Buran


    "Suresh" <> wrote in message
    news:...
    > <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
    >
    >
    >
    buran, May 6, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    1
    Views:
    592
    VB Programmer
    Jul 10, 2003
  2. Davef

    could not open design view???

    Davef, Oct 17, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    360
    Marina
    Oct 17, 2003
  3. =?Utf-8?B?RG9ubmll?=

    Help: Could not open aspx page in Design View

    =?Utf-8?B?RG9ubmll?=, Feb 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,701
    dm_dal
    Feb 9, 2004
  4. Maziar Aflatoun

    Problem with Could not open in Design view.

    Maziar Aflatoun, Jun 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    364
    John Saunders
    Jun 4, 2004
  5. =?Utf-8?B?UmFlZCBTYXdhbGhh?=

    Error: Could Not Open With Design View

    =?Utf-8?B?UmFlZCBTYXdhbGhh?=, Mar 9, 2005, in forum: ASP .Net
    Replies:
    12
    Views:
    956
    Ken Dopierala Jr.
    Mar 13, 2005
Loading...

Share This Page