Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2005, 12:38 AM
Registered User
 
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with VIEWSTATE

Hi

   I want to post data from my VB application to one such a site which was developed in ASP.NET. There was 2 stages of web pages I want to post my data. For that Im created a 1st .htm file and then collect all the relevant information. Now in body onload event, i was called form's submit procedure. It works fine for the first page. Now Im designed 2nd .htm file and then collect all the relevant inforation and then submit that page. But it was not worked. It was again navigated to default page. My process looks like following..

    For 1st page, i was copy the entire page(.aspx) using view source, and then paste into .htm file and then remove all the unwanted info like scripts... By considering only controls, now i dynamically add my data into that controls and then posted...

I can't access directly 2nd page, so that after submission of data to first page, and then by using above said procedure, i was create 2nd htm and then again post data on that page.

Here my problem is with VIEWSTATE, What happened is that when i prepare 2nd page by entering data to first page, one filed's data is appended to my viewstate and then shown in 2nd page.

Also I was tried to collect viewstate dynamically when i navigate to next pages, But it was not worked. It was navigate to default page.

What was the problem could be?

Regards,

TRS







Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with viewstate and postback hertendreef ASP.NET 2.0 Professional 1 May 31st, 2008 04:05 PM
Problem with DropDownList's Viewstate. vinod ASP.NET 2.0 Basics 1 January 19th, 2008 08:07 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM
Viewstate Wervis BOOK: ASP.NET Website Programming Problem-Design-Solution 0 November 30th, 2005 09:42 AM
problem with viewstate? dll? namespace? [email protected] ASP.NET 1.0 and 1.1 Basics 0 June 19th, 2003 02:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.