Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Mango #1
Design view problem
Hi there,
I can't understand why when I write this text (part of datalist)
onclick="javascript: changeImage('<%# DataBinder.Eval(Container.DataItem,
"imageName") %>');"
Working perfectly, but when I click design view in vs.net 2003 it tells me
"Could not open in design view. Quote values differently inside a '<% :"
value":%>'block"
I will be happy if someone can explain me why this is happen.
Mango Guest
-
ssi in design view
I just upgraded to CS3. In Dreamweaver, my ssi files will only appear in code view. In the old MX version, you needed to add the ssi extension to... -
XSL and design view
I REPOST this, is there no body who can help ?? Its really VERY VERY annoying ! I must add that also the small tags dw puts if things like... -
DW Split View - Design View
When working in DW in Split View, when the user clicks into the Design View window the view automatically updates the view if code view has changed.... -
WebControl Design View Persist Problem
I'm having some weird things happen in design view while editing a custom collection - I've been at this for about 4 weeks now, and have tried all... -
Wierd error when going to Design View from HTML view
When I go from HTML view (in a webform) to Design View I get the following error: Could not open in Design view. Quote values differently inside a... -
Nick Goloborodko #2
Re: Design view problem
Hi,
Well from a quick examination of your code i can see this: you have '"'
character which is enclosed in '"' characters. So, as far as i can
understand, you are getting parser error, because from parsers perspective
the 'onclick' attribute has the following value: onclick="javascript:
changeImage('<%# DataBinder.Eval(Container.DataItem,"
As you can see this is hardly valid syntax and hence you are getting the
error that you are getting (or so i think - i can vaguely recall a similar
error a while back).
As for the solution, I'm going to take a shot in the dark here - try
replacing it with the following: onclick="javascript: changeImage('<%#
DataBinder.Eval(Container.DataItem, 'imageName') %>');"
Once again, I'm not sure if that will sole the problem - but do give it a
try (and please tell me if that works :)
Kind regards,
Nick Goloborodko
[url]http://nickgoloborodko.com[/url]
Mango wrote:
--> Hi there,
>
> I can't understand why when I write this text (part of datalist)
>
> onclick="javascript: changeImage('<%# DataBinder.Eval(Container.DataItem,
> "imageName") %>');"
>
>
>
> Working perfectly, but when I click design view in vs.net 2003 it tells me
> "Could not open in design view. Quote values differently inside a '<% :"
> value":%>'block"
>
> I will be happy if someone can explain me why this is happen.
Kind regards,
Nick Goloborodko
[url]http://www.nickgoloborodko.com[/url]
Nick Goloborodko Guest



Reply With Quote

