Questions tagged [servercontrols]

A server control in classic ASP.NET is a component that dynamically renders a segment of markup to the client. Controls can be written in markup or coded, and can be bound to data and participate in different phases of the ASP.NET request-handling lifecycle. Out-of-box examples range from the simple (CheckBox which wraps the HTML input checkbox) and more complex (GridView which can be bound to various data sources and has built-in paging and sorting).

213 questions
1
vote
2 answers

Creating "pluggable" apps in asp.net mvc

I've been working with asp.net MVC and am still not very good at it. However, I have started wondering how would I go about creating applications that can be "plugged" or installed into an existing ASP.net MVC site with minimal complexity. For…
dtc
  • 10,136
  • 16
  • 78
  • 104
1
vote
3 answers

ASP.NET TimeLine Control

I am looking for a free control to display events in a to-scale-timeline. I couldn't get TimeLine.NET to work. Is there anything else I could try? EDIT Any flash or javascript solution would be fine as long as I can put data into it from a database.
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
1
vote
1 answer

Using ASP.Net Web Databound Controls to create Jquery Sliders tickers type controls

I am working on a B2B portal web app, where i need to display upcoming news , products and company info on regular interval (say as slideshows and tickers). For example : Scenario 1. I need to display the latest company(registered in this week) in a…
user240141
1
vote
2 answers

Is it possible to access server control from page method?

I would like to update a Gridviews datasource using JQuery and page methods, but I'm not sure how to access the Gridview control I created on the page. I know I can't access the instance of it, but I want to access the id so just rebind it. Is this…
chobo
  • 31,561
  • 38
  • 123
  • 191
1
vote
2 answers

How to retrieve style of the HTML server control programmatically?

Suppose i'm having
tag with id="toggleText" & runat="Server" then i can change style attributes by using following - toggleText.Style.Add("Display", "block"); But if i want to retrieve the style attribute then how to do this? thanks
Priyanka
  • 2,802
  • 14
  • 55
  • 88
1
vote
1 answer

Is it possible to output web control via data binding expression inside ASP.NET server control template?

I am searching for this all around the Internet, including here, for 2 days now, but I am not able to find anything similar being dealt with. Also, this is my first post on Stack Overflow, so bear with me please :] The problem: This is my first time…
famousgarkin
  • 13,687
  • 5
  • 58
  • 74
1
vote
1 answer

change div into html server control and add an click event

I have a piece of code
testing
I will change this into html server control.
testing
I want to add a click event.
william
  • 7,284
  • 19
  • 66
  • 106
1
vote
1 answer

Apply Visualisation/style to a ASP.NET server control created by injecting JavaScript & HTML

I have created four ASP.NET Server controls that will inject a lot of JavaScript and HTML. One control shows a html table. One control is for showing a data entry form that have juery plugin validation. One control is for creating a data entry…
Moons
  • 3,833
  • 4
  • 49
  • 82
1
vote
3 answers

ASP.Net server control complex "properties"

I am going to aplogize in advance because I am really at the limits of my understanding on this so if I do not explain this well....well sorry... Anyway I am trying to create an asp.net server control that has complex properties which can be set…
Blaxer
  • 11
  • 4
1
vote
1 answer

Add InnerHtml to a ListItem programatically?

I have a server control that wraps a BulletedList which renders as an unordered list. I would like to be able to render HTML tags in the text of a ListItem as HTML (not escaped, like now). I'm beginning to think it's not possible. I've seen several…
Polymorphix
  • 1,066
  • 1
  • 12
  • 29
1
vote
1 answer

calling a public function of an asp.net ajax server control from client side

I want to make a ajax server control in ASP.NET and in that application I have a textbox and I want to send text of that textbox to function that is created in ASP.NET ajax server control class and that function return some result based on text. My…
1
vote
1 answer

C# Calendar Server Control

I am totally new to C# and coding. I'm working on a challenge in a course I'm taking which in part needs to satisfy the following business rule: Business Rule 1: Initialize the calendar controls. Make sure the end of the previous assignment date is…
Newbie
  • 11
  • 1
1
vote
2 answers

Sub items for server control

I've been trying to create a server control. I've been trying to get my MenuItem to contain other MenuItems under neath it like this
ONYX
  • 5,679
  • 15
  • 83
  • 146
1
vote
0 answers

Recursive Function for Server Control Collection of subitems

I have control that has a list of items with subitems. I need to have a recursive function that collects the sub items. e.g How do I collect and iterate this collection that has sub items? is an ArrayList MenuItems the appropriate Type to…
ONYX
  • 5,679
  • 15
  • 83
  • 146
1
vote
2 answers

Using an ASP.NET server control in a SQL Server 2005 reporting .rdl file

How would I embed an ASP.NET server control on a SQL Server 2005 Reporting file (.rdl)? I am using the design view to accomplish my task.