DIV Formating
-
Dear Friend, I have one control DIVSION (Server side) on more then 20 forms, i am using that control as Error Message or Successful message control all working fine but now i want that control work dynamic as if there is error message it should show message in red coloured and so on... I know i can manually go each and every control and set this but i want to handle it with some smart way by using base class of that form but don't know how to capture Error and Successful message, can any one help me regarding the same Thanks and Regards Sasmi
-
Dear Friend, I have one control DIVSION (Server side) on more then 20 forms, i am using that control as Error Message or Successful message control all working fine but now i want that control work dynamic as if there is error message it should show message in red coloured and so on... I know i can manually go each and every control and set this but i want to handle it with some smart way by using base class of that form but don't know how to capture Error and Successful message, can any one help me regarding the same Thanks and Regards Sasmi
Create a method in the BaseClass which might find the control from the page and show the proper error message if found. Use
this.FindControl("hypMainMenu");
:)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript