Why are so many Controls Have a Red Line under it
Here is just one example:
OrderSummaryControl.BindData();
Click on the line Gives me the following
The name 'OrderSummaryControl ' does not exist in the current content
The Control still works as does all the other with redlines and the desiginated help msg of
The name 'OrderSummaryControl ' does not exist in the current content.
But it does not help if I am trying do use the control like in
string t5 = (String) OrderSummaryControl.FindControl("UxQuantityText").ToString();
here I have a red line under OrderSummaryControl and the help msg
The name 'OrderSummaryControl ' does not exist in the current content.
----------------------------------------------------------------------------------------------
here is something in regards to it
The name 'UserName' does not exist in the current context? C# Friends
3 posts - 3 authors - Last post: Aug 14, 2008
The name 'UserName' does not exist in the current context? 1. Left-Click in the "yourUserControl.cs" (solution explorer) ...
www.csharpfriends.com/Forums/ShowPost.aspx?PostID...
Re: The name 'UserName' does not exist in the current context?
Posted: 14 Aug 2008 07:05 PM
The name 'UserName' does not exist in the current context?
1. Left-Click in the "yourUserControl.cs" (solution explorer)
2. Select Properties
3. Change Build Action to "Embededd Resource"