Click here to Skip to main content
11,647,748 members (67,539 online)
Rate this: bad
good
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
Comments
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. —SA
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 asp.net.I 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
good
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.
  Permalink  
Comments
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)

  Print Answers RSS
0 jyo.net 500
1 F-ES Sitecore 410
2 OriginalGriff 322
3 DamithSL 315
4 CPallini 290
0 OriginalGriff 1,342
1 jyo.net 994
2 DamithSL 971
3 Sergey Alexandrovich Kryukov 873
4 CPallini 795


Advertise | Privacy | Mobile
Web04 | 2.8.150804.3 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2015
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