473,699 Members | 2,383 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get and Set Values of Child controls on Formview

PW
I wish to get and set values on child controls on a formview.

For example. Changing the text in textbox. Hiding or unhiding child
controls based on user. Replacing a blank with a default or calculated value
that will need to be generated at runtime.

It seems as though this should be thoroughly documented, but I'm not finding
much.

Thanks.
Sep 17 '06 #1
2 1489

PW wrote:
I wish to get and set values on child controls on a formview.

For example. Changing the text in textbox. Hiding or unhiding child
controls based on user. Replacing a blank with a default or calculated value
that will need to be generated at runtime.

It seems as though this should be thoroughly documented, but I'm not finding
much.
This newsgroup covers classic asp, which is a totally different
technology to asp.net. You should try
microsoft.publi c.dotnet.framew ork.aspnet.

--
Mike Brind

Sep 17 '06 #2
PW
thanks mike

"Mike Brind" wrote:
>
PW wrote:
I wish to get and set values on child controls on a formview.

For example. Changing the text in textbox. Hiding or unhiding child
controls based on user. Replacing a blank with a default or calculated value
that will need to be generated at runtime.

It seems as though this should be thoroughly documented, but I'm not finding
much.

This newsgroup covers classic asp, which is a totally different
technology to asp.net. You should try
microsoft.publi c.dotnet.framew ork.aspnet.

--
Mike Brind

Sep 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3878
by: Michael Glass | last post by:
I'm working on an ASP.Net web app using VS2005 and the .Net 2.0 framework, and I have a serious problem with the page I'm currently working on. The page has, among other things, two FormViews and a GridView control, each with its own SqlDataSource. FormView1 talks to my Opportunity table and has an ItemTemplate and an EditItemTemplate. FormView2 talks to my Activities table and has an ItemTemplate, InsertItemTemplate and an...
0
324
by: Neil | last post by:
I want to be able to set the enabled status of certain controls on the edititem template of a formview control based on whether a check box is checked or not (or the value coming from the database as stored by the sqldatasource) . I've tried code such as: CheckBox cb = (CheckBox)FormView1.Row.FindControl("SysDefMethod"); Button ub = (Button)FormView1.Row.FindControl("UpdateButton");
9
2813
by: Dick | last post by:
How do I set the focus to a control that is a child to a FormView? I've tried the obvious (below) and lots of variations but none seam to work! Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Me.FormView1.Row.FindControl("TextBox1").Focus() End Sub
0
1177
by: Hawk | last post by:
Hello, this is my first post hope to get some good answers. I am using asp.net 2.0 and I am trying to pass the value entered in the formview textbox in insert mode "in this case it is the default mode" to a label or hidden field outside of the formview when the insert button is pushed. Is there a way to do this? The App I am creating using many interrelated tables by forgiegn keys and in this case I need to insert a record in one...
1
1356
by: Dan Sikorsky | last post by:
How can you tell which FormView controls have different values from their initial values when the page was loaded? If the user clicked the submit button on the EditItemTemplate and no controls have truly changed values, then we don't have to update the database. -- Thank you kindly, Dan Sikorsky BA, BSCE, MCS
1
3391
by: Andrew Hayes | last post by:
I have a parent page with a gridview, and a child page with a formview. Using the solution on velocityreviews: http://www.velocityreviews.com/forums/t80654-solution-raising-an-event-handler-postback-on-parent-window-from-popup-child-window-dialog-box.html I was able to create the Parent and Child Window custom controls and get them to work correctly so that I could select a row in the GridView of the parent page and popup a child...
2
2366
by: Matt MacDonald | last post by:
Hi all, I'm having an issue that's driving me crazy. I have a datatable that I need to display all the information for on a page. So, instead of manually coding every single column to a label, I decided it would be easier and safer to use a formview to display it all, bound to an objectdatasource. Sounds simple enough. The problem is that many of my fields could potentially have null values, which produces an error similar to the...
4
8555
by: pankajsingh5k | last post by:
Hi guys, These question is for all the experts... Please help me before my brain explodes The problem is again with the formview control.. I have a formview and i have to use it that when it displays it shows values from the database and i have a link button edit on the ItemTemplate that changes the mode to edit mode and allows to edit the values which can be edited...
0
8687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9034
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8914
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8883
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3057
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.