Cannot Find Typenames ("cannot Resolve Symbol")?
Jan 30, 2010
I have a site in ASP.NET using Telerik AJAX controls.Despite the latest binary being added to the website project, my code (eg myRadGrid.Datasource = "";) shows a red line on type names as they cannot be found for some reason.possibly explain why or have experience in this sort of problem?
View 2 Replies
Similar Messages:
Jan 19, 2010
I am currently localizing my MVC website, using the Html.Encode method.
I've got a global resouce named "Localization" and using it by e.g. <%= Html.Encode(Resources.Localization.FirstName) %>
When compiled and viewing in the browser it works perfectly, but in VS 2008 Development Edition it marks it red and displays Cannot resolve symbol 'Resources' when hovering it.
View 3 Replies
Apr 4, 2011
Using VS2008 and R# 5 I'm running into an odd situation, where on an aspx page I keep getting
Cannot resolve symbol 'symbolname'
But the code compiles and runs fine. While having a fix for this would be great, I'm just trying to figure out if I'm losing my mind.
The CodeFile directive and Inherits directives are fine. If I compile the app or just let devenv sit for a bit it'll go away, but as soon as I save the aspx [via ctrl+s] R# suddenly has trouble with the Inherits attribute and flips out on every method in the page (OnClick etc).
// Anonymized of course but otherwise intact
<%@ Page AutoEventWireup="true" CodeFile="TestPage.aspx.cs" Inherits="TestPage" Language="C#" MasterPageFile="~/MasterPage.master" Title="Test Page Title" %>
This is mostly just a grievance, because since the code compiles it doesn't stop me from doing what I need.
I would post a bug report to the JetBrains site but first I would like to know I'm not alone. It could be my machine. Maybe when I roll to VS2010 in a couple weeks this will go away?
View 1 Replies
Apr 4, 2011
I just installed SP1 for VS2010, and since then I get error messages from Resharper for stuff that used to work and be ok for Resharper (5.1) before.
The error messages are "Cannot resolve symbol 'Eval'" and some other methods other than Eval.
How do I solve this?
Is there a fix?
Is there some resharper cache that I must delete/clear?
(The code compiles and runs as usual)
View 2 Replies
Nov 13, 2010
This is a head-scratcher. I've got two projects open. In one of them I have no trouble incorporating DesignTimeResourceProviderFactory but in the second project I get the above error. Adding using System.Web.UI.Design does no good; "Design" is red and the rest is grayed out. No problem importing System.Web.UI though.
View 1 Replies
May 2, 2010
I was working with the previous version of the AjaxControlToolkit (I had the source project in my solution, just in case I needed to debug something) and everything worked ok, now I've downloaded the lastest build (40412) and I've choosen to remove that project and only use the binaries (of 40412). I added this line in the web.config (inside <controls>) to have it prepared for all the pages, and avoid the need to use the @register in each one of them <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxtoolkit"/>
Now, only have the binaries I think I should used
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
and inside <assemblies> this line
<add assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
I don't know what should I write as PublicKeyToken, I'm getting Cannot resolve symbol 'AjaxControlToolkit' and, of course, my UserControls that use the AjaxControlToolkit are giving me error.
View 13 Replies
Apr 22, 2010
i have the following variable:
[Code]....
View 3 Replies
Mar 15, 2010
I'm trying to create an XmlReader class instance to read an xml file. However I pass it a url for the xml file but it isn't resolved. what do I have to do to get the proper url?
[Code]....
View 6 Replies
Jan 7, 2010
I want to generate an overview for the user where he can see all columns in a table.Format is like:
columname | comlumntypecode | columntypename
Where I'm assuming that a column of type int must have some sort of typecode, e.g. 7
For example:
firstname | 4 | nvarchar(30)
lastname | 4 | nvarchar(50)
birthdate | 5 | datetime
uuid | 9 | uniqueidentifier
What is the SQL to get such a result?
View 3 Replies
Feb 23, 2011
I'm Using Ajax Accordion i want Collapsed Panes Start with "+" Symbol and When It Expanded Change That Symbol to "-" When Collapsed Again Start with + .... and Continue like that...
Note : I'm Using Header Tempalte and Content Template and Pass Data Source to it.
View 5 Replies
Mar 27, 2011
The URL link below will open a new Google mail window. The problem I have is that Google replaces all the plus (+) sign in the email body with blank space. It looks like it only happens with the + sign. ( I am working the ASP.NET web page)
[URL]
(In the body email, "Hi there+Hello there" will show up as "Hi there Hello there")
View 2 Replies
Apr 4, 2011
I have a field that I display via:
String.Format({0:c},amount)
This produces the string "$28.28" However, when I try to convert back to a decimal amount, I get an incorrect format exception:
amount = Decimal.Parse(amount.Text, NumberStyles.Currency)
I also tried it with NumberStyles.AllowCurrencySymbol with the same results. I verified that the value in amount.Text is "$28.28". Am I missing something? Shouldn't these two operations use the same currency symbol and formats?
View 2 Replies
Mar 17, 2011
i want to show a menu in some pages.
the menu is build from db with repeater
[code]....
when i am in "folder/page1.aspx" all the link are ok [URL]. when i'm in a folder "folder/folder2/page1.aspx" the links are [URL]
UPDATED:
i change it to
<a href="<%# VirtualPathUtility.ToAbsolute("~/admin/"+(string)Eval("TD_PageName"))%>"><%# Eval("TD_Name")%></a>
View 2 Replies
Jun 15, 2010
In my web application I am using NHibernate.dll. This has a dependency on folowing assembly.
'Antlr3.Runtime, Version=3.1.0.39271,
Culture=neutral,
PublicKeyToken=3a9cab8f8d22bfb7'
Now in the same project for another requirement I have to introduce Antlr3.StringTemplate.dll. Which has a dependency on another version of the above assembly.
If I use the version of Antlr3.Runtime.dll which satisfies NHibernate , Antlr3.StringTemplate starts complaining and vice-versa.
View 4 Replies
Jan 28, 2010
I have a facade class that my controller class calls out to and in that facade class, for whatever reason, I'm building a string a href element. And it resolves fine in casini but when it gets out in the real world like localhost it doesn't work. Is there a way to do this?
string goBackLinkForErrorMessage = "<br /><a href='/MyController/Action?id=" + blah + "'>Go Back</a>";
View 1 Replies
Mar 11, 2011
I am using CultureInfo methods to successfully format all different currencies into their correct format.
But on some exceptions, such as EUR and SEK currencies I need to be able to add them after the value. At the moment my CultureInfo is formatting them in the following way: "SEK 1.00,00" when it needs to be "1.00,00 SEK".
View 2 Replies
May 31, 2010
Im wondering how I can display a Euro symbol in UTF-8 Format ?
View 2 Replies
Apr 10, 2010
I used the culture in my project. i want currency format only. i dont' want to shows the currency symbol.
View 3 Replies
Feb 3, 2011
I am writing a dynamic control that I want to pass in something along the lines of the following:
HyperLink myLink = new HyperLink();
myLink.NavigateUrl = "/Home.aspx?id=<%= DataBinder.Eval("PageId") %>";
myLink.Text = "The link";
myControl.Controls.Add(myLink);
I want to be able to resolve the myLink.NavigateUrl at run-time according to the context that myControl puts the control into in the end (this is not a WebControl and therefore adding to the collection of controls doesn't output to page).
View 2 Replies
Jan 27, 2011
I want the html text back from symbol. I paste here the sample code.
<script type = "text/javascript" >
$(document).ready(function() {
$('#button1').click(function() {
[code]...
View 10 Replies
Apr 9, 2010
I m receiving the following error when adding toolkitscriptmanager to my asp.net, thus i have installed all the needed dll's and if i create a new solution and use them it will work perfectly but if i add them to an exsting project it is giving me this errormoreover if i will run the application it will run without errors but the problem is if i add any new asp control likt textbox will not be available in the code behind but wheni remove the toolkitscriptmanager it works fine VS 2008 if any one know what is the solution
View 3 Replies
Sep 15, 2010
Hey I have the follow email validation expression
^[w-.]+@([w-]+.)+[w-]{2,4}$
What I am looking for is for email addresses to be allowed which have a "+" before the @ part of the email cheers
View 2 Replies
Jun 18, 2010
I am running an aspx page and keep getting this following error
[code]...
I am having issues trying to resolve this as the aspx page only has 129 lines and the vb page behind only has 28 lines. Can any point me in the right direction to track this error down
View 7 Replies
May 31, 2010
Im trying to find out how to transform euro symbolto UTF-8 Format.
What does this even look like ?
Ideally I would like to go
String.Replace("€","UTF-8 Symbol for Euro")
View 3 Replies
May 7, 2015
I need Indian rupee symbol in TextBox ...
View 1 Replies