Hi all,
I have a windows form that contains many controls e.g timers, gridviews, and binding sources etc, and all of these expose a dispose function. Do I have to call their dispose function in this
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
compon...
I want to make a simple ASP.NET page that draws a months from a calendar and highlights given dates. (I'm not looking for a date picker.) What I have is a list of DateTime values and I need to display them a a nice way.
Given that I'm a total beginner with ASP, simpler really is better. (I'd rather not, I'm willing to hack together some...
Hi All, I'm working on an asp.net application where I need to display records in the form of a ListBox in hierarchical format (parent-child records). I managed to do that using ASP.Net 3.5 ListView Control, but I couldn't get the functionalities of the ListBox control like selecting multiple items. Can somebody guide me on how to do that...
I have thought of this idea where you could have a tab control on a form, but instead of defining each tabs controls before runtime, inherit or use another form's controls.
Basically a tab control is in place on the main form that has no tabs on it before runtime. When runtime comes along I want to create tabs, but the controls that wou...
I have an external CSS file which defines the style for the Button tag.
Button {fontSize 11; blah...}
I'm trying to override this style for the buttons of a ToggleButtonBar:
<mx:ToggleButtonBar dataProvider="{pm.portalNavigation}" fontSize="16" />
Unfortunately, this doesn't seem to work. The fontSize stays at 11. How can I over...
Hello. I made a control that inherits directly from ErrorProvider. I thought that applying it the ToolboxBitmap attribute would be enough to get my control to have the same icon on the toolbox as the original control has, but it doesn't. It's strange, as if I add the control to the form, it will appear just as it should, but it doesn't c...
Any idea on how to produce a trend line in ASP.NET Charting Controls, i dont want the trend line based on time periods so i am guessing that the finacials stuff isnt useful in this case.
...
Hi,
I'm developing a GUI in C++ using dev-c++.
I have an edit control like this:
hctrl = CreateWindowEx(
0,
"EDIT", /* Nombre de la clase */
"", /* Texto del título, no tiene */
ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER...
If I put a control in a .aspx file like this;
<asp:TextBox ID="protectedTextBox" runat="server">Some info</asp:TextBox>
I get a declared control in the page's .aspx.designer.cs file;
protected global::System.Web.UI.WebControls.TextBox protectedTextBox;
But I'd like to change the access modifier of the control to public. Is there an...
I have a table for a subscription list in Oracle with several columns where one is a NUMBER (0/1) since Oracle doesn't have a boolean type.
It might look something like this
| NAME | FLAG | DATESENT |
+-------+-------+----------+
| Feed1 | true | 07/22/09 |
+-------+-------+----------+
| Feed2 | false | 07/22/09 |
+-------+-------+-...
I have created a wizard form and each page of the form will display some help text.
I either need a
1.Label control where I can fix the height and width of the label so it doesn't grow to long but rather wraps the text inside my fixed width and height.
But a label doesn't have sizing handles and seems to automatically adjust to th...
In a Win32 application I have a dialog with a list control which is defined is the dialog template:
CONTROL "",IDC_LIST_Attributes,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,7,36,246,110
In the runtime I retrieve the handle to that control and perform different operations with it - remove ...
Isn't this a client side control?
What will happen if the user has disabled javascript?
...
I'm getting the following error after I start debugging my program. Do you know how to fix this?
System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
It is referring to the line:
pnlDropDownList.Controls.Add(ddl);
inside the CreateDropDownLists method. Apparently...
I have two DataGridView controls, with three buttons in between them vertically, in a VB 2005 form that need to be resized and moved around on a form resize.
The code below works, and does what I want. It takes the difference between the new size and the default size, splits the height difference between the two DataGridViews, and move...
Here is code:
procedure DisableContrlOL(const cArray : array of string; ReEnable : boolean = False);
// can be called from VKP / RAW / Generation clicks
var
AComponent: TComponent;
CompListDis, CompListEna : TStringList;
begin
CompListDis := TStringList.Create;
CompListEna := TStringList.Create;
for i := Low(cArray) to High(cA...
I have a group of images in my My.Resources. I want to select select images to display dynamically at run time. How do I do this?
'Static (Compile time) Assignment
UltraPictureBox1.Image = my.Resources.zoo_picture_1
'Dynamic (Runtime) Assignment
UltraPictureBox1.Image = ???
...
I am creating a custom .NET AJAX Server Control, and need to get access to the JavaScript object functionality associated with that control. I can do this by finding the control in the ScriptManager using the $find method. However, I need to determine when I can call $find. If I do this on the "onload" event of the body of my HTML page...
We are currnetly an Infragistics NetAdvantage Select customer and have been for a few years. Their controls are ok but not what I would call great but the time invested in learning them to date is the main reason we stick with them. We use both ASP.NET and Winnform controls.
As we are due to renew, we are considering DevExpress as an o...
I have an NSSegmentedControl on my UI with 4 buttons. The control is connected to a method that will call different methods depending on which segment is clicked:
- (IBAction)performActionFromClick:(id)sender {
NSInteger selectedSegment = [sender selectedSegment];
NSInteger clickedSegmentTag = [[sender cell] tagForSegment:selec...