asp.net WebControl is a control hosted on a webpage or in a UserControl. It consists of one or more classes, working in tandem, and is hosted on an aspx page or in a UserControl. WebControls don't have a UI "page" and must render their content directly. They can be reused in other applications by referencing their DLLs.
Questions tagged [asp.net-webcontrol]
78 questions
0
votes
1 answer
To replace the asp.net Wizard control, what would be the best option?
I have asp.net wizard control with 3 steps. In each wizard step i have datagrid with huge data populated. Now there is a technical requirement for removing this wizard and using one best workaround. What would be the best way there? If anyone…

R.L. Narayanan
- 53
- 1
- 11
0
votes
1 answer
Rendering asp.net Wizard control in DIV layout instead of TABLE layout
I used ASP.NET Wizard control in a project and its working fine there. But the wizard is rending it's html in TABLE layout. I need to convert the rendering mechanism to DIV instead of TABLE layout. After doing some research in the internet I found…

Simant
- 3,142
- 4
- 32
- 61
0
votes
0 answers
ScriptManagerProxy caches js files changes not reflected
I use this to reference a file
Any changes i make to this script…

user581157
- 1,327
- 4
- 26
- 64
0
votes
2 answers
Event property not being recognized in my Web API Controller
I'm getting pretty desperate here since this code was working before I had some unfortunate git issues and had to wipe out my project and checkout again. For some reason my IQueryable objects are not allowing me to reference properties anymore. In…

user3704351
- 67
- 2
- 6
0
votes
2 answers
ASP.Net Calendar Control styling background behind title
I'm trying to remove grey background behind calendar title but not having any luck. This is the default calendar control found in the toolbox. Can anyone see what I'm missing?
My best guess was:
#Calendar1 td
{
background-color:…

Rod
- 14,529
- 31
- 118
- 230
0
votes
0 answers
ValidationGroup Not Working in WebControl
I have an address form WebControl built in a class library that I use in a number of projects within a single solution. I am trying to send in a ValidationGroup and assign it to all the RequiredFieldValidators in that control and it does not…

CoderMarkus
- 1,118
- 1
- 10
- 24
0
votes
1 answer
How to get attribute value from .Net WebControl?
For example I have a web control being created the following way:
How would I get the value of CurrentSite in code behind(TestControl.cs)? I tried to get the value by…

pmaj
- 51
- 7
0
votes
0 answers
How to have shared contents in web controls?
I am working on a DotNetNuke module that obviously uses web controls to show different pages.
I would like to have some shared content on all pages(web controls). In fact I am using bootstrap to render my menu items which it has a markup like this…

Beatles1692
- 5,214
- 34
- 65
0
votes
1 answer
Custom CheckBoxList WebControl Error
I am creating a custom CheckBox WebControl which inherits From System.Web.UI.WebControls.CheckBox in ASP.NET. But getting this error when postback:
Input string was not in a correct format.
[FormatException: Input string was not in a correct…

izel
- 15
- 1
- 4
0
votes
1 answer
ASP.NET webcontrols render wrong in different culture settings
I have a self defined web control.
Some code in a loop:
double cellHeight = 12.34;
Label dcell = new Label();
dcell.Style["height"] = cellHeight + "pt";
dcell.Text = cellHeight;
If I use…

user1614536
- 25
- 4
0
votes
1 answer
JavaScript on RadGrid User Web Control
I have a unique situation and I can't find any help on it. I have a RadGrid that uses a User Web Control(.ascx) to insert and edit the grid items. I need to used javascript to get the value of two RadTextBox on the User Web Control and sum them…

zXSwordXz
- 176
- 4
- 15
0
votes
1 answer
"Cannot have multiple items selected in a dropdownlist" Error in AppCode
I have a user defined type dropdownlist(DDL) on my web form page which is inherited from System.Web.UI.WebControls.DropDownList. I fill my DDL in Page's code file (.aspx.cs) and AppCode like this without getting error.
public static void…

suphero
- 497
- 2
- 8
- 18
0
votes
1 answer
submit button not working in GeckoFX
I have this code:
and tried this in C#:
GeckoInputElement enter = new…
0
votes
1 answer
How can I find a control in C# from a class file?
I am having a heck of time here. I have a class file and I need to reference a control from a web page in it. I've found some examples around the web, but something is not working correctly. Here's the relevant C#:
Page page =…

mrcoulson
- 1,331
- 6
- 20
- 35
0
votes
0 answers
Parse JSON data in a asp.net 4.5 repeater
Ok, so I have a repeater which renders among other things a literal control which contains a string of JSON data. this data is lifted from a database and is set up as follows:
public void GetResults(string messageId)
{
var messages =…

CSharpNewBee
- 1,951
- 6
- 28
- 64