Top "Ascx" questions

The ascx is used to create or define custom usercontrols to be placed onto web pages.

How to call an ASP.NET WebMethod in a UserControl (.ascx)

Is it possible to place a WebMethod in an ascx.cs file (for a UserControl) and then call it from …

c# jquery asp.net webmethod ascx
Pass data from a ASP.NET page to ASCX user controls loaded dynamically

I'm developing an ASP.NET application with C# and Ajax. I have a page that holds user controls loaded dynamically. …

c# asp.net-ajax communication ascx
Is there a way to use "<%= someObject.ClientID %>" in an external javascript file?

Is there a way to use "<%= someObject.ClientID %>" in an external javascript file? If I use the code &…

javascript asp.net ascx clientid
Retrieve SharePoint List Data and bind this to a dropdownlist

I'm fairly new to SharePoint so apologies in advance for sounding like a 'Newbie'. I have created a simple Webpart, …

drop-down-menu web-parts ascx
Use a legacy ASP.NET ASCX User Control in MVC Razor view

I am trying to implement a MVC Razor _Layout.cshtml page that uses a WebForm ascx User Control (non-MVC). I …

asp.net-mvc webforms ascx
Code behind file not recognizing controls in *.ascx

I have a QuestionControl.ascx and a QuestionControl.ascx.cs code behind file I copied to a new project. When …

c# asp.net ascx
Use if condition in ascx file

Hi, I want to use if condition in .ascx file. As shown below: <%= if (value.equals("xyz")) {} %> as …

asp.net if-statement ascx
Accessing variable declared in aspx.cs in aspx or variable declared in ascx.cs ascx page

I was asked a question in an interview, weather we can access a publically declared variable which is been declared …

c# asp.net ascx
Can a Web User Control (.ascx) use a CSS file for styling?

Here's the source of a blank .acsx file I created called LogOnBox. <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LogOnBox.…

c# asp.net css asp.net-mvc-2 ascx