473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Regarding the Controls in an ASP.NET page

How do i get the list of Textboxes in a particulart page ??? I wanted to implement some code on all of the textboxes that were present in that particular page when the user clicks on the button .........How can i accomplish this??????

I have a solution but there is a problem in it

foreach (TextBox t in ???)
{
}

??? -- Please tell me what should i write there in order to get the list of all Textboxes that are used in that particular Webpage.
Feb 13 '08 #1
1 733
nateraaaa
663 Expert 512MB
How do i get the list of Textboxes in a particulart page ??? I wanted to implement some code on all of the textboxes that were present in that particular page when the user clicks on the button .........How can i accomplish this??????

I have a solution but there is a problem in it

foreach (TextBox t in ???)
{
}

??? -- Please tell me what should i write there in order to get the list of all Textboxes that are used in that particular Webpage.
Have a look at this http://www.thescripts.com/forum/thread249285.html.

Nathan
Feb 13 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Marcelo | last post by:
Hello, I am trying to create a postback event, and it is working, just not calling the sub. I have a datagrid which has <asp:DataGrid id="Mensajes" ... <Columns> <asp:HyperLinkColumn ....
2
by: Wysiwyg | last post by:
I was hoping to get some opinions on the efficiency of various methods of reusing the same dropdown list data. Here is the situation: Multiple panels on maintenance pages with TAB menus across...
1
by: anishsulakhe | last post by:
I am currently a MCA Students and doing my Industry project. I hav created a eCommerce Server on DOTnet in C# Language.The team membe were 6, in which my contribution was creating User management....
1
by: Joseph Ferris | last post by:
I am working on a Web Application that can dynamically load UserControls, a la a plugin style system. When I create any new controls within the project, all is fine. What my question is, would...
3
by: Henry | last post by:
I know it is possible to store dynamic propterties for applications in XML files. The app.config and the web.config files can be used to store AppSettings... I am just wondering how far one can...
2
by: jaffar.kazi | last post by:
Hi, What is the exact name to use to get a control reference on an asp.net page using FindControl? My experience is the following: 1. Page.FindControl does not work; it always returns null, even...
2
by: DotNetDev | last post by:
Hi I have a control (child2.ascx). Which I place in a repeater in another controls (child1.ascx). Child2.ascx is again placed in a repeater on a Page(Page1.aspx). What will be a good way to...
10
by: Rob | last post by:
I am reading a book that says that the "name" property can be altered only at design time and cannot be modified at runtime. Please explain this given the code below... If you click Button3......
2
by: =?Utf-8?B?ZHNvcnJlbGw=?= | last post by:
I've been having a recurring issue with master page authentication. Right now, I have verification code in the Page_Init event of the master page, which checks the Page.User object to make sure the...
0
by: Bhuwan Bhaskar | last post by:
Hi I am new for datagrid. I want to update the Datagrid. My code work fine. I want to hide the third column ie id (Which is also the primery key) from the user or make the column read only. I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.