Click here to Skip to main content
15,886,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: call code behind code from java script Pin
Not Active14-Jun-10 2:38
mentorNot Active14-Jun-10 2:38 
AnswerRe: call code behind code from java script Pin
Tej Aj14-Jun-10 3:26
Tej Aj14-Jun-10 3:26 
QuestionXml Pin
siva45514-Jun-10 0:44
siva45514-Jun-10 0:44 
AnswerRe: Xml Pin
hammerstein0514-Jun-10 1:09
hammerstein0514-Jun-10 1:09 
QuestionHow could i analyze and do something to a webpage content? Pin
wnfk13-Jun-10 23:03
wnfk13-Jun-10 23:03 
AnswerRe: How could i analyze and do something to a webpage content? Pin
Jens Meyer14-Jun-10 0:16
Jens Meyer14-Jun-10 0:16 
GeneralRe: How could i analyze and do something to a webpage content? Pin
wnfk14-Jun-10 16:24
wnfk14-Jun-10 16:24 
GeneralRe: How could i analyze and do something to a webpage content? Pin
wnfk14-Jun-10 16:42
wnfk14-Jun-10 16:42 
Jens Meyer wrote:
maybe you should take a look into HttpModules. You can find many articles here on codeproject on that topic. You can alter the result stream (your html code for example) in this module just like the way you want with the proxy.



Thanks Jens, the question i meet now is how to alter the result stream/ string. that is how to alter the relative path of the website to a absolute path, for example, when the code is
<pre> &lt;img src="./a.gif" /&gt;, &lt;a href="./default.aspx"&gt;Home&lt;/a&gt;
good
</pre>
how i alter them to
<pre> &lt;img src="http://www.example.com/a.gif" /&gt;, &lt;a href="http://www.example.com/default.aspx"&gt;Default&lt;/a&gt;
better
</pre>

and how to get the word "Home" and "good", and alter them to "Default" and "better"
is there any example code you know? thanks again jens!
GeneralRe: How could i analyze and do something to a webpage content? Pin
Jens Meyer14-Jun-10 18:40
Jens Meyer14-Jun-10 18:40 
GeneralRe: How could i analyze and do something to a webpage content? Pin
wnfk15-Jun-10 17:36
wnfk15-Jun-10 17:36 
QuestionAjax query Pin
Amit Patel198513-Jun-10 22:36
Amit Patel198513-Jun-10 22:36 
AnswerRe: Ajax query Pin
Brij13-Jun-10 23:06
mentorBrij13-Jun-10 23:06 
GeneralRe: Ajax query Pin
Amit Patel198513-Jun-10 23:23
Amit Patel198513-Jun-10 23:23 
Questiongetting value zero when caculating value between dates in ado.net using asp.net with c# Pin
developerit13-Jun-10 20:55
developerit13-Jun-10 20:55 
AnswerRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
Blue_Boy13-Jun-10 21:38
Blue_Boy13-Jun-10 21:38 
GeneralRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
developerit13-Jun-10 22:26
developerit13-Jun-10 22:26 
AnswerRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
<<Tash18>>13-Jun-10 23:04
<<Tash18>>13-Jun-10 23:04 
GeneralRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
developerit14-Jun-10 21:28
developerit14-Jun-10 21:28 
GeneralRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
<<Tash18>>14-Jun-10 23:35
<<Tash18>>14-Jun-10 23:35 
GeneralRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
developerit14-Jun-10 23:50
developerit14-Jun-10 23:50 
AnswerRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
Tej Aj14-Jun-10 1:35
Tej Aj14-Jun-10 1:35 
GeneralRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
developerit14-Jun-10 21:33
developerit14-Jun-10 21:33 
GeneralRe: getting value zero when caculating value between dates in ado.net using asp.net with c# Pin
Tej Aj16-Jun-10 3:39
Tej Aj16-Jun-10 3:39 
Questionhow to implement treeview drag and drop of a node using asp.net Pin
lakshmichawala13-Jun-10 20:08
lakshmichawala13-Jun-10 20:08 
AnswerRe: how to implement treeview drag and drop of a node using asp.net Pin
Peace ON13-Jun-10 21:34
Peace ON13-Jun-10 21:34 

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.