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

C#

 
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 
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 
Hey Heath,

The function that I created on the main.aspx.cs page can be accessed from user.ascx.cs page, I don't have any problem with that. In traditional .asp pages I could just create a variable called pageStatus = "main" on the main.asp page and the user.ascs page would be an include file which would hold my flash application that have status = <%pageStatus%>, so if I went to home.asp page, the home.asp page would have pageStatus="home" and the services.asp page would have pageStatus="services". So in my flash application anytime you would go a page it would display the value of that page accordingly. Sorry, if I sound frustrated, doing some of the simpliest things in asp is a little more difficult in asp.net. I wrote this function out of frustration, I know there is a simpler way to do it. Thanks a lot in advance!

public string pageStatus()
{
string strURL = Request.ServerVariables["URL"];
StringBuilder replaceFunc = new StringBuilder(strURL);
strURL = replaceFunc.Replace("/web_isotope/","").ToString();
strURL = replaceFunc.Replace(".aspx","").ToString();
return strURL;
}

Also can I inheret the class from my main.aspx.cs page in the user.ascs.cs page.

Thanks again.
Jaime
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 
GeneralRe: some general questions about sounds Pin
Heath Stewart8-Dec-03 9:54
protectorHeath Stewart8-Dec-03 9:54 
GeneralRe: some general questions about sounds Pin
blakeb_18-Dec-03 9:57
blakeb_18-Dec-03 9:57 

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.