Click here to Skip to main content
15,894,955 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: control is not accessible in code behind Pin
SRKSHOME5-Jan-12 18:51
SRKSHOME5-Jan-12 18:51 
GeneralRe: control is not accessible in code behind Pin
SledgeHammer016-Jan-12 4:50
SledgeHammer016-Jan-12 4:50 
GeneralRe: control is not accessible in code behind Pin
SRKSHOME9-Jan-12 3:21
SRKSHOME9-Jan-12 3:21 
AnswerRe: control is not accessible in code behind Pin
manognya kota5-Jan-12 23:45
manognya kota5-Jan-12 23:45 
GeneralRe: control is not accessible in code behind Pin
Pete O'Hanlon5-Jan-12 23:55
mvePete O'Hanlon5-Jan-12 23:55 
GeneralRe: control is not accessible in code behind Pin
manognya kota6-Jan-12 0:07
manognya kota6-Jan-12 0:07 
QuestionParse string not working Pin
Dammie25-Jan-12 2:29
Dammie25-Jan-12 2:29 
AnswerRe: Parse string not working Pin
Pete O'Hanlon5-Jan-12 2:48
mvePete O'Hanlon5-Jan-12 2:48 
Well, there are a few things you need to understand.

1. This forum is for WPF/Silverlight. What you posted should be dealt with in the C# forum.
2. You haven't supplied any strings to parse. The values in the Parse methods are numeric already, and Parse expects a string.
3. When parsing a string to a number, you are better off using TryParse instead - just in case the string contains crap.
4. Your post seems to indicate that you are trying to convert a long/int to a string. This can be done simply by calling ToString() on the value, or convert it with the (string) converter. Here's an example:
C#
private string GetValue(int value)
{
  return (string)value;
}

Forgive your enemies - it messes with their heads

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


QuestionWPF ListBox With Radio Buttons Pin
Kevin Marois4-Jan-12 18:33
professionalKevin Marois4-Jan-12 18:33 
AnswerRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 5:01
SledgeHammer015-Jan-12 5:01 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 5:39
professionalKevin Marois5-Jan-12 5:39 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 6:37
SledgeHammer015-Jan-12 6:37 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 7:26
professionalKevin Marois5-Jan-12 7:26 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 7:54
SledgeHammer015-Jan-12 7:54 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 8:09
professionalKevin Marois5-Jan-12 8:09 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 8:16
SledgeHammer015-Jan-12 8:16 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 8:18
professionalKevin Marois5-Jan-12 8:18 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 8:22
professionalKevin Marois5-Jan-12 8:22 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 8:30
SledgeHammer015-Jan-12 8:30 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 11:09
professionalKevin Marois5-Jan-12 11:09 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 11:18
SledgeHammer015-Jan-12 11:18 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 11:34
professionalKevin Marois5-Jan-12 11:34 
QuestionListbox / Button Text update Pin
Member 84777754-Jan-12 12:05
Member 84777754-Jan-12 12:05 
AnswerRe: Listbox / Button Text update Pin
SledgeHammer014-Jan-12 12:35
SledgeHammer014-Jan-12 12:35 
GeneralRe: Listbox / Button Text update Pin
Member 84777754-Jan-12 12:40
Member 84777754-Jan-12 12:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.