Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am new to SharePoint. I am trying to create a web part using visual studio. I can add controls in the .ascx page.Now I can't take that controls in the code part. But yesterday there is no problem for accessing the controls. Could you please help me to find out the reason behind it.
Thanks....
Posted
Updated 13-Feb-12 2:22am
v2
Comments
[no name] 13-Feb-12 8:23am    
What version of SharePoint? What version of VS? What do you mean "take that controls in the code part"? You need to clarify the question before anyone can help.
Herman<T>.Instance 13-Feb-12 16:12pm    
without code is very hard to find the problem but I guess you miss runat="server"

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