Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
hi guys,
there is a big problem that i am facing. Actually, i want to add a meta tag in a running website. there is a aspx page in which master page has been called. And problem is this that all code should be compiled so i can't able to add anything in the pages. So, please help me how can i add meta tag. And the developer that develop this portal not able to give me a code.
Posted 16-Jan-13 9:44am
BC @ CV at 16-Jan-13 15:46pm
You can't change the code behind without re-compiling, but you can change the .aspx page, its just text.
Sergey Alexandrovich Kryukov at 16-Jan-13 16:19pm
I cannot see why not, so it's not clear where is the problem.
Member 8214635 at 23-Jan-13 9:10am
Thanks. But i have a deafault page which is include masterpage. So meta tag is only include in masterpage.master.cs But this page is Pre-compiled. So, i am not able to add any code in it. If i decompile it and try to run project it giving me a error app_code/ is not allowed becoz it is precompiled..
I am not to much professional on break all DLL and right now i have all code and class file. But iam not able to run the project. If you help me i always thanks to you...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1: Open Site.Master (it will be called 'something.Master') in a text editor.
2: Add your 'text' into the page at the appropriate point.
3: Save file.
4: Run.
Job done.
Member 8214635 at 20-Jan-13 15:37pm
there is a file called masterpage.master. i also check to add meta tag in it but it was not reflect on server side. the meta tag is calling by c# i was check the dll file code using .net reflector. that all are hard coded. so i was not able to change any thing in it.

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

Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100