code-behind
How to call project_2/search.aspx from project_1/login.aspx
My capex project folder contains all the pages for my asp.net/vb.net websit开发者_如何学Goe. I added a login folder for my login.aspx when I needed to support OpenId authentication, but only found c#[详细]
2023-03-23 03:38 分类:问答Alert message on Page_Init
I have a security class that is called by a PageBase class (that all pages will inherit from) that will redirect the user to either the home page or the login page (depending on if they\'re logged in[详细]
2023-03-23 01:34 分类:问答Code behind safety ASP.NET .CS
I\'m new to web programming and have a question about code be开发者_Go百科hind in ASP.NET C#. How safe is it from someone seeing what\'s in it? The reason I ask is the program I\'m linking this websit[详细]
2023-03-21 05:26 分类:问答C# Timers stopping intermittently
Can anybody suggest any reasons why a C# timer (created in a code-behind class) would stop without being told to?[详细]
2023-03-19 15:17 分类:问答asp.net sqldatasource vs doing it in code behind
This is probably going to boil down to a philosophical question more than anything, but is there really any major difference between using the <asp:sqldatasource> in the aspx file versus doing a[详细]
2023-03-18 20:53 分类:问答Calling the original Page_Load function from inline code
I like to Monkey patch a ASPX website so that I can add stuff to the Page_Load method within a compiled assembly.[详细]
2023-03-18 12:23 分类:问答Is there anything wrong with a static class which has totally unrelating, static, methods?
I am currently working with a lot of C# code-behinds which were not originally written by me. They were written as massive lumps of horrible looking code and it is now my job to sort it out.[详细]
2023-03-17 03:05 分类:问答Call .js file in UpdatePanel from CodeBehind
I am have been trying to teach myself ASP.NET and Javascript for a project and have been stuck on one problem for literally dozens of hours now.[详细]
2023-03-15 08:09 分类:问答Why we dont use code behind concept in mvc?
I was just going through this asp.net MVC pattern and someone suggested not to use code behind. Is there any specific reason for that?开发者_StackOverflow中文版??the whole pattern is based on not usin[详细]
2023-03-14 12:13 分类:问答Content doesn't show on ToggleButton styled and templated in code
I found myself needing to define some styles and templates for a couple ToggleButton elements that I\'m using in one of my programs. I have everything working, except that whatever I set as the conten[详细]
2023-03-13 18:30 分类:问答