I need to call ASP.Net server side code from the client. Because I\'m in an ascx user control I can\'t use [webmethod] + PageMethods as this only works on ASPX pages.
I\'ve got some controls in my \'GeneralControls\' assembly (classic DLL), those consists of .ascx file (and codebehind for them).
Here\'s the source of a blank .acsx file I created called LogOnBox. <%@ Control Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"LogOnBox.ascx.cs\" Inherits=\"EC开发者_开发问答ommerce.Views.S
I\'m having a problem with the following situation. I have an ascx which contains a submit button for a search criteria and I am trying to call a validation function in a js file I\'ve used throughou
How do I go about providing localised text for items in a custom web control? I had thought that I just need to add meta.resourcekey tags to the control items and thendefine and fill some resource fil
I have a QuestionControl.ascx and a QuestionControl.ascx.cs code behind file I copied to a new project.When I build the project any references in the code behind file to controls declared in the ascx
Is there a \"best practice\" for placing JavaScript code when you have many partial views and JS code that\'s specific to them?
I have many aspx page includes in my web form. I want to conve开发者_C百科rt them to user controls. Just wanted to confirm whether there is any performance gain in doing so? I have 50 pages in which t
I\'ve done this using a regular .cs file that just extends System.Web.UI.UserControl and then included the assembly of the project that contains the control into other projects.I\'ve also created .asc
I am developing a website in ASP.NET MVC using C#. It works fine on my machine, however when I load it to the production server it generates an error trying to present the home page.