Click here to Skip to main content
15,912,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: checkBoxLists Pin
Mayank Parmar30-Apr-07 22:46
professionalMayank Parmar30-Apr-07 22:46 
Questionvalidation +asp.net 2.0 + c# Pin
ritu432130-Apr-07 3:35
ritu432130-Apr-07 3:35 
AnswerRe: validation +asp.net 2.0 + c# Pin
MoustafaS30-Apr-07 4:13
MoustafaS30-Apr-07 4:13 
QuestionCan you help me for CSS Pin
mghiassi30-Apr-07 2:53
mghiassi30-Apr-07 2:53 
AnswerRe: Can you help me for CSS Pin
badgrs30-Apr-07 5:01
badgrs30-Apr-07 5:01 
QuestionMap overlay of wmf icon and drag online Pin
Mazumdar30-Apr-07 2:47
Mazumdar30-Apr-07 2:47 
Questionhow to iterate in a controls loop in asp.net 2.0? Pin
Tridip Bhattacharjee30-Apr-07 1:33
professionalTridip Bhattacharjee30-Apr-07 1:33 
AnswerRe: how to iterate in a controls loop in asp.net 2.0? Pin
kubben30-Apr-07 2:15
kubben30-Apr-07 2:15 
I don't think there is any easy way of doing this. If you happen to be dynamicly creating your controls and they are in some sort of array or collection. Then you could loop through that and clear them out. Now all you have is the controls collection off of the Page. This is more difficult since you don't know which controls are in that collection. So as you are looping through the control collection you with have to do some checks. Something like
if (Control is TextBox)
{
TextBox(Control).Text = String.Empty;
}

As so forth. If you have a lot of controls 20+ it might be worth writing this code. Otherwise you might as well just create a method that will clear out the controls by name.

Hope that helps.
Ben
QuestionGet path in DLL rather than from ASP.NET Pin
mail57235230-Apr-07 1:22
mail57235230-Apr-07 1:22 
AnswerRe: Get path in DLL rather than from ASP.NET Pin
Jesse Squire30-Apr-07 1:57
Jesse Squire30-Apr-07 1:57 
AnswerRe: Get path in DLL rather than from ASP.NET Pin
FinishedOnTime30-Apr-07 9:11
FinishedOnTime30-Apr-07 9:11 
Questionhow to floating image box on right side o f bottom of page in asp.net Pin
Piyush Vardhan Singh30-Apr-07 0:44
Piyush Vardhan Singh30-Apr-07 0:44 
AnswerRe: how to floating image box on right side o f bottom of page in asp.net Pin
Jesse Squire30-Apr-07 2:03
Jesse Squire30-Apr-07 2:03 
AnswerRe: how to floating image box on right side o f bottom of page in asp.net Pin
Arun.Immanuel30-Apr-07 2:44
Arun.Immanuel30-Apr-07 2:44 
GeneralRe: how to floating image box on right side o f bottom of page in asp.net Pin
Piyush Vardhan Singh30-Apr-07 3:10
Piyush Vardhan Singh30-Apr-07 3:10 
GeneralRe: how to floating image box on right side o f bottom of page in asp.net Pin
Arun.Immanuel30-Apr-07 4:02
Arun.Immanuel30-Apr-07 4:02 
GeneralRe: how to floating image box on right side o f bottom of page in asp.net Pin
badgrs30-Apr-07 5:03
badgrs30-Apr-07 5:03 
Questionurgent help is required Pin
speedy_gonzalas30-Apr-07 0:42
speedy_gonzalas30-Apr-07 0:42 
AnswerRe: urgent help is required Pin
Christian Graus30-Apr-07 0:46
protectorChristian Graus30-Apr-07 0:46 
AnswerRe: urgent help is required Pin
Wael Al Wirr30-Apr-07 2:43
Wael Al Wirr30-Apr-07 2:43 
GeneralRe: urgent help is required Pin
Colin Angus Mackay30-Apr-07 10:28
Colin Angus Mackay30-Apr-07 10:28 
QuestionASP.NET/PDF Pin
kirthikirthi30-Apr-07 0:40
kirthikirthi30-Apr-07 0:40 
AnswerRe: ASP.NET/PDF Pin
Christian Graus30-Apr-07 0:53
protectorChristian Graus30-Apr-07 0:53 
AnswerRe: ASP.NET/PDF Pin
Abolfazl Sheikhloo30-Apr-07 0:54
Abolfazl Sheikhloo30-Apr-07 0:54 
GeneralRe: ASP.NET/PDF Pin
Christian Graus30-Apr-07 1:09
protectorChristian Graus30-Apr-07 1:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.