Click here to Skip to main content
15,922,325 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: vgdsz Pin
Suresh Pirsquare17-Nov-06 18:21
Suresh Pirsquare17-Nov-06 18:21 
QuestionInsert Row in Database Pin
monika_vasvani17-Nov-06 16:24
monika_vasvani17-Nov-06 16:24 
AnswerRe: Insert Row in Database Pin
Gamzun18-Nov-06 3:48
Gamzun18-Nov-06 3:48 
GeneralRe: Insert Row in Database Pin
indianet19-Nov-06 11:41
indianet19-Nov-06 11:41 
QuestionControlling POST action in ASP.NET v. 1.1 ? Pin
GregStevensCA17-Nov-06 12:58
GregStevensCA17-Nov-06 12:58 
AnswerRe: Controlling POST action in ASP.NET v. 1.1 ? Pin
indianet17-Nov-06 13:28
indianet17-Nov-06 13:28 
GeneralRe: Controlling POST action in ASP.NET v. 1.1 ? Pin
GregStevensCA17-Nov-06 14:11
GregStevensCA17-Nov-06 14:11 
GeneralRe: Controlling POST action in ASP.NET v. 1.1 ? Pin
indianet18-Nov-06 11:12
indianet18-Nov-06 11:12 
1) If form runat="server" is removed then you can't have server side controls (Web & HTML server controls). Its going to be just plain old HTML controls

2) You can always post back to a form by posting back to a different form through code. I know its not simple however I thought I will share it with you.

On post back of the first form, retrieve the post back values and then post it back to another form.

String postedData = "field1=field1data&field2=field2dataOk";
StreamWriter out = null;

HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://yourURL/secondForm.aspx");
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = postedData.Length;
request.Method = "POST";

out = new StreamWriter(request.GetRequestStream());
out.Write(postedData);
out.Close();

"field1=field1data&field2=field2dataOk" should be replaced with the actual list of form variables

3) Changing the action url using javascript on submit will be one of the option but you may have to do a lot that is unconventional.











GeneralRe: Controlling POST action in ASP.NET v. 1.1 ? Pin
GregStevensCA18-Nov-06 18:09
GregStevensCA18-Nov-06 18:09 
QuestionForm Validation Pin
vct17-Nov-06 10:47
vct17-Nov-06 10:47 
AnswerRe: Form Validation Pin
Nicejith17-Nov-06 20:40
Nicejith17-Nov-06 20:40 
AnswerRe: Form Validation Pin
Gamzun18-Nov-06 0:43
Gamzun18-Nov-06 0:43 
QuestionCustomized DataGrid-urgent Pin
nour12317-Nov-06 9:16
nour12317-Nov-06 9:16 
AnswerRe: Customized DataGrid-urgent Pin
leckey17-Nov-06 10:29
leckey17-Nov-06 10:29 
GeneralRe: Customized DataGrid-urgent Pin
nour12318-Nov-06 1:22
nour12318-Nov-06 1:22 
QuestionI really need a chat source code written in ASP.net Pin
mahili17-Nov-06 8:10
mahili17-Nov-06 8:10 
AnswerRe: I really need a chat source code written in ASP.net Pin
ednrgc17-Nov-06 9:20
ednrgc17-Nov-06 9:20 
AnswerRe: I really need a chat source code written in ASP.net Pin
leckey17-Nov-06 10:30
leckey17-Nov-06 10:30 
QuestionDynamic Image in Crystal Report Pin
modi_sanjay17-Nov-06 7:15
modi_sanjay17-Nov-06 7:15 
Questionwebservice Pin
saravanan0517-Nov-06 6:35
saravanan0517-Nov-06 6:35 
AnswerRe: webservice Pin
ednrgc17-Nov-06 7:09
ednrgc17-Nov-06 7:09 
AnswerRe: webservice Pin
Kschuler17-Nov-06 8:09
Kschuler17-Nov-06 8:09 
AnswerRe: webservice Pin
postmaster@programmingknowledge.com17-Nov-06 8:53
postmaster@programmingknowledge.com17-Nov-06 8:53 
QuestionAdding Rows To DataList Pin
RadioButton17-Nov-06 6:23
RadioButton17-Nov-06 6:23 
AnswerRe: Adding Rows To DataList Pin
ednrgc17-Nov-06 7:10
ednrgc17-Nov-06 7:10 

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.