SunQuest
 
           .NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 24th, 2001, 04:47 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
pass a form to a web user control(pagelet)

<i><b>Originally posted by : Annie Wang (hwnag@made2manage.com)</b></i><br /><br /> We have quite a few forms which have a common toolbar. On the toolbar are image buttons to do "Save", "Delete", etc. As we switch to asp.net, I want to build this toolbar as a user control(pagelet) so every form can just use this control. But problem comes when I try to process data in these forms. First, the forms are not accessible with the user control, so I have to pass it as a property of the user control. But how to pass a form? After that, I have to go through all the controls (no idea what they are) in these forms. I have done this in ASP. But I am not sure if I can use the same way in ASP+. In other words, could I use some thing like: <br /> foreach(webcontrol ctrl in myform)<br /> {<br /> //copy data to a DataSet<br /> }<br /> <br /> Thanks for any help.<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > pass a form to a web user control(pagelet)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway