extended filter

This public forum is for user-to-user discussions of ASP.NET Report Maker. Note that this is not support forum.

extended filter

Postby eX » Thu Jul 21, 2011 8:40 pm

Hello

i am tring to use extended filter with default value.

-When i put default value = "String" -> it is ok
-When i put default value = "String\String"-> i am getting exception during the page load

****************************************************************************************************************************************************************
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1009: Unrecognized escape sequence

Source Error:



Line 1635: // Field server
Line 1636:
Line 1637: MY_TABLE.server.DefaultDropDownValue = "SARAJDB\ string";
Line 1638: MY_TABLE.server.DropDownValue = MY_TABLE.server.DefaultDropDownValue;


****************************************************************************************************************************************************************


I have to use second case.

Dows any one fixed this problem or it is tool limitacion ?

Thanks
eX
 

Re: extended filter

Postby Webmaster » Fri Jul 22, 2011 9:50 am

"\" is a special character is C#. You need to escape it like "...\\...".
Webmaster
 
Posts: 10734
Joined: Fri Aug 06, 2004 5:59 pm

Re: extended filter

Postby eX » Fri Jul 22, 2011 1:53 pm

Tkank you
eX
 


Return to General Discussion (ASP.NET Report Maker)