Comma or Invalid Expression Continuation Expected

BC32017: Comma, ')', or a valid expression continuation expected.

I am trying to dynamically create a javascript link. But, I get the following  error:  BC32017: Comma, ')', or a valid expression continuation expected.   Here is the line I try creating the link. I'm done staring at it. Can  someone else see what may be the matter. Fresh pair of eyes maybe? Thanks:  <a href='javascript:PopIt(<%# chr(39)  %>java/ipix/ipix-viewer.aspx?FileString=<%#  DataBinder.Eval(Container.DataItem, "[\"FileString\"]") & chr(39) %>, 375,  350)' class="more">            

Re: BC32017: Comma, ')', or a valid expression continuation expected.

Postby clintonG » Fri, 16 Mar 2007 08:23:11 GMT

I'm having similar problems. Let me ask you a question about the FileString  parameter used by the Eval method.   // What are the [ ] brackets for? Are they supposed to be output as text  literals? "[\"FileString\"]"  On the other hand -- my problem -- with the Eval method is writing out a  delineated string of text.   // need this ouput 'Title'  // is not working for me "\'Title\'"  Other than that and to get back to your error message...  I wondered why you wrote the <%#... %>data binding evaluator for chr(39)?  Here's what I have learned. In ASP <%= ...%> was an evaluator for writing  variant data types to the response. Similarly when binding to a control the  data being bound is being cast to a string data type by <%#...%>.   // Have you wrote this way? <a href='javascript:PopIt(java/ipix/ipix-viewer.aspx?                 FileString=<%# DataBinder.Eval(Container.DataItem,                 "[\"FileString\"]") & chr(39) %>, 375, 350)'  class="more">...</a>   <%= Clinton Gallagher          NET csgallagher AT metromilwaukee.com          URL  http://www.**--****.com/            

Similar Threads:

1.BC32017: Comma, ')', or a valid expression continuation expect

2.help - regex validator expression not weeding out commas

i am trying to validate a field for a double, but not allow commas  the regex specifies   any number of whole number digits          [0-9]* no comma                                   [^,]* an optional decimal point                  .? and any number of digits after the decimal [0-9]*  the whole thing looks like this:  [0-9]*[^,]*.?[0-9]*  what am i doing wrong?   as is i am having to use a range validator for double, and give it 0 as the minimum, but i would prefer the regex.  also, can the regex validator be used to "clean" out bad values,  meaning as long as SOME valid characters are in there, it doesn't  generate an error, but when the form is posted, unwanted chars  such as dollar sign and comma are ignored and not posted?   thanks in advance          

3.regular expression for comma delimit

hi all,  i'm trying to retrieve contents that are comma delimited like the following.  aaa, bbb, ccc, ddd  how would my regular expression match string look. also what if there are whitespaces (cr,lf,tab) how would like ignore them ?  aaa(cr,lf, spaces), bbb, ccc.........  thanks,          

4.Regular Expression for comma period dash etc

Hello  I'm new to this Regular Expression and need some help. I want to restrict what the user types in a text box.  The User can type only A-Z, a-z, 0-9, spaces, comma, dash, period, single and double quotes.  If it has anything other than that, I need to display message. How would I do that? Any help is appreciated.  Thanks Sue..          

5.Regular expressions and commas

Hi.  I have a regularexpression validator control on a page. This regular expression validates a textbox to accept only numbers and commas: validationexpression="[\d,]*"  I am trying to modify this expression to not allow commas at the beginning and at the end of the expression without success. It needs to allow commas only between the numbers. How can I do that?  Thanks, Robert Scheer          

6. Split on comma, but not on quote-enclosed comma

7. Compiler Error Message: BC30201: Expression expected.

8. Expression Expected Error in Visual Web Developer 2008.NET whereas works fine in 2005.NET



robinsonhiphell.blogspot.com

Source: http://www.44342.com/dotnet-framework-f72-t17894-p1.htm

0 Response to "Comma or Invalid Expression Continuation Expected"

Enregistrer un commentaire

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel