Click here to Skip to main content
16,005,141 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHelp on reports Pin
Prasad Bansi Vagal29-May-10 5:16
Prasad Bansi Vagal29-May-10 5:16 
AnswerRe: Help on reports Pin
Sandeep Mewara29-May-10 10:30
mveSandeep Mewara29-May-10 10:30 
Questionhow to search on homepage of respective item? Pin
hi_everybody29-May-10 2:35
hi_everybody29-May-10 2:35 
AnswerRe: how to search on homepage of respective item? Pin
Andreas X29-May-10 12:22
professionalAndreas X29-May-10 12:22 
Questiongetting value of current page's value after response.redirect Pin
puja29-May-10 0:42
puja29-May-10 0:42 
AnswerRe: getting value of current page's value after response.redirect Pin
Brij29-May-10 0:54
mentorBrij29-May-10 0:54 
GeneralRe: getting value of current page's value after response.redirect Pin
puja29-May-10 0:58
puja29-May-10 0:58 
GeneralRe: getting value of current page's value after response.redirect Pin
Brij29-May-10 1:31
mentorBrij29-May-10 1:31 
puja wrote:
yes... after redirecting "aaa.com" i only want to read that page's content ..nothig else to do with taht page...


I think your requirement is read the page content. For this you dont need to redirect on that page.

Say you have a page default.aspx and you want to show the content of aaaa.comn on defualt.aspx. For this you can read the conent on code behind manipulate as per requirement and show it on your page.

So you can read the content like this.
<br />
HttpWebResponse Response = null;<br />
string requestUri = "http://aaaa.com";<br />
Uri oUri = new Uri(requestUri);<br />
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(oUri);<br />
Response = (HttpWebResponse)webRequest.GetResponse();<br />
Stream ResponseStream = Response.GetResponseStream();<br />
StreamReader ResponseStreamReader = new StreamReader(ResponseStream);<br />
string ResponseData = ResponseStreamReader.ReadToEnd();<br />


ResponseData containes the content of the page.

GeneralRe: getting value of current page's value after response.redirect Pin
puja29-May-10 2:39
puja29-May-10 2:39 
GeneralRe: getting value of current page's value after response.redirect Pin
Brij29-May-10 2:39
mentorBrij29-May-10 2:39 
Questionweb application problem Pin
sanjay.knitian29-May-10 0:01
sanjay.knitian29-May-10 0:01 
AnswerRe: web application problem Pin
R. Giskard Reventlov29-May-10 2:26
R. Giskard Reventlov29-May-10 2:26 
AnswerRe: web application problem Pin
The Man from U.N.C.L.E.29-May-10 6:07
The Man from U.N.C.L.E.29-May-10 6:07 
Questionduplicates Pin
NetQuestions28-May-10 18:38
NetQuestions28-May-10 18:38 
AnswerRe: duplicates Pin
Peace ON28-May-10 19:07
Peace ON28-May-10 19:07 
GeneralRe: duplicates Pin
NetQuestions28-May-10 19:30
NetQuestions28-May-10 19:30 
AnswerRe: duplicates Pin
Peace ON28-May-10 20:08
Peace ON28-May-10 20:08 
AnswerRe: duplicates Pin
Eddy Vluggen29-May-10 0:28
professionalEddy Vluggen29-May-10 0:28 
QuestionTo create a website for Examination system Pin
adit ya16928-May-10 14:58
adit ya16928-May-10 14:58 
AnswerRe: To create a website for Examination system Pin
Peace ON28-May-10 19:31
Peace ON28-May-10 19:31 
AnswerRe: To create a website for Examination system Pin
R. Giskard Reventlov28-May-10 19:32
R. Giskard Reventlov28-May-10 19:32 
Questionsql help Pin
Aljaz11128-May-10 7:45
Aljaz11128-May-10 7:45 
AnswerRe: sql help Pin
Not Active28-May-10 8:05
mentorNot Active28-May-10 8:05 
GeneralRe: sql help Pin
Aljaz11128-May-10 8:40
Aljaz11128-May-10 8:40 
Questionhow to fire an event from a different Pin
raghvendrapanda28-May-10 5:33
raghvendrapanda28-May-10 5:33 

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.