Click here to Skip to main content
15,904,023 members
Home / Discussions / C#
   

C#

 
GeneralRe: Strange Question.. Pin
Corinna John14-Oct-03 19:52
Corinna John14-Oct-03 19:52 
GeneralRe: Strange Question.. Pin
hammackj15-Oct-03 3:22
hammackj15-Oct-03 3:22 
GeneralRe: Strange Question.. Pin
Randhir Sinha15-Oct-03 3:51
Randhir Sinha15-Oct-03 3:51 
GeneralRe: Strange Question.. Pin
hammackj15-Oct-03 4:02
hammackj15-Oct-03 4:02 
GeneralRe: Strange Question.. Pin
Corinna John15-Oct-03 7:23
Corinna John15-Oct-03 7:23 
GeneralIDocHostUIHandler and WebBrowser Context Menu Pin
J. Dunlap14-Oct-03 18:14
J. Dunlap14-Oct-03 18:14 
GeneralSolved! Pin
J. Dunlap14-Oct-03 18:41
J. Dunlap14-Oct-03 18:41 
GeneralRe: Solved! Pin
w1424319-Jul-04 20:32
w1424319-Jul-04 20:32 
GeneralImageList in a TreeView -- Pin
Blaise L'amort14-Oct-03 13:02
Blaise L'amort14-Oct-03 13:02 
QuestionBinaryReader/Writer at same time? Pin
Joe Woodbury14-Oct-03 11:12
professionalJoe Woodbury14-Oct-03 11:12 
AnswerRe: BinaryReader/Writer at same time? Pin
Corinna John14-Oct-03 19:55
Corinna John14-Oct-03 19:55 
GeneralRe: BinaryReader/Writer at same time? Pin
Joe Woodbury15-Oct-03 4:26
professionalJoe Woodbury15-Oct-03 4:26 
GeneralI used to use ResourceStrings Pin
Anders Molin14-Oct-03 9:46
professionalAnders Molin14-Oct-03 9:46 
GeneralRe: I used to use ResourceStrings Pin
Ranjan Banerji14-Oct-03 10:19
Ranjan Banerji14-Oct-03 10:19 
GeneralRe: I used to use ResourceStrings Pin
rod termaat15-Oct-03 5:11
rod termaat15-Oct-03 5:11 
GeneralEventHandler Pin
Matias Szulman14-Oct-03 9:31
Matias Szulman14-Oct-03 9:31 
GeneralRe: EventHandler Pin
Meysam Mahfouzi14-Oct-03 17:52
Meysam Mahfouzi14-Oct-03 17:52 
QuestionWhich XML format should I use? Pin
Alvaro Mendez14-Oct-03 9:23
Alvaro Mendez14-Oct-03 9:23 
AnswerRe: Which XML format should I use? Pin
Ryan_Roberts14-Oct-03 9:48
Ryan_Roberts14-Oct-03 9:48 
GeneralRe: Which XML format should I use? Pin
David Stone14-Oct-03 13:16
sitebuilderDavid Stone14-Oct-03 13:16 
AnswerRe: Which XML format should I use? Pin
Nick Parker15-Oct-03 15:46
protectorNick Parker15-Oct-03 15:46 
GeneralMasking input in a datagrid Pin
Wjousts14-Oct-03 7:23
Wjousts14-Oct-03 7:23 
Is there a way to do this? I tried setting the PasswordChar of the textbox contained in my datagrid, but that only masks the text when that textbox is selected. If you click away from the textbox the masked text is revealed again. I'm binding to an array of MyClass objects contained within another object.

Here's my code:

<br />
dgServers.SetDataBinding(myClassCollection,"MyArray");<br />
DataGridTableStyle myTS = new DataGridTableStyle();<br />
myTS.MappingName = "MyClass[]";<br />
DataGridTextBoxColumn myCS = new DataGridTextBoxColumn();<br />
myCS.MappingName = "Password";<br />
myCS.Width = 500;<br />
myCS.TextBox.Multiline = false;<br />
myCS.TextBox.PasswordChar = '*';<br />
myTS.GridColumnStyles.Add(myCS);<br />
dgServers.TableStyles.Add(myTS);<br />


What do I need to override to get this to work?

Thanks
GeneralRe: Masking input in a datagrid Pin
Wjousts15-Oct-03 5:52
Wjousts15-Oct-03 5:52 
General.net dll compatibility Pin
mikemilano14-Oct-03 6:45
mikemilano14-Oct-03 6:45 
GeneralRe: .net dll compatibility Pin
leppie14-Oct-03 7:58
leppie14-Oct-03 7:58 

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.