Click here to Skip to main content
15,915,513 members
Home / Discussions / Web Development
   

Web Development

 
GeneralWindows foms control in Web page. a simple problem when with web pages Pin
ram197426-Dec-07 14:51
ram197426-Dec-07 14:51 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
Michael Sync26-Dec-07 19:12
Michael Sync26-Dec-07 19:12 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
ram197426-Dec-07 20:23
ram197426-Dec-07 20:23 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
Michael Sync26-Dec-07 20:41
Michael Sync26-Dec-07 20:41 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages [modified] Pin
ram197426-Dec-07 21:02
ram197426-Dec-07 21:02 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
Michael Sync26-Dec-07 21:20
Michael Sync26-Dec-07 21:20 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
ram197426-Dec-07 22:46
ram197426-Dec-07 22:46 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
Michael Sync26-Dec-07 23:06
Michael Sync26-Dec-07 23:06 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
ram197427-Dec-07 19:02
ram197427-Dec-07 19:02 
QuestionNeed help with html client controls in asp.net Pin
sumanshakya26-Dec-07 9:56
sumanshakya26-Dec-07 9:56 
GeneralRe: Need help with html client controls in asp.net Pin
ram197426-Dec-07 18:11
ram197426-Dec-07 18:11 
QuestionHow to run exe from JavaScript Pin
rajesh4u24-Dec-07 0:17
rajesh4u24-Dec-07 0:17 
AnswerRe: How to run exe from JavaScript Pin
Manikandan.net25-Dec-07 19:26
Manikandan.net25-Dec-07 19:26 
AnswerRe: How to run exe from JavaScript Pin
Paul Conrad31-Dec-07 10:27
professionalPaul Conrad31-Dec-07 10:27 
QuestionGetting an Array from a Web Server? Pin
gunner_uk200022-Dec-07 6:59
gunner_uk200022-Dec-07 6:59 
AnswerRe: Getting an Array from a Web Server? Pin
Paul Conrad23-Dec-07 14:42
professionalPaul Conrad23-Dec-07 14:42 
QuestionSetting the Date/Time on the server hosting my web service Pin
Skippums21-Dec-07 5:09
Skippums21-Dec-07 5:09 
GeneralRe: Setting the Date/Time on the server hosting my web service Pin
Dave Kreskowiak21-Dec-07 8:34
mveDave Kreskowiak21-Dec-07 8:34 
Questiontransfer input value to another page Pin
idsanjeevjha20-Dec-07 22:09
idsanjeevjha20-Dec-07 22:09 
GeneralRe: transfer input value to another page Pin
Michael Sync21-Dec-07 21:03
Michael Sync21-Dec-07 21:03 
GeneralRe: transfer input value to another page Pin
Paul Conrad23-Dec-07 14:43
professionalPaul Conrad23-Dec-07 14:43 
GeneralRe: transfer input value to another page Pin
Manikandan.net25-Dec-07 19:38
Manikandan.net25-Dec-07 19:38 
Just to submit values from one page to another DON’T USE cookies, session, or cache, these items will occupy your server memory. Assume if 1000 users logged in to your application, then your IIS will be very slow.

Use the EnableViewStateMac="false" page directive to the target page, which will allow you to get the values from the submitted page.

Bellow is the sample code, I am send values from default2.aspx to default3.aspx

Default2.aspx
<br />
<%@ Page Language="C#"  AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %><br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head runat="server"><br />
    <title>Untitled Page</title><br />
</head><br />
<body><br />
    <form id="form1" runat="server" onsubmit="this.action='default3.aspx'"><br />
    <div><br />
    <input type="text" name="input1" /><br />
    <input type="submit" value="submit" /><br />
    </div><br />
    </form><br />
</body><br />
</html><br />

Default3.aspx
<%@ Page Language="C#"  EnableViewStateMac="false"   AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %><br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head runat="server"><br />
    <title>Untitled Page</title><br />
</head><br />
<body><br />
    <form id="form1" runat="server"><br />
    <div><br />
    <%Response.Write(Request["input1"]); %><br />
    </div><br />
    </form><br />
</body><br />
</html><br />


Manikandan.net
[Coding is life]

GeneralRe: transfer input value to another page Pin
arunkumarv28-Dec-07 23:29
arunkumarv28-Dec-07 23:29 
GeneralRe: transfer input value to another page Pin
idsanjeevjha28-Dec-07 23:59
idsanjeevjha28-Dec-07 23:59 
GeneralSides not loading in IE7 Pin
Brendan Vogt20-Dec-07 4:47
Brendan Vogt20-Dec-07 4:47 

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.