I search a free and easy to drag&drop in my winform WYSIWYG-Control.
The background is, I don't have time I can spend on the control, it must be there and ready.
DotNet.2 C#
NO ASP!
WinForm!
I have 2 text box in WPF user control and button on WPF form. How can I access those textbox value on the button click event of that main form where I am using the WPF user control
Another beginner WPF question from me :)
Ok, so I have a User Control added to a Canvas. In another area of the application I have two TextBoxes that will get 2 values : X and Y. I need a two-way binding between the user control's top left corner coordinates and those 2 textboxes.
I don't mind implementing a Converter or doing some calculations, but I need a push in the right direction from a more experienced WPF developer.
Hello,
I know that when using Subversion, adding/copying/renaming files must be done via 'svn add' or 'svn copy' etc. In my Eclipse IDE, I use Subclipse to work with subversion. It's easy enough to add text-based files to version control (ie. php/html/js files) - but how do I properly add images to version control using Subclipse?
Thanks, Brian
So I'm having problems when I try to publish the website.
I'm in visual studio 2008 sp1.
I've got a bunch of user controls and on a few pages I'm using them programatically.
I've got a reference on the aspx page
<%@ Reference Control="~/UserControls/Foo.ascx" %
Then on the code behing I use
ASP.usercontrols_foo newFoo control = (ASP.usercontrols_foo)Page.LoadControl("~/UserControls/Foo.ascx");
If I navigate to the page it works fine, but when I goto publish the website I get a compile time error.
Hi all,
I would like to ask if it is possible to take screenshot of current user control programmatically and save as a file in silverlight 3.
I found some ways to save as an image file for a Canvas in silverlight 3, but how about user control or childwindow ?
Thanks,
hi.
Visual Studio 2008 service pack 1 comes with Visual Basic Powerpack and has DataRepeatr control.
i want to know that how I can add data in this control. i have in memory data. the examples i found on net are about binding DataSet to DataRepeater by fetching data from database. i want to bind in memory data. how to do this.
I have a custom control packed as myControl.dll. How to install it in VS2010 by using the WPF ToolBox Control template? I do not want to use the "Choose Toolbox..." or "Drag and Drop" techniques.
scenario: user 1 is presenting his or her desktop to user 2. user 2 can view what's happening on user 1 on his(user2)'s screen, but cannot control it.
got a hint from somewhere that by embedding activex control rdp will allow me to do so but i do not know where to start?
is this sort of like collaboration?
any help would be greatly appreciated ! thanks in advance !
Hi all, i really need to catch "ESC" key press while focus is on WebBrowser control.
I tried something like this:
(webControl as Control).KeyPress += new KeyPressEventHandler(MyKeyPressEventHandler);
But it doesnt work. The method is not called. I tried some methods, described here, but dont get any result ( Help, please.
I have a User Control that contains a System.Web.UI.WebControls.FileUpload control as well as a button to 'Submit'.
When the button is clicked code similar to the following is executed:
If FileUploadControl.HasFile Then
'Save the file and do some other stuff
End If
This code works just fine with Windows XP. However, if I run it from a Windows 7 64-bit machine using IE8 32-bit the HasFile property always returns false and nothing is saved?!
Any suggestions/ideas would be greatly appreciated.
Hi guys,
I am building a custom web panel control for specific purpose.I want the control be fixed with specific width and height so that not to be resized in design mode as well as from property window.How can I do thing.
It is very important and urgent.I will appreciate if you can help me.
I have a project folder with sources, headers, resources, etc. Most files are subject to source control via SVN, but some are not. Is there a way to designate a file as not subject to source control, ever, so that "svn status" does not throw a line with a question mark next to that file?
I am building an ASP.NET Web User Control which has a panel within it.
How do I make the Panel within the user control resizable (i.e. with handles) at design time in Visual Studio.
I need to create a design class or something??
Thanks.
I'm using Flashbuilder 4. I have a Spark TextInput control, and I'm implementing a "Copy" button that will copy the selected text only from within this control to the clipboard (pretty much like the RMB Copy does). How do I do this?
Thanks,
Paddy
Hello,
Has any tried binding Binary data to a ComponentOne VSView Control?? I have a binary image data received from a WebService and I need to bind it to a VSView control.
Please help
Hi,
I need to limit the entries that appear in my list control since two much entries make my MFC program slow. Is there a way to show only the last few entries (say for an example the most recent 100 entries) in a list control???
Thank You!!!
Why when a control does contain value but it's set to .Enable=False that all controls become disable (that's ok) but why that the ViewState doesn't retain the data on the next post back? If I get the UserControl without modifing its Enable state, the ViewState work between post back.
How can we disable a UserControl that all its control become disable (this part work) but all of them KEEP use the ViewState (this doesn't work)?
hi
I have a windows user control hosted in IE.
how can i paas input from webpage ( propably from javascript ) to win forms user control
can any one help me in solving this problem.
it is urgent.
Thanks.
Hello
There is another relevant question asked Validation Check in asp.net
In the same scenario we need a custom validator control which will alert user for any wrong entry. This will work like this :
Developer will pass the control-name, input-value and format-required
For instance like for textbox it can be: txtName,txtName.Text, allow-alphabets-only
The accordingly format if the user input is invalid he/she will be got prompt.
Please suggest the right way to do the smae.
Thanks in advance.
Hi,
I'm creating a custom WinForms TextBox control, like this:
class MyTest : TextBox
{
protected override void OnEnter(EventArgs e)
{
this.BackColor = Color.Yellow;
}
protected override void OnLeave(EventArgs e)
{
this.BackColor = Color.White;
}
}
When I build the project, I cannot see the control. Can anyone explain why not?
Thanks in advance.
I'm building a custom control, and I need it to be able to respond when it gets resized. I need the old dimensions and the new dimensions available in order to do some calculations.
Unfortunately, the SetWidth and SetHeight methods are private to TControl, not protected, and so I can't override them. Is there any other way to know that my control's about to be resized, and to have the old size and the new size both available?