Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
GeneralRe: working with webservices in .net Pin
prasadbuddhika6-Aug-09 19:27
prasadbuddhika6-Aug-09 19:27 
GeneralRe: working with webservices in .net Pin
N a v a n e e t h6-Aug-09 22:26
N a v a n e e t h6-Aug-09 22:26 
QuestionSend SMS /MMS to mobile phone from FTP server Pin
pearllyn6-Aug-09 15:46
pearllyn6-Aug-09 15:46 
AnswerRe: Send SMS /MMS to mobile phone from FTP server Pin
Spacix One6-Aug-09 17:28
Spacix One6-Aug-09 17:28 
AnswerRe: Send SMS /MMS to mobile phone from FTP server Pin
Blue_Boy7-Aug-09 3:41
Blue_Boy7-Aug-09 3:41 
QuestionSaving RSS feed in "utf-8" format. Pin
dbhalla_in6-Aug-09 14:29
dbhalla_in6-Aug-09 14:29 
AnswerRe: Saving RSS feed in "utf-8" format. Pin
Luc Pattyn6-Aug-09 14:45
sitebuilderLuc Pattyn6-Aug-09 14:45 
QuestionRelative URLs in Code-Behind Pin
Colin Pace6-Aug-09 10:52
Colin Pace6-Aug-09 10:52 
Hi,

I am implementing a mechanism that check a user is logged in before showing the aspx pages.
I have tried to implement this in the code behind of the master page of the restricted pages.
In case there is no-one logged in the page must redirect to the appropriate "No-Rights" page.

The problem is that the master page can be used by pages at different folder levels. How to redirect the response to the correct URL of the page? How to specify the URL relative from the web-application root?

Another typical problem here is that when debugging using Visual Studio, the pages are relative to the localhost/PROJECT-NAME/pages. But when deployed the pages are placed directly under HOST/pages.

Can anyone help?

Thanks,
Colin
AnswerRe: Relative URLs in Code-Behind Pin
Adam R Harris6-Aug-09 11:07
Adam R Harris6-Aug-09 11:07 
QuestionC# Dataset bind to DataGridView update tabel in SQL Server 2005 DB Pin
Wheels0126-Aug-09 9:42
Wheels0126-Aug-09 9:42 
AnswerRe: C# Dataset bind to DataGridView update tabel in SQL Server 2005 DB Pin
Adam R Harris6-Aug-09 9:58
Adam R Harris6-Aug-09 9:58 
AnswerRe: C# Dataset bind to DataGridView update tabel in SQL Server 2005 DB Pin
Wheels01210-Aug-09 7:10
Wheels01210-Aug-09 7:10 
Question"Screenshot" from handle? Pin
dandy726-Aug-09 9:33
dandy726-Aug-09 9:33 
AnswerRe: "Screenshot" from handle? Pin
pelnor7-Aug-09 4:25
pelnor7-Aug-09 4:25 
GeneralRe: "Screenshot" from handle? Pin
dandy728-Aug-09 4:28
dandy728-Aug-09 4:28 
QuestionCalling functions and methods in a child form Pin
alias bill6-Aug-09 9:24
alias bill6-Aug-09 9:24 
AnswerRe: Calling functions and methods in a child form Pin
OriginalGriff6-Aug-09 10:20
mveOriginalGriff6-Aug-09 10:20 
AnswerRe: Calling functions and methods in a child form Pin
DaveyM696-Aug-09 10:54
professionalDaveyM696-Aug-09 10:54 
GeneralRe: Calling functions and methods in a child form Pin
alias bill6-Aug-09 12:02
alias bill6-Aug-09 12:02 
GeneralRe: Calling functions and methods in a child form Pin
DaveyM696-Aug-09 21:54
professionalDaveyM696-Aug-09 21:54 
AnswerRe: Calling functions and methods in a child form [modified] Pin
nelsonpaixao6-Aug-09 13:58
nelsonpaixao6-Aug-09 13:58 
QuestionUsing a Session variable in an UpdateCommand Pin
JohnQuar16-Aug-09 9:17
JohnQuar16-Aug-09 9:17 
AnswerRe: Using a Session variable in an UpdateCommand [ Posted on Wrong Forum ] Pin
Abhijit Jana6-Aug-09 9:24
professionalAbhijit Jana6-Aug-09 9:24 
QuestionMS word tables using C# Pin
Member 41540746-Aug-09 9:00
Member 41540746-Aug-09 9:00 
AnswerRe: MS word tables using C# Pin
toby316-Aug-09 12:01
toby316-Aug-09 12: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.