|
-
Jul 15th, 2008, 10:26 AM
#1
Thread Starter
Frenzied Member
rename ascx file
I rename an ascx file now I screwed my code up. When I tried to call that control e.x page.rules ... I am getting an error that does not contain definition for "rules." It was rule, and I rename it to "rules." Can someone help?
-
Jul 15th, 2008, 12:57 PM
#2
-
Jul 15th, 2008, 01:14 PM
#3
Thread Starter
Frenzied Member
Re: rename ascx file
Yes it's ascx.. I meant in the solution window:
it's called rule.asxc, and I just right click -> selected rename -> then typed rules.ascx
-
Jul 15th, 2008, 01:17 PM
#4
Re: rename ascx file
Save your code somewhere. Remove the .ascx. Add a web user control called rules.ascx. Re-add it to the page with the code you saved.
-
Jul 15th, 2008, 01:39 PM
#5
Thread Starter
Frenzied Member
Re: rename ascx file
nope still not solved the problem. I have a snapshot of my code where I want to call it.
Code:
Forum.GetLink( Pages.rules)
But somehow it only populated "rule" when I put the dot after Pages in VS2005, and "rules" file is not there.
-
Jul 15th, 2008, 01:41 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|