Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
84 views

I just added a new control in an existing page aspx file, assuring the validity of the markup and code itself by running it locally in debug shows correctly the new control and behaviors in page. But ...
Pascal Boutin's user avatar
0 votes
1 answer
103 views

I am migrating an .NET application from .NET 4.5.1 to .NET 8.0 and I found out that these two things do not exist anymore. Are there any replacements for the ListViewGroups and ListViewItem....
EzRam's user avatar
  • 1
0 votes
0 answers
127 views

All: I'm new at C#, lifelong VB coder. I'm trying to do something in ASP.NET that I commonly do: Inherit System.Web.UI.Page. I've created the class for the 'InheritedPage', and now I'm pointing my web ...
Steve Gray's user avatar
0 votes
1 answer
3k views

I have upgraded my project from .Net 4.8 to .Net8, after upgrading I am getting errors related to System.Web.UI. Can someone suggest how I can resolve this or what is the alternative of System.Web.UI ...
Gaurav Jain's user avatar
-1 votes
1 answer
46 views

How on earth is this SiteMapPath1 being populated? I have checked everywhere. I don't expect an exact answer just some ideas how it could be getting populated. Front end Back end After page is ...
dovakeen117's user avatar
0 votes
1 answer
216 views

I have a checkbox list inside a table row. The Checkboxes are equally spaced out but i want to remove the spacing between each checkbox. is this possible ? Also is it possible to text wrap labels that ...
Shafeel Mohammed's user avatar
1 vote
1 answer
7k views

I'm migrating MVC application to ASP.NET CORE. In that I'm using web user control. UserControl ctrl= oLogSite as UserControl; Here oLogSite is object type. Please let me know how to use in .Core
Lakshm's user avatar
  • 67
2 votes
1 answer
453 views

I use a treeview control in my webform in ASP.NET and the rendered HTML is like this: <td class="SingleCheckbox ctl00_ContentPlaceHolder1_FormView1_TreeView1_2" style="white-space:nowrap;"> &...
Mariam's user avatar
  • 563
0 votes
1 answer
358 views

Here is my code: <ajaxToolKit:TabPanel ID="mainTabMedicaidData" runat="server" HeaderText="Medicaid Data"> <ContentTemplate> <ajaxToolKit:TabContainer ID="...
user avatar
1 vote
1 answer
1k views

I need to do a dropdownlist with optgroup. I found lots of guides and all foresee the use of WebControlAdapter this is the guide that I'm fllowing I've added the class to my App_Code folder project: ...
Martina's user avatar
  • 1,928
0 votes
0 answers
93 views

I get this err page: Server Error in '/EMS/customerreportingnet' Application. Operation is not valid due to the current state of the object. Description: An unhandled exception occurred during the ...
B. Clay Shannon-B. Crow Raven's user avatar
0 votes
2 answers
2k views

I am still fairy new to C# development and have a question about creating objects. I am working on a website and I want to pull form values in the behind code after submit. Ultimately I am trying to ...
Learn12's user avatar
  • 216
1 vote
0 answers
264 views

I have an asp page (.aspx) page, and a asp:Panel in it. I use Telerik library but this is irrelevant, I think. I now need to move the asp:Panel tag outside the main file, into another, stand-alone, ....
Nillus's user avatar
  • 1,219
0 votes
2 answers
1k views

I have a list which the elements can be reordered or dragged out of the list by JQuery sortable function. When the user press save, raises a postback. I need to capture the list, get the ids still ...
MiguelSlv's user avatar
  • 15.4k
2 votes
0 answers
1k views

I'm trying to convert treeview that uses the older htc tag< iewc:treeview> to use the newer asp treeview tag < asp:TreeView >. I noticed that the treeview object is different as in the older ...
usr4896260's user avatar
  • 1,507
0 votes
2 answers
90 views

I'm trying to change the Text in my TextBoxes in a form but I can't find out how to account for all of my TextBoxes without doing them individually... I've tried the following code; however, my int i ...
Jacob Johnson's user avatar
0 votes
0 answers
58 views

I've been struggling all day trying to figure out the following problem. I am creating a custom web control in ASP .NET so that I can render my CheckBoxList different than Microsoft. public class ...
Stelios Ioannou's user avatar
3 votes
2 answers
3k views

I am attempting to DataBind an asp:DropDownList with a Collections.Generic.List of System.Web.UI.WebControls.ListItems. The DataBind() is throwing this error. System.ArgumentOutOfRangeException: '...
Ryan O'Hara's user avatar
0 votes
2 answers
79 views

