Click here to Skip to main content
15,917,926 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
See more:
I have created 2 webforms login and signup.and now i have created masterpage.i want to add these webforms to masterpage.i have taken 2 new webforms and select as masterpage and i have copied that code into these 2new webforms..bt it is giving so many errors.What is the solution to this?
and i have changed web config file also.but it is also giving error.What should i do?pls help.
Posted
Comments
Karthik_Mahalingam 21-Jan-14 1:27am    
whats the error u r getting ??
Member 10523130 21-Jan-14 1:32am    
textbox,label that i have used in aspx file.. It is giving error for all textbox,labels as "textbox1 could not be found in current context"
Karthik_Mahalingam 21-Jan-14 1:35am    
try JoCodes solution that will help you
JoCodes 21-Jan-14 1:28am    
Whats teh error?
Member 10523130 21-Jan-14 1:32am    
textbox,label that i have used in aspx file.. It is giving error for all textbox,labels as "textbox1 could not be found in current context"

1 solution

Seems like trying to add the master page to the content pages later.

you can refer and follow the steps

http://stackoverflow.com/questions/5549638/how-to-add-master-page-to-already-created-webform[^]

http://stackoverflow.com/questions/2273368/how-to-assign-a-master-page-to-a-existing-aspx-page[^]

Try and revert if still facing any issues.
 
Share this answer
 
v2
Comments
Member 10523130 21-Jan-14 1:52am    
ok..It is also giving error as "the type or namespace name ajax control toolkit could not be found in the global namespace".. what should i do?
JoCodes 21-Jan-14 2:02am    
Now the other standard controls are getting recognized apart from ajax control kit?
JoCodes 21-Jan-14 2:07am    
Make sure the reference is added for the ajaxlibrary dll in your project
Member 10523130 21-Jan-14 2:10am    
Other standard controls are getting recognized.. But i am having problem with ajaxcontrol toolkit..
Member 10523130 21-Jan-14 2:13am    
i have just included ajaxcontroltoolkit.dll file in my project. But it is telling that assembly reference is missing.and may be bacause of that i am also getting error in web.config at <assemblies>. what shud i do?

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