Questions tagged [asp.net-webcontrol]

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.

78 questions
0
votes
1 answer

MvcHtmlString cuts off apostrophe and everything after

I'm using .NET 4.0 with MVC 4. I have a custom web control pager that returns an MvcHtmlString using MvcHtmlString.Create(...). A sample MvcHtmlString that is returned is:
0
votes
1 answer

Overriding "Text" property of a control extended from Button using C#

I'm having a problem extending the standard WebControls.Button control. I need to override the text property, but I receive the error message: cannot override inhereted member 'System.Web.UI.WebControls.Button.Text.get' because it is not marked…
Dave
  • 25
  • 1
  • 4
0
votes
2 answers

using NameValueCollection how can I just get textbox contrl values?

How do I collect the values of JUST the text box controls? Is there a way to specify this in ASP.NET 4.0? ArrayList alAnswerList = new ArrayList(); int iCount = 0; NameValueCollection frmCollect = Request.Form; iCount = frmCollect.Count; for (int…
JoJo
  • 4,643
  • 9
  • 42
  • 65
0
votes
0 answers

Accessing BeagleBone from the Internet(not from browser)

I wanted to get a head start on how I can control my beaglebone Black from the internet preferably I will have android app there on the other part! I have gone through a lot of tutorials but all they do is access it using the browser and I want to…
0
votes
1 answer

Viability of referencing ASP.NET Web Controls from the HttpContext.Items collection?

MSDN describes HttpContext.Items as being used to: organize and share data between an IHttpModule interface and an IHttpHandler interface during an HTTP request. MSDN doesn't make any recommendations about storing references to Page Controls in…
John K
  • 28,441
  • 31
  • 139
  • 229
0
votes
3 answers

Creating a collapsable area in ASP.NET

currently i've built a collapseControl which behaves similar to a label (associatedControlID) to control the collapse-state of a control. following control i'd like to build: collapsableArea…
user57508
0
votes
0 answers

Create General Custom Web.config reader

I need your help on this. I've seen a lot of articles on how to create a custom web.config reader (like this: Custom ConfigurationSections in .NET 2.0 .config Files). However, is it possible to have something general where I can just pass the…
Musikero31
  • 3,115
  • 6
  • 39
  • 60
0
votes
1 answer

When it comes to integrating SSRS into Apps, what's the difference between "ReportViewer controls for Visual Studio" and "URL access"?

I'm about to set up a web-page where my SSRS will be viewed. I see that there are three options(Report Server Web service, ReportViewer controls for Visual Studio, and URL access) I wanted to know about the main difference between "ReportViewer…
Caffeinated
  • 11,982
  • 40
  • 122
  • 216
0
votes
2 answers

foreach CheckBoxList always not checked

So basically, I'm aiming to just do a simple loop that, upon submission, checks to see if a bunch of boxes have been checked before continuing. I'd know how to do this in PHP or with MVC and all that, but I'm forced to use webcontrols by my…
user798080
0
votes
0 answers

affected by jQuery

I have an asp:Menu control in an ASP.NET 4.5 web form application. The moment I added a reference to jquery-1.7.1.js, drop down menu items go haywire. They show up in a far corner of the page and is white text on white background. The result is…
Old Geezer
  • 14,854
  • 31
  • 111
  • 198
0
votes
1 answer

how to customize calendar web control title

Here is my calendar. I want to be able to format the title marked with the red rectangle. How can I access that? What property should I change?
MIlena
  • 257
  • 1
  • 4
  • 13
0
votes
0 answers

Rendering Web Server Controls

Is there a way to find out at runtime which is the context my web server control is running? I need to know at runtime if the web server control runs in mvc context or web forms context.
0
votes
1 answer

in asp.net WebService, passing a WebControl to a WebMethod

I'm using asp.net 4 ,C# ,VS 2010. I'm facing a problem by calling a web service method which has a WebControl as a parameter. /// /// Summary description for FormsViews /// [WebService(Namespace =…
Programer
  • 1,005
  • 3
  • 22
  • 46
0
votes
0 answers

After validating successfully, how to modify input for smarter displaying

My case is that I have a textbox for Age input. I use RegularExpressionValidator control to validate the input, like this: The validation accepts digit inputs which maybe…
Khanh Vu
  • 53
  • 7
0
votes
2 answers

C# search in a textfile words to a listbox

I have an ASP.NET ListBox that displays a list of activites taken from a text file. Now what I want to do is to search words, for example "hockey", entered by the user in a TextBox control, and display in the ListBox only the activities containing…