Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

master-pages

How do I reference an ASP.net MasterPage from App_Code

August 28, 2022 by Magenaut

I’m working on a .net 3.5 site, standard website project.

Categories ASP.NET, Q&A Tags asp.net, c#, master-pages Leave a comment

ASP.NET masterpages: how to insert markup in the head section inside the aspx?

August 28, 2022 by Magenaut

I know I can access the head section of a page which uses a masterpage programmatically this way (in code behind):

Categories ASP.NET, Q&A Tags asp.net, declarative, header, master-pages Leave a comment

ResolveUrl Problem in Master Page

August 28, 2022 by Magenaut

Okay,

Categories ASP.NET, Q&A Tags asp.net, c#, master-pages, resolveurl Leave a comment

Calling Content Page Method from MasterPage Method

August 28, 2022 by Magenaut

Possible Duplicate:
content page class method calling from master page class

Categories ASP.NET, Q&A Tags asp.net, c#, content-pages, master-pages Leave a comment

Using FindControl to get GridView in a Content Page

August 28, 2022 by Magenaut

I would like to find a GridView Control within a separate class and I am having issues doing so. I even tried placing my code in the aspx.cs page to no avail. I keep getting Object reference not set to an instance of an object. I’m sure there is a simple step I’m missing, but in my research I cannot seem to find anything.

Categories ASP.NET, Q&A Tags asp.net, findcontrol, gridview, master-pages Leave a comment

Can I dynamically add HTML within a div tag from C# on load event?

August 27, 2022 by Magenaut

Mind you, I am using master pages, but can I locate a div within the page and throw some html in there? Thanks.

Categories ASP.NET, Q&A Tags .net-3.5, asp.net, c#, master-pages Leave a comment

Twitter bootstrap + asp.net masterpages, how to set navbar item as active when user selects it?

August 27, 2022 by Magenaut

We are in se same situation as question Make Twitter Bootstrap navbar link active, but in our case we are using ASP.net and MasterPages…

Categories ASP.NET, Q&A Tags asp.net, master-pages, navbar, twitter-bootstrap Leave a comment

How to get the ScriptManager of Master Page into Child page’s code behind c# (.cs) file

August 27, 2022 by Magenaut

Following is the web site environment I created:

Categories ASP.NET, Q&A Tags asp.net, c#, master-pages, scriptmanager Leave a comment

How to include Javascript file in Asp.Net page

August 26, 2022 by Magenaut

I want to do some client side validation using javascript in ASP.NET page.

Categories ASP.NET, Q&A Tags asp.net, javascript, master-pages Leave a comment

Set Property Value on Master Page from Content Page

August 26, 2022 by Magenaut

I need to pass data to a variable in my master page each time a page is loaded.

Categories ASP.NET, Q&A Tags asp.net, master-pages, roles Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress