Click here to Skip to main content
15,907,910 members
Home / Discussions / C#
   

C#

 
GeneralRe: Video Processing - ColorMatrix Pin
musefan30-Jun-09 2:29
musefan30-Jun-09 2:29 
GeneralRe: Video Processing - ColorMatrix Pin
tvbarnard30-Jun-09 2:34
tvbarnard30-Jun-09 2:34 
GeneralRe: Video Processing - ColorMatrix Pin
musefan30-Jun-09 2:39
musefan30-Jun-09 2:39 
JokeRe: Video Processing - ColorMatrix Pin
tvbarnard30-Jun-09 3:13
tvbarnard30-Jun-09 3:13 
QuestionCustom border color for Textbox is not working when using WS_EX_COMPOSITED style to the windows forms Pin
mutpan29-Jun-09 22:48
mutpan29-Jun-09 22:48 
AnswerRe: Custom border color for Textbox is not working when using WS_EX_COMPOSITED style to the windows forms Pin
Svetlin Panayotov29-Jun-09 23:36
Svetlin Panayotov29-Jun-09 23:36 
GeneralRe: Custom border color for Textbox is not working when using WS_EX_COMPOSITED style to the windows forms Pin
mutpan29-Jun-09 23:44
mutpan29-Jun-09 23:44 
Questionhelp needed for httpwebreqest and postback Pin
aamirzada29-Jun-09 21:34
aamirzada29-Jun-09 21:34 
i have a problem when i use the httpwebrequest for a page the page is displayed correctly and when but ispostback is always false.
i m sending the viewstate data too but it is still false
how can i make it to true so that i can access the full data.
the code is as follow

static CookieContainer cookieJar = new CookieContainer();

public string PostContenct(string dataPost, string srcuri)
       {
           Uri uri = new Uri(srcuri);
           string data = dataPost;
           //if (uri.Scheme == Uri.UriSchemeHttp)
           //{


            HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
               request.CookieContainer = cookieJar;
               request.AllowAutoRedirect = true;
               request.Method = WebRequestMethods.Http.Post;
               request.ContentLength = data.Length;
               //request.AllowAutoRedirect = true;
               request.ContentType = "application/x-www-form-urlencoded";

               StreamWriter writer = new StreamWriter(request.GetRequestStream());
               writer.Write(data);
               writer.Close();

               HttpWebResponse response = (HttpWebResponse)request.GetResponse();
               int cookiecount = cookieJar.Count;
               StreamReader reader = new StreamReader(response.GetResponseStream());
               string str = response.StatusDescription;
               string tmp = reader.ReadToEnd();
               response.Close();
               return tmp;
           //}
           //else
           //{
           //    return "";
           //}

       }


thanks

amirzada

AnswerRe: help needed for httpwebreqest and postback Pin
Manas Bhardwaj29-Jun-09 21:58
professionalManas Bhardwaj29-Jun-09 21:58 
GeneralRe: help needed for httpwebreqest and postback Pin
aamirzada6-Jul-09 0:47
aamirzada6-Jul-09 0:47 
QuestionUnassigned local variable Pin
gwithey29-Jun-09 21:23
gwithey29-Jun-09 21:23 
AnswerRe: Unassigned local variable Pin
SeMartens29-Jun-09 21:35
SeMartens29-Jun-09 21:35 
AnswerRe: Unassigned local variable Pin
dan!sh 29-Jun-09 21:37
professional dan!sh 29-Jun-09 21:37 
GeneralRe: Unassigned local variable Pin
gwithey29-Jun-09 21:41
gwithey29-Jun-09 21:41 
GeneralRe: Unassigned local variable Pin
OriginalGriff29-Jun-09 21:53
mveOriginalGriff29-Jun-09 21:53 
GeneralRe: Unassigned local variable Pin
gwithey30-Jun-09 0:38
gwithey30-Jun-09 0:38 
QuestionWIA Video Problem...?? Pin
S K Y29-Jun-09 20:44
S K Y29-Jun-09 20:44 
AnswerRe: WIA Video Problem...?? Pin
Nuri Ismail29-Jun-09 21:08
Nuri Ismail29-Jun-09 21:08 
GeneralRe: WIA Video Problem...?? Pin
S K Y29-Jun-09 21:38
S K Y29-Jun-09 21:38 
GeneralRe: WIA Video Problem...?? Pin
Nuri Ismail29-Jun-09 22:01
Nuri Ismail29-Jun-09 22:01 
GeneralRe: WIA Video Problem...?? Pin
S K Y29-Jun-09 22:16
S K Y29-Jun-09 22:16 
AnswerRe: WIA Video Problem...?? Pin
Nuri Ismail29-Jun-09 22:22
Nuri Ismail29-Jun-09 22:22 
AnswerRe: WIA Video Problem...?? Pin
Christian Graus30-Jun-09 0:13
protectorChristian Graus30-Jun-09 0:13 
QuestionMediaplayer version checking Pin
rakeshs31229-Jun-09 20:24
rakeshs31229-Jun-09 20:24 
AnswerRe: Mediaplayer version checking Pin
stancrm29-Jun-09 20:41
stancrm29-Jun-09 20:41 

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.