I have the following method to return a List of WebControls in my helper class: public static List<T> GetControls<T>(ControlCollection cCol) where T : WebControl { List<T> ...
Marco's user avatar
  • 24.1k
0 votes
2 answers
340 views

I am working on a project in Visual C# 2010 Express and need to use the following references: System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; ...
Bad Programmer's user avatar
0 votes
1 answer
1k views

Im using classic asp.net charting to present some data then placing it into a PDF. A problem I cant seem to solve is when I add the legends to the right hand side of the graph it gets pushed down. Can ...
user987723's user avatar
11 votes
1 answer
31k views

I need to use System.Web.UI in a class library project. using System.Web.UI; namespace OnlinePdViewer { public class DisplayPd { } } I get compile error when using System.Web.UI ...
perlynsparks's user avatar
0 votes
1 answer
125 views

I'm currently getting a compiling error when I try to access a page of my website. This error has only started happening. It's in the compiling code for a page that's having data bound to it. A ...
Mark Baxter's user avatar
-1 votes
1 answer
10k views

I have an ASP.NET control, for example a DropDownList. I want to set the width of the control to auto. How do I achieve this? The Width property in ASP.NET control does not seem to accept auto, but it ...
rcs's user avatar
  • 7,317
0 votes
1 answer
287 views

When converting a website to a web app, the designer creates the code protected global::System.Web.UI.WebControls.LinqDataSource and I get the error namespace name 'LinqDataSource' does not exist ...
user2959284's user avatar
1 vote
0 answers
117 views

Perhaps this question is a bit too general, but I'll try to narrow it down by explaining my scenario. I have a login page, with an html input button: <input runat="server" id="btnLogin" type="...
U r s u s's user avatar
  • 7,058
0 votes
1 answer
54 views

today I seen BaseDataList in MSDN Tutorial.But I am confuse about BaseDataLIst control / class. Is it concept or web form control ? or Is it base class for DataControls in asp.NET According to msdn ...
Niks's user avatar
  • 1,007
1 vote
0 answers
2k views

I have the "Export to Excel" button added to my jqGrid. It works fine until I linked the jqGrid to a large GridView with 20,000 records each having 200 fields (columns) I am getting the {"Exception ...
mitaka's user avatar
  • 2,199
0 votes
1 answer
93 views

Web.UI.Controls.TextBox in my aspx page i have used- <asp:TextBox ID="TextBox1" runat="server" OnTextChanged="tmaintextchanged" ></asp:TextBox> in my code behind : <asp:Label ID="...
user2074474's user avatar
0 votes
1 answer
1k views

I need to set text property for any type controls(Ex. Textbox,Label,HyperLink..etc) from my web page dynamically. Here is my code foreach (string id in List<IdCollection>) { Control ctrl = (...
Suresh's user avatar
  • 466
0 votes
1 answer
184 views

I have a set of System.Web.UI.DataVisualization charts (ASP.NET 4.0) working great and saving the files to disk. No problems and works great. The challenge is that I am serving all of my static ...
kiddailey's user avatar
  • 3,764
0 votes
2 answers
4k views

I am working on an online web application written in C# and I am using System.Web.UI.WebControls.TreeView The treeview is represented by an asp:TreeView tag embedded on the webpage. its weird, I'm ...
crazyTech's user avatar
  • 1,517
4 votes
1 answer
6k views

HttpContext.Current.ApplicationInstance.CompleteRequest appears to be doing nothing. What am I missing? For example, despite the fact that CompleteRequest is called during every interesting event, ...
David Eison's user avatar
  • 1,366
1 vote
0 answers
117 views

How can I impose similar behavior that acceptsReturn = "True" imposes on a System.Windows.Forms textbox on a System.Web.UI.WebControls textbox? If asp:TextBox cannot have this behavior, i.e., going ...
Dogahe's user avatar
  • 1,425
0 votes
1 answer
585 views

I have a website which is code generating practically everything on the page. The home page consists of a right menu which is being built via code. It uses System.Web.UI.WebControls.TableCell class ...
SOLDIER-OF-FORTUNE's user avatar
1 vote
2 answers
759 views

I've built a class that derives from System.Web.UI.WebControl. It basically renders pagination links (same as what you see on top of GridView when enabled) for use above a repeater. I'm creating some ...
Dave's user avatar
  • 281
1 vote
1 answer
15k views

I'm trying to add rows dynamically to a System.Web.UI.WebControls.Table control in ASP.NET. I found some sample code that does what I'm seeking, but it only adds a single row. It seems like the ...
jtherkel's user avatar
  • 139
0 votes
1 answer
773 views

I'm trying to access the ListView class from System.Web.UI.WebControls in my class library. So I added a reference to System.Web and expected it to then show up but unfortunately it didn't. Now I can ...
John_'s user avatar
  • 2,981