Click here to Skip to main content
16,010,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS 2005 beta - warnings galore Pin
LongRange.Shooter17-Aug-04 3:39
LongRange.Shooter17-Aug-04 3:39 
GeneralRe: VS 2005 beta - warnings galore Pin
Judah Gabriel Himango17-Aug-04 4:18
sponsorJudah Gabriel Himango17-Aug-04 4:18 
GeneralGhost windows Pin
Itay Sagui16-Aug-04 9:21
Itay Sagui16-Aug-04 9:21 
GeneralRe: Ghost windows Pin
Nick Parker16-Aug-04 10:03
protectorNick Parker16-Aug-04 10:03 
GeneralRe: Ghost windows Pin
Itay Sagui16-Aug-04 10:11
Itay Sagui16-Aug-04 10:11 
GeneralRe: Ghost windows Pin
Nick Parker16-Aug-04 10:24
protectorNick Parker16-Aug-04 10:24 
Questionusing ReflectionPermission to access Protected members? Pin
LongRange.Shooter16-Aug-04 9:00
LongRange.Shooter16-Aug-04 9:00 
GeneralDrop Down List within a Template Column footer in a DataGrid Pin
spaskewitz16-Aug-04 8:51
spaskewitz16-Aug-04 8:51 
Cry | :(( Cry | :(( I am using C# and have a DataGrid. Within the grid there is a template column with a DropDownList in the footer template. I populate this list with a list of valid users. I would like the persons name who logged on to be the entry that is selected by default. How can I access this DropDownList in order to set the field to the default user name in the list? Here is the code that I use to access the field during an add.


DropDownList analyst;
analyst = (DropDownList)(e.Item.Cells[3].FindControl("cboAnalystFooter"));

This code is in the DataGrid_Command() function that is triggered by an Insert event. How do I access this field outside of this function, such as in the Page_Load() function?

Thanks for the help!
Scott

Scott
Generallogging on desktop Pin
mathon16-Aug-04 7:28
mathon16-Aug-04 7:28 
GeneralRe: logging on desktop Pin
Dave Kreskowiak17-Aug-04 4:52
mveDave Kreskowiak17-Aug-04 4:52 
GeneralRe: logging on desktop Pin
mathon17-Aug-04 7:45
mathon17-Aug-04 7:45 
GeneralRe: logging on desktop Pin
Dave Kreskowiak18-Aug-04 8:37
mveDave Kreskowiak18-Aug-04 8:37 
GeneralUsing piped function parameters and properties Pin
MrEyes16-Aug-04 7:22
MrEyes16-Aug-04 7:22 
GeneralRe: Using piped function parameters and properties Pin
Dave Kreskowiak17-Aug-04 4:48
mveDave Kreskowiak17-Aug-04 4:48 
QuestionAxWebBrowser - create a document on the fly? Pin
Radoslav Bielik16-Aug-04 6:57
Radoslav Bielik16-Aug-04 6:57 
AnswerRe: AxWebBrowser - create a document on the fly? Pin
MrEyes16-Aug-04 7:11
MrEyes16-Aug-04 7:11 
GeneralRe: AxWebBrowser - create a document on the fly? Pin
Mr. Rogers16-Aug-04 8:32
Mr. Rogers16-Aug-04 8:32 
GeneralRe: AxWebBrowser - create a document on the fly? Pin
Nick Parker16-Aug-04 9:56
protectorNick Parker16-Aug-04 9:56 
GeneralRe: AxWebBrowser - create a document on the fly? Pin
Radoslav Bielik16-Aug-04 10:41
Radoslav Bielik16-Aug-04 10:41 
GeneralRe: AxWebBrowser - create a document on the fly? Pin
Judah Gabriel Himango16-Aug-04 10:52
sponsorJudah Gabriel Himango16-Aug-04 10:52 
GeneralReading the memory of a process Pin
Wjousts16-Aug-04 6:03
Wjousts16-Aug-04 6:03 
GeneralRe: Reading the memory of a process Pin
Nick Parker16-Aug-04 6:23
protectorNick Parker16-Aug-04 6:23 
GeneralRe: Reading the memory of a process Pin
Wjousts16-Aug-04 11:12
Wjousts16-Aug-04 11:12 
GeneralRe: Reading the memory of a process Pin
Nick Parker16-Aug-04 11:30
protectorNick Parker16-Aug-04 11:30 
GeneralRe: Reading the memory of a process Pin
leppie17-Aug-04 1:15
leppie17-Aug-04 1:15 

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.