Click here to Skip to main content
15,916,379 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to pass combobox value to chaild page in silverlight ? Pin
swap_ssj9-Jan-12 18:16
swap_ssj9-Jan-12 18:16 
AnswerRe: How to pass combobox value to chaild page in silverlight ? Pin
Abhinav S9-Jan-12 18:30
Abhinav S9-Jan-12 18:30 
QuestionOdd App Shutdown Problem (XP SP3) from .NET4.0 WPF/Prism app Pin
Jammer9-Jan-12 4:12
Jammer9-Jan-12 4:12 
AnswerRe: Odd App Shutdown Problem (XP SP3) from .NET4.0 WPF/Prism app Pin
Jammer9-Jan-12 7:36
Jammer9-Jan-12 7:36 
QuestionSearch text in richtextbox wpf c# Pin
moi4118-Jan-12 23:09
moi4118-Jan-12 23:09 
QuestionWPF Bind Hyperlink To ViewModel Pin
Kevin Marois6-Jan-12 10:37
professionalKevin Marois6-Jan-12 10:37 
AnswerRe: WPF Bind Hyperlink To ViewModel Pin
SledgeHammer016-Jan-12 13:28
SledgeHammer016-Jan-12 13:28 
GeneralRe: WPF Bind Hyperlink To ViewModel Pin
Kevin Marois6-Jan-12 13:35
professionalKevin Marois6-Jan-12 13:35 
GeneralRe: WPF Bind Hyperlink To ViewModel Pin
SledgeHammer016-Jan-12 13:57
SledgeHammer016-Jan-12 13:57 
GeneralRe: WPF Bind Hyperlink To ViewModel Pin
Kevin Marois6-Jan-12 14:18
professionalKevin Marois6-Jan-12 14:18 
Questionrotate usercontrol while loading in wpf Pin
mi_n6-Jan-12 7:14
mi_n6-Jan-12 7:14 
AnswerRe: rotate usercontrol while loading in wpf Pin
Mycroft Holmes6-Jan-12 20:23
professionalMycroft Holmes6-Jan-12 20:23 
AnswerRe: rotate usercontrol while loading in wpf Pin
Abhinav S8-Jan-12 3:40
Abhinav S8-Jan-12 3:40 
Questioncontrol is not accessible in code behind Pin
SRKSHOME5-Jan-12 4:06
SRKSHOME5-Jan-12 4:06 
AnswerRe: control is not accessible in code behind Pin
SledgeHammer015-Jan-12 5:02
SledgeHammer015-Jan-12 5:02 
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 

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.