Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Gridview dynamic in edit mode Pin
Sandeep Mewara24-Jun-10 4:50
mveSandeep Mewara24-Jun-10 4:50 
GeneralRe: Gridview dynamic in edit mode Pin
amina8925-Jun-10 13:54
amina8925-Jun-10 13:54 
QuestionBasic Javascript error Pin
Hardus Lombaard24-Jun-10 3:05
Hardus Lombaard24-Jun-10 3:05 
AnswerRe: Basic Javascript error Pin
JHizzle24-Jun-10 3:11
JHizzle24-Jun-10 3:11 
AnswerRe: Basic Javascript error Pin
DaveAuld24-Jun-10 3:25
professionalDaveAuld24-Jun-10 3:25 
AnswerRe: Basic Javascript error Pin
Jason Vetter24-Jun-10 6:27
Jason Vetter24-Jun-10 6:27 
AnswerRe: Basic Javascript error Pin
mihsathe24-Jun-10 17:52
mihsathe24-Jun-10 17:52 
QuestionWebRequest question Pin
Etienne_12324-Jun-10 1:54
Etienne_12324-Jun-10 1:54 
Hi
I'm just curious about something. I've recently been playing around with WebRequests and WebResponses. I create a request like so:
WebRequest someRequest = WebRequest.Create("https://blah.blahblah.com/blah/");
Then I retrieve the response stream of that request like so:
Stream objStream = someRequest.GetResponse().GetResponseStream();<br />
StreamReader objReader = new StreamReader(objStream);


This basically returns something like the following:

<div id="main"><div class=header>
  <a href='https://www.google.com/accounts/'>  <img class=logo
       src='https://www.google.com/intl/en/images/logos/accounts_logo.gif'
       alt="Google" />  </img>  </a></div>
  <div id=maincontent>
  <table border="0" width="100%" cellpadding=0 cellspacing=0>  <tr>
  <td width="75%" valign="top">  <div style="font-size:83%;">
<b>  A third party service is requesting permission to access your
  Google Account.</b><br/><br/>
  In order to authorize a third party service to access your account,
  you must sign in.</div>  </td>
  <td style="padding-left: 10px; " valign="top" align="center">
  <div id="rhs">  <div id="rhs_login_signup_box">
<script><!--function gaia_onLoginSubmit() {  
  if (window.gaiacb_onLoginSubmit) {    return gaiacb_onLoginSubmit();  } else {
    return true;  }}--></script><style type="text/css"><!--  
    div.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }
    font.errormsg 


It basically contains all the website controls etc. My question is, lets say this specific website has a username and password field, is there any way I can edit the above response to navigate my web browser control to the website, populate the username and password boxes and log the user in?
AnswerRe: WebRequest question Pin
Adam R Harris24-Jun-10 6:15
Adam R Harris24-Jun-10 6:15 
Questionerror in displaying the menu in Opera browser Pin
jknascrimz24-Jun-10 0:57
jknascrimz24-Jun-10 0:57 
AnswerRe: error in displaying the menu in Opera browser Pin
Sandeep Mewara24-Jun-10 4:54
mveSandeep Mewara24-Jun-10 4:54 
QuestionQuery regarding Yahoo/Outlook calendar Pin
nilam247724-Jun-10 0:32
nilam247724-Jun-10 0:32 
AnswerRe: Query regarding Yahoo/Outlook calendar Pin
Sandeep Mewara24-Jun-10 5:00
mveSandeep Mewara24-Jun-10 5:00 
QuestionKeep selected note of treeview on Master page Pin
Naunt24-Jun-10 0:05
Naunt24-Jun-10 0:05 
GeneralRe: Keep selected note of treeview on Master page Pin
Paladin200024-Jun-10 4:21
Paladin200024-Jun-10 4:21 
AnswerRe: Keep selected note of treeview on Master page Pin
Sandeep Mewara24-Jun-10 5:18
mveSandeep Mewara24-Jun-10 5:18 
QuestionError when browse in IIS Pin
Naunt23-Jun-10 23:55
Naunt23-Jun-10 23:55 
AnswerRe: Error when browse in IIS Pin
Arun Jacob24-Jun-10 0:06
Arun Jacob24-Jun-10 0:06 
QuestionRe: Error when browse in IIS Pin
Naunt24-Jun-10 0:21
Naunt24-Jun-10 0:21 
AnswerRe: Error when browse in IIS Pin
Arun Jacob24-Jun-10 1:27
Arun Jacob24-Jun-10 1:27 
GeneralRe: Error when browse in IIS Pin
Naunt24-Jun-10 17:16
Naunt24-Jun-10 17:16 
QuestionRe: Error when browse in IIS Pin
Naunt24-Jun-10 0:44
Naunt24-Jun-10 0:44 
Questionhow can we know the client has requested an image from the server Pin
anonymousmember23-Jun-10 22:12
anonymousmember23-Jun-10 22:12 
AnswerRe: how can we know the client has requested an image from the server Pin
Rhys Jacob23-Jun-10 23:37
Rhys Jacob23-Jun-10 23:37 
QuestionRead columns and sheets in Excel and Save to DB Pin
Member 322226423-Jun-10 21:35
Member 322226423-Jun-10 21:35 

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.