Click here to Skip to main content
15,891,597 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
A botton is designed in the view.aspx file and the id name is abutton I wanna access the abutton from the ControlModel.css . The variable is not visible in this class.In controlModel.css I'm not even able to make a new object of view.aspx.cs where the abutton is available.
Posted
Comments
Sergey Alexandrovich Kryukov 18-Nov-11 13:26pm    
ASP.NET? Tag it, too!
--SA

1 solution

You should never have to do this as it defeats the point of using MVC. Handle the UI stuff in your view-class and not in your controller-class.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900