Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: Properties inspector style control Pin
Heath Stewart9-Dec-03 2:47
protectorHeath Stewart9-Dec-03 2:47 
GeneralPlay avi video in full screen Pin
kuya0008-Dec-03 20:56
kuya0008-Dec-03 20:56 
GeneralRe: Play avi video in full screen Pin
Heath Stewart9-Dec-03 2:45
protectorHeath Stewart9-Dec-03 2:45 
QuestionHow keep areference of string Pin
Eric Lacroix8-Dec-03 17:53
Eric Lacroix8-Dec-03 17:53 
AnswerRe: How keep areference of string Pin
Heath Stewart8-Dec-03 18:28
protectorHeath Stewart8-Dec-03 18:28 
GeneralCreating a Table (Class Scheduler) Pin
Justin LaRose8-Dec-03 16:47
Justin LaRose8-Dec-03 16:47 
GeneralRe: Creating a Table (Class Scheduler) Pin
Heath Stewart8-Dec-03 18:25
protectorHeath Stewart8-Dec-03 18:25 
GeneralAccessing variables from the code behind page Pin
jaimecavazos8-Dec-03 15:24
jaimecavazos8-Dec-03 15:24 
I'm trying to pass variables from my main.aspx page to the web user control page. I have a flash application that reads the variables and based on that displays a certain item that's embedded in the web user control page. The variable that I created needs to be on the main.aspx page, so when flash opens up it can tell which page it's on. It looks something like this:

This is on the control.ascx page, the problem with this is that it has to be on the same aspx page.

<param name="FlashVars" value="navStatus=<%=pageStatus()%>" />

This is on the main.aspx.cs page

public string pageStatus()
{
return "home";
}

I have also accomplished my goal by using session variables, but I don't want to use them. Is there is any way to inheret the function that's on the main.aspx or pass somekind of global variable to where it can be accessed anywhere. Remember that the variable needs to be in the main.aspx page, it can't be in a class library or component.

Thanks,
Jaime C
GeneralRe: Accessing variables from the code behind page Pin
Heath Stewart8-Dec-03 18:22
protectorHeath Stewart8-Dec-03 18:22 
GeneralRe: Accessing variables from the code behind page Pin
jaimecavazos9-Dec-03 6:24
jaimecavazos9-Dec-03 6:24 
GeneralCustom Tree View Painting Pin
vektuz8-Dec-03 14:14
vektuz8-Dec-03 14:14 
GeneralRe: Custom Tree View Painting Pin
Heath Stewart8-Dec-03 18:19
protectorHeath Stewart8-Dec-03 18:19 
GeneralRe: Custom Tree View Painting Pin
vektuz8-Dec-03 20:25
vektuz8-Dec-03 20:25 
GeneralRe: Custom Tree View Painting Pin
J. Dunlap8-Dec-03 20:42
J. Dunlap8-Dec-03 20:42 
GeneralRe: Custom Tree View Painting Pin
Heath Stewart9-Dec-03 2:41
protectorHeath Stewart9-Dec-03 2:41 
GeneralProblem with MSDN Pin
Redbehelit8-Dec-03 14:00
Redbehelit8-Dec-03 14:00 
GeneralRe: Problem with MSDN Pin
Heath Stewart8-Dec-03 18:12
protectorHeath Stewart8-Dec-03 18:12 
Generalconvert to c# Pin
Rob Tomson8-Dec-03 13:16
Rob Tomson8-Dec-03 13:16 
GeneralRe: convert to c# Pin
Christian Graus8-Dec-03 16:07
protectorChristian Graus8-Dec-03 16:07 
GeneralRe: convert to c# Pin
Christian Graus8-Dec-03 16:40
protectorChristian Graus8-Dec-03 16:40 
GeneralRe: convert to c# Pin
Rob Tomson8-Dec-03 17:58
Rob Tomson8-Dec-03 17:58 
GeneralRe: convert to c# Pin
Heath Stewart8-Dec-03 18:10
protectorHeath Stewart8-Dec-03 18:10 
GeneralList View Scroll Pin
compubaby8-Dec-03 12:25
compubaby8-Dec-03 12:25 
GeneralRe: List View Scroll Pin
Heath Stewart8-Dec-03 18:05
protectorHeath Stewart8-Dec-03 18:05 
Generalsome general questions about sounds Pin
blakeb_18-Dec-03 8:52
blakeb_18-Dec-03 8:52 

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.