control

Designer serialization and collection

Hey There, I have an custom control that represents a grid; and implements another custom control. When opening this control in de designer, I am able to use the collection editor to set my collection. When saving; the designer successfully saves my collection. However, when dropping this control on a form; it still (and should) expose...

How to get control collection from a .aspx file?

In Visual Studio 2005, once we create a .aspx file, there is a .aspx.designer.cs file auto-generated. In this file, there are control declarations. I want to know how to generate the file by ourself through programming. That is to say, how can I get the information about the controls in the .aspx file, such as their type, ID. The only me...

Issues Arising in windows 7 /Ie8 when running custom Built Activex Control

Description: The project deals with interaction with the remote desktop connecting through web browser (Internet Explorer). What we did: We have created an activex control that and installs through the web browser into client machine which lets the user to connect to different servers through web browser. What is in Activex In Acti...

TextBox Label Control

Hi All I am not worried about whether this is in Winforms or WPF. Is there ANY way at all that I could develop my own user control like the one found in Microsoft Paint, below: If you can't see the pic above, it's here: http://img232.imageshack.us/i/txtboxlblctrl.png/ Is there anyway at all I can do something like this in C#? Thank...

Release management with a distributed version control system

We're considering a switch from SVN to a distributed VCS at my workplace. I'm familiar with all the reasons for wanting to use a DVCS for day-to-day development: local version control, easier branching and merging, etc., but I haven't seen that much that's compelling in terms of managing software releases. Here's our release process: ...

How can I setup a svn subdomain so I can checkin/out without using svn+ssh?

I have a svn repository on my hosting account at ~/repository/. At the moment I have to create ssh keys to my server for users to checkin/out from the repository using a command like "svn+ssh://domain.com/project1/trunk". This is fine when there were 2 of us using the repository but now I have other people that might be doing work on the...

Rotate controls in Java

Hi, how to rotate same control in java? For example I want to rotate radiobutton for 90 or 180 degrees How to do this on on JAVA SDK for android developing? ...

create non visual activex control with delphi

i was created a nonvisual vcl component in delphi and I'm trying to make it usable for other environment like visual studio, and i think the best way is create an activex control. but the problem is i haven't any experience about creating activex in delphi. i found some resource by google about creating activex in delphi but most of them...

ASP.NET validation controls

Hi All, I want to use Validation Controls but I dont want them to show their Error Messages when invalid data exist. Instead I'm going to iterate through the validation controls and show error messages inside my little ErrorMessage Control for (int i = 0; i < Page.Validators.Count; i++) { if (!Page.Validators[i].I...

Various asp controls in a ASP.NET page

Hello. I am creating a products page, where the user selects an option in a radiobuttonlist for example, and then a control with the various options of that product appears in a placeholder or in a div when on of the radiobuttons is selected. At the moment this is the code: aspx: <form runat="server"> <asp:CheckBoxList ID="Lentes" ru...

ListView Control and Details

Hi All, I'm a bit confused by a few tutorials that I read about the ListView. I have a ListView control and on the left hand side should be a name, and to the right of that name should be like another column with some more text in it. For example: ListView: jason blah blah blah item2 more blahs item3 jupiter item4 ...

How can I set value to Html hidden fields from asp.net

Hi I have scenario, where there are html hidden fields, the page can be redirected to itself, with parameters, I have sessions too. Now depending on session value I want to set some hidden values, so that it can be picked up from javascript and can do certain operation. But, the problem is I have no idea about how to get/ set values int...

Working with version control on a Drupal/CMS project

I was wondering how teams that develop sites using Drupal (or any other CMS) integrate version control, subversion, git or similar, into their workflow. You'd obviously want your custom code and theme files under version control but when you use a CMS such as Drupal a lot of the work consists of configuring modules and settings all of wh...

How can I isolate the form controls in a ASP Web User Control from the rest of the page's form controls?

I have a Web User Control I created for authentication. The web user control is inside the box below. Clicking any button (1 or 2) below works correct as it goes to the correct c# button click event in the code behind file. If I press enter on fields a or b it goes to the correct callback (button1's) if I press enter on field c it still ...

Visual source safe headaches - Deleting files

I will pre-empt and say we are stuck using VSS here so changing it is not an option. Anyway, one person, 'user a' is deleting a file from their project. They then do a 'get latest' on the folder and it doesn't come back, so the user assumes they have truely deleted it from the project. We have another user, 'user b', who then looks at ...

~1s latency control app: is this suitable for Java?

At my work we recently finished the system architecture for a control application which has a maximum latency of roughly one to two seconds. It is distributed on small ARM on-chip boxes communicating via an IP LAN. We initially foresee that we would use C or C++, since it is a classical control system language. After discussing how to ...

[C#] Get Index of Control in an Control-Array

I have a TextBox Array private TextBox[,] Fields = new TextBox[9, 9]; and all the TextBoxes have got the same TextChanged-Event void Field_Changed( object sender, EventArgs e ) Is there a way to get the Index of the sender in the Array (without giving each TextBox it's own EventHandler)? ...

javascript for (i = 0; i < XXX.length; i++) -> length question

for (m = 0; m < troopsCount.length; m++) { //FM_log(7,"i="+i+" m="+m); //FM_log(7,"tipoTropaPrioritaria[m] = "+tipoTropaPrioritaria[m]); //FM_log(7,"troopsCount[m] = "+troopsCount[m]); //FM_log(7,"availableTroops[m] = "+availableTroops[m]); if ((tipoTropaPr...

How to get the value of a SELECT HtmlElement in C# webBrowser control

Hi, In a C# WebBrowser control, I have generated a SELECT HtmlElement with a number of OPTION elements using w.RenderBeginTag(HtmlTextWriterTag.Select). I need to get the value of the select when the user changes it, and so added an event handler in the WebBrowser DocumentCompleted event. private void webBrowser1_DocumentCompleted(obj...

AjaxToolkit control Extenders in a composite web control

I am writing a bunch of controls for a Toolkit of controls and each control needs to use the various controls like the CollapsiblePanelExtender, RoundedCornerExtender, popup window extender etc. But since I am using the Web Control and inheriting from the Composite control but upon rendering if I try to render the extenders, it makes the...