Skip to content

Magenaut

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

code-behind

aspx element is not recognized in code behind (asp.net)

September 5, 2022 by Magenaut

I created an element with runat=”server” tag but i cannot be recognized in the code behind.(“time” is not recognized)

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

Access color string from code behind in .css-File in ASP

September 4, 2022 by Magenaut

I have 3 files for my Login-Screen: Login.aspx, Login.aspx.cs, LoginStyle.css

Categories ASP.NET, Q&A Tags asp.net, code-behind, css Leave a comment

Change colors of background-image gradient from code behind

September 3, 2022 by Magenaut

I am creating a login button like this:

Categories ASP.NET, Q&A Tags asp.net, code-behind, css, linear-gradients Leave a comment

The name ‘controlname’ does not exist in the current context

September 3, 2022 by Magenaut

I have a web application that I’m working on (ASP.NET2.0 with C#, using VS2005). Everything was working fine, and all of a sudden I get the error:

Categories ASP.NET, Q&A Tags asp.net, c#, code-behind, visual-studio-2005 Leave a comment

How to call a C# function from JavaScript?

September 3, 2022 by Magenaut

I want to call CsharpFunction, a C# function in code-behind, from JavaScript. I tried the code below but whether the JavaScript condition is True or False, CsharpFunction was called regardless!

Categories ASP.NET, Q&A Tags asp.net, c#, code-behind, javascript Leave a comment

how to access master page control from content page

September 2, 2022 by Magenaut

I have a master page which contains a label for status messages. I need to set the status text from different .aspx pages. How can this be done from the content page?

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

ASP.NET Web Application Message Box

September 2, 2022 by Magenaut

In an asp.net windows forms application, in the C# code behind you can use:

Categories ASP.NET, Q&A Tags asp.net, c#, code-behind, messagebox, web-applications Leave a comment

Unable to call App_Code class from a code-behind

September 2, 2022 by Magenaut

I have a class in a file that’s in the “App_Code” folder. I’m able to use this in an “aspx” file but not from a code-behind file. How do I make it visible to a code-behind?

Categories ASP.NET, Q&A Tags app-code, asp.net, code-behind, mono Leave a comment

Call javascript from vb.net code behind

September 1, 2022 by Magenaut

How can I call a javascript function from code behind?
The most popular response is “ScriptManager.RegisterStartupScript” however, that does not work in my situation.

Categories ASP.NET, Q&A Tags asp.net, code-behind, javascript, vb.net Leave a comment

How to access a JavaScript variable from code behind in asp.net

September 1, 2022 by Magenaut

i am using a JavaScript and it have the below code:

Categories ASP.NET, Q&A Tags asp.net, code-behind, javascript, variables Leave a comment
Older posts
Page1 Page2 … Page4 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