Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Need Help in Maintaining the "View State " of a web form
Previous Previous
 
Next Next
New Post 6/30/2008 7:13 AM
User is offline Sidewinder2
7 posts
10th Ranked


Need Help in Maintaining the "View State " of a web form 

Hi there!,

·        I am having some problem in maintaining the view state of a web form. I have two forms. One is "master" form and another one is "popup "form.

·        I have some text boxes and a data grid in the Master form. And I am loading the data grid in the master form with the values entered in the textboxes in the "pop up" form (by storing those values in a data table and storing it in a "Session variable"). 

·        I have two image buttons in the data grid. One button is for deleting the corresponding row in the data grid. And another one is to open the pop up form with the details in the data grid row which was clicked.

·        After showing the corresponding data grid row in the pop up form changes can be done and after when we click a button in the pop up form called "update" the details entered in the popup form should be populated in the data grid after deleting that corresponding row in the data grid. Every thing works fine.

·        But when I click the delete icon the data grid row (in the master form) which was clicked is getting deleted but the values in the textboxes in the master form is also getting deleted. 

·        This the code I have written to redirect from the pop up form after deleting the corresponding row in the data table

If Request("type") = "D" Then

Call Deleterow(code)

ClientScript.RegisterClientScriptBlock(Me.GetType, "Key", "opener.document.forms['aspnetform'].submit(); window.close();", True)

End If


Thanks & luv U All, Myself
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Need Help in Maintaining the "View State " of a web form
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk
Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP