|
|
|
Validating Custom User Control
|
|||
|---|---|---|---|
|
#18+
hi! I have a user control, which consists of a label and a text box. I want to make validation of my user control with standard asp.net validators. I write the following: [System.Web.UI.ValidationPropertyAttribute("TextBoxValidation")] public class MyUserControl : System.Web.UI.UserControl { public string TextBoxValidation { get {} set {} } The question is: What should be written in the TextBoxValidation setter and getter? Thanks in advance! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.10.2006, 00:04:42 |
|
||
|
Validating Custom User Control
|
|||
|---|---|---|---|
|
#18+
Привет из центра! Апельсины будем грузить бочками... Hi! I wrote some code for You! It's written on VB.NET for FW 2.0 but I hope you can translate this on C#... Here is it: UserControl Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.10.2006, 02:26:54 |
|
||
|
|

start [/forum/topic.php?fid=18&gotonew=1&tid=1388744]: |
0ms |
get settings: |
10ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
197ms |
get topic data: |
6ms |
get first new msg: |
3ms |
get forum data: |
2ms |
get page messages: |
42ms |
get tp. blocked users: |
1ms |
| others: | 217ms |
| total: | 505ms |

| 0 / 0 |
