I am trying to achieve the following thing: use an svg image into a custom button.
In order to do this I created a Custom button:
public class MainButton : Button
{
static MainButton()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(MainButton),
new FrameworkPropertyMetadata(typeof(MainButton)));
}
pu...
Hi,
I have developed some ASP.NET controls in .NET 2.0 with VS 2008. Now, I upgraded my project to VS 2010 but did not change the target framework to .NET 4.0 yet. But, surprisingly, I found that, the toolbox is not showing the bitmaps for the control added to the toolbox in VS 2010. Moreover, when I dragged and dropped a control (.NET 2...
Hello,
I am working on a test project for an RSS reader. I am using Chilkat's module for .NET 3.5. What I am trying to do is this:
For each item in the RSS feed, I want to dynamically create some controls (labels) that contain stuff like the title, the link and the publication date.
The problem is that only the first control comes up ...
I would like to set mandatory field backgrounds are red and others are green. So I try to implement below. But I could not control ValueConstraint Nullable property with trigger. Could you help please ?
<Window x:Class="TriggerGirilmesigerekenalanlar.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmln...
We are using tab control in our project. While using this control i came across a few issues like
- When the tab control loads, it invokes constructor of all the xaml pages that form the individual tabs. Can this be avoided?
Is there any event with tab control that we can use to identify dirty data on the previous tab that i may have...
I manage a large number of websites under Wordpress and I'd like to create a sort of control panel on which I would be able to see a list of all sites and the WP version they are running on.
How would you do that?
I should mention that the websites are hosted on different servers.
...
I tried using AJAX Control for my first time after I installed the AJAX Toolkit for ASP.NET. I created a new ASP.NET website and added the ConfirmbuttonExtender.
After I run it without changing nothing I get this error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this reque...
I want to take a snap of the visual tree of a custom wpf control when the user clicks a button in a toolbar. The control is bound to a viewmodel.
I have a BitmapSource dp in the custom control holding the snapped image which is bound to a property on my VM. The BitmapSource dp on the control is updated via a custom command on the contro...
More exactly, the web browser control. In a WM6 dialog based MFC project. This is driving me nuts. Mr Google does not know a thing on this matter. I have tried embedding the "Microsoft Webbrowser Control" in my dialog box but at runtime I get some class not register error. I have heard that this happens because "Microsoft Webbrowser Cont...
I am trying to make my first AJAX Control and I get error.
I probbly missed some steps but I cann't find them eventhough I read many tutorials,
probbly since I am new in AJAX, so I need to be guided step-by-step.
These are the steps I've already done:
Downloading AJAX ToolKit.
Adding These Controls to the ToolBox.
creating new ASP.NET...
Hi guys,
I am upgrading my application from vb6 to vb.net.
I used to populate my data in datalist control in vb6 forms. I am not finding it in vb.net windows form application. Which one control is the equivalent to it?
How can i list my data in that control?
just like:
I had a table with data like id, name
I want the name should be...
Hi All,
we have a requirement to provide versioning(like version control) to the files uploaded to our application which is java/j2ee web based. We support files to upload/download to the application. Users frequently do the changes to the file by downloading from my appln and modify them, then upload back to the application. as of now ...
How to rotate control (checkbox) in 180 or 90 degrees ?
...
I have a scenario where a control has an event wired up in XAML, say a Button.Click.
Somewhere else in my code, a security check is applied which mean I need to disable said event, but I do not have access to the normal -= syntax to remove it.
How else can I remove or disable this event?
Thanks,
Dave
...
I am working on a drag & drop. I need to move a control, that originally in the ItemsControl to a StackPanel. I keep getting "Specified Visual is already a child of another Visual". I've already took the item out of the ItemsSource of the ItemsControl. After control is removed from the ItemsControl, the Parents, or TemplatedParents o...
There is a control in Visual Studio's Class Details window (accessed via Class Diagram) which combines a ListView with a TreeView. The result looks something like this:
TreeViewNode1
Column 1 Column 2 Column 3
Column 1 Column 2 Column 3
TreeViewNode2
Column 1 Column 2 Column 3
Column 1 Colu...
Hello Developers,
I have developed a ASP.Net Server custom control in C# for 3.5. named "myCheckBoxList" inherited from CheckBoxList web control.
Working is very simple. It just works as a two option buttons. I have taken a CheckBoxList which will show two fixed checkboxes always. When I check one checkbox then another will uncheck ...
I am using VS 2005 (c#) and I installed lately the AJAX-ToolKit, so now I have ajax controls in my toolbox.
I have no AJAX-Enabled template. Can you guide me how can I create and config my empty website so AJAX will work on it? because I followed a tutorial and created one control but I got some errors because I dont know how to configu...
Hi,
While I'm fine with standard control styling in silverlight I have recently began using more dynamic methods of fetching data to be displayed in items controls. One of the controls I am reworking is a collection of links.
The issue I am having is that each link is coloured differently when moused over. One red, one blue, one green,...
Hi
I am Peter Pilgrim. I watched Martin Odersky create a control abstraction in Scala. However I can not yet seem to repeat it inside IntelliJ IDEA 9. Is it the IDE?
package demo
class Control {
def repeatLoop ( body: => Unit ) = new Until( body )
class Until( body: => Unit ) {
def until( cond: => Boolean ) {
body;
...