|
-
Apr 27th, 2005, 03:24 AM
#1
Thread Starter
Addicted Member
passing through all textboxes in aspx file
Dear All
How can pass all the textboxes in aspx file and clear them by for each loop????
thnks alot
-
Apr 27th, 2005, 05:31 AM
#2
Hyperactive Member
Re: passing through all textboxes in aspx file
Assuming you have them all in a Panel try:
Code:
foreach(TextBox lobjTextBox in pnlPanel.Controls){
lobjTextBox.Text = "";
}
-
Apr 28th, 2005, 01:02 AM
#3
Thread Starter
Addicted Member
Re: passing through all textboxes in aspx file
Ok thats exactly my problem.
i dont have those textboxes in a panel (is there any benefit to put them like that?) those textboxes are in aspx file. (without panel integrated in it).
my problem is to aacess the aspx file from the code behind vb file.
foreach(TextBox lobjTextBox in What_Should_I_Put_here????){
lobjTextBox.Text = "";
}
-
Apr 28th, 2005, 03:17 AM
#4
Hyperactive Member
Re: passing through all textboxes in aspx file
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|