Click here to Skip to main content
15,911,531 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Populate input control on external web page? Pin
minhpc_bk7-May-06 17:36
minhpc_bk7-May-06 17:36 
GeneralRe: Populate input control on external web page? Pin
mattdavies22-May-06 22:58
mattdavies22-May-06 22:58 
QuestionUrgent help with Textboxes!!! Pin
Commickey4-May-06 1:18
Commickey4-May-06 1:18 
AnswerRe: Urgent help with Textboxes!!! Pin
mattdavies4-May-06 1:28
mattdavies4-May-06 1:28 
GeneralRe: Urgent help with Textboxes!!! Pin
Commickey4-May-06 1:31
Commickey4-May-06 1:31 
AnswerRe: Urgent help with Textboxes!!! Pin
Nasums4-May-06 4:23
Nasums4-May-06 4:23 
AnswerRe: Urgent help with Textboxes!!! Pin
RichardGrimmer4-May-06 5:59
RichardGrimmer4-May-06 5:59 
QuestionCookie problem in ASP.NET 2.0 Pin
Flavian Gheorge4-May-06 0:22
Flavian Gheorge4-May-06 0:22 
I have 2 pages that validate (using validation groups) the users inputs and store them in a cookie. The first page validates and puts the in a cookie, then redirects the user to a second page where the values from the cookie are read, modified then written (overwrites the former value) in the cookie.
The code for the two pages resembles, here is a sample:


String t, s,t1;
int i = 0;
s = "";
t = "";
if (Page.IsValid)
{
t = GetCookie("test");//reads the value from the cookie possible place where the error lies.

lbl1.Text = t;
try //transforms the string in
{
lbl1.Text = t;
t1 = t.Remove(0, 9); to get the value
i = Int32.Parse(t1);
calcul(i); //calculates the new values
}
catch (Exception w) { lbl3.Text = "Conversion did work."; }
s = Convert.ToString(i);
SetCookie("test", s, 1);//writes the new value in the cookie
Response.Redirect("Test_3.aspx"); //redirects to a new page
}
The functions I tested them and work well on their and with each other
QuestionWebControl and Designer Display problem Pin
smoitry3-May-06 23:28
smoitry3-May-06 23:28 
QuestionHow to draw a rectangle on a webpage? Pin
KaKa'3-May-06 23:16
KaKa'3-May-06 23:16 
Questionhow to get Server IP Address? Pin
haneen19843-May-06 23:15
haneen19843-May-06 23:15 
AnswerRe: how to get Server IP Address? Pin
R.Prabha Devi4-May-06 1:55
R.Prabha Devi4-May-06 1:55 
GeneralRe: how to get Server IP Address? Pin
haneen19844-May-06 2:35
haneen19844-May-06 2:35 
QuestionJavaScript Pin
Uma Kameswari3-May-06 23:10
Uma Kameswari3-May-06 23:10 
AnswerRe: JavaScript Pin
kirthikirthi4-May-06 0:15
kirthikirthi4-May-06 0:15 
GeneralRe: JavaScript Pin
Uma Kameswari4-May-06 21:46
Uma Kameswari4-May-06 21:46 
Questionfavorites??? Pin
students552 university3-May-06 23:03
students552 university3-May-06 23:03 
AnswerRe: favorites??? Pin
sathish s3-May-06 23:13
sathish s3-May-06 23:13 
GeneralRe: favorites??? Pin
students552 university4-May-06 0:07
students552 university4-May-06 0:07 
QuestionTesting Pin
Uma Kameswari3-May-06 22:55
Uma Kameswari3-May-06 22:55 
QuestionProblem in sending mail to External Mail account? Pin
MudkiSekhon3-May-06 21:58
MudkiSekhon3-May-06 21:58 
Questionasp:Calendar asp.net 2.0 Pin
Larza1233-May-06 21:56
Larza1233-May-06 21:56 
QuestionEnableVIew State Pin
baskar.G3-May-06 21:42
baskar.G3-May-06 21:42 
AnswerRe: EnableVIew State Pin
Larza1233-May-06 21:52
Larza1233-May-06 21:52 
GeneralRe: EnableVIew State Pin
baskar.G3-May-06 23:19
baskar.G3-May-06 23:19 

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.