i want to know how to move the cursor from current textbox to previous textbox. i am creating textbox dynamically by enter keypress event one by one
e.g.
textbox1
textbox2
textbox3
suppose total three textbox now created and am on third one textbox means my cursor on textbox3 and i wants to move the cursor to textbox2 or...
Hi,
I have to access controls in LayoutTemplate in LoginControl. So in PageLoad() I do something like this:
foreach(Control control in loginControl.Controls){
(control As Label).Text =... blah nlah ; //do something with control,
}
In LayoutTemplate I have some labels, etc, but I can "see" them after PostBack and I don't have a...
My boss wants our program to have fly-out menus with smooth transitions like ESET NOD Antivirus 4 has.
Where can I buy a control set that has a similar look and feel to this? I have never bought a set before and I don't even know of what sites to start shopping at.
...
I'm still stuck.
Assume that I've got a user control with a button. And an event called damnIt_ButtonClicked.
In the main window I want to emulate the control's lifetime like it is a modal dialog, although it's not.
I want to wrap everything into one method, it returns true if the Button on the control clicked.
public bool Show() {...
Hi Guys,
I'm looking for a graph control that works just like Google wonder wheel or Thinkmap visual thesaurus. I don't know what do these types of diagrams called. Any help would be appreciated.
I have a series of non-hierarchical related data entities (should be shown as big and small circles) and I want to show their relation (lines ...
I'm creating dynamic controls in a Form and I made a static button to add fields within a panel. When fields are added this button is relocated to be underneath these added lines. But when the button reaches the low end of the panel (having autoscrolling set to true) it disappears and scrolling becomes infinite downwards. So this behavio...
Hi
I have a custom WPF control which consist of single TextBox
<UserControl HorizontalAlignment="Left" x:Class="WPFDiagramDesignerControl.Components.UcWBSBlock"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="100" Width="100" IsEnabled="True">
<Grid >
<...
I am trying to dynamically add some control in an asp.net page. It gets rendered fin, after clicking a button which causes postback I get the following error
[HttpException (0x80004005): Multiple controls with the same
ID 'ParentTextBox_ChildTextBox_TV_PostRender' were found. FindControl requires that controls have unique IDs.]
Sys...
In terms of performance. Is it a good idea to build your own data grid (assuming you have the time) having in mind that you will create one that match perfectly your need? Getting rid of many unnecessary properties and methods. The rendered page might be smaller making the download faster?
thanks
...
One of my upcoming projects needs a rather complex control (functionality wise) and I was wondering what, from experience, are good resources to look at / read? Any suggestions
...
Hi!
I'm looking to implement an XForms Color Picker/Selector/Control (you know where it shows boxes or shades of colors in a dropdown type control).
Is it possible to do this in XForms (without using Orbeon; I am using XSLTForms)? Is so, how is it implemented, or can anyone point me to (simple) code examples that do?
Thanks! :)
...
I want to iterate through HtmlTable (Server Side) in ASP.NET 3.5.
foreach (System.Web.UI.HtmlControls.HtmlTableRow trow in someTable)
{
var x = trow.InnerText;
}
I received an error message that "System.Web.UI.HtmlControls.HtmlTable" does not contain a definition for GetEnumerator.
How to write an extension method or alternat...
Hi I am getting this exception while running the mobile form page in asp.net. its script is :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication_ASPMobile.WebForm1" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile, Version=1.0.3300....
Hello,
I have a dialog in vb6 which changes the values being displayed in its parent dialog.
the x1 is displayed in txt_c1 text in parent dialog and it has a txt_1validate funtion too for the text box. Now i want to change the value of txt_c1 txtbox from child dialog and then call its validate function. But the problem is that txt_c1 is...
I have a "Sign up for email" user control consisting of an asp:TextBox, asp:Button, asp:RegularExpressionValidator. Nothing fancy. I'm seeing some garbage/sql injection addresses in the database suggesting the client-side validation may be bypassed. Investigation suggests that the server-side validation is also not firing.
When I set En...
I have a page that displays a list of locations chosen by the user, and for each location it also shows the map with a marker pointing to the address.
Everything works fine in firefox and opera, but in safari, chrome and ie the controls (zoom, move, the map options, the scale) are only displayed in one or two maps on the page (usually ...
I have a view with some controls and a viewbox. At the moment in the viewbox is a grid and a graphic at the bottom. The application reads a XML-file and refreshs the content of the grid and the graphic for every node in the XML-file.
Now the application not only have to show a grid with a graphic. Depending on the XML-node, the applicat...
Hi all
I have a custom control dll. How can i add these custom controls to VS2008 tool box programatically
Thanks
...
Ok, so what I'm trying to do is have two imageboxes overlapping so that I can align the images in them (based on user input). The problem is I'm not sure if I can adjust the opacity of individual controls so I can only see the topmost control. Of course, I could do image processing and combine the two images into a single image (with the...
This is stemmed from another question I had where the solution had me using ObjectCollection. I have never used an ObjectCollection before and was wondering if anyone knew where I could find more info on it?
Everywhere I look talks briefly at best about the ObjectCollection, but never really says much about it. I know it is another co...