Hi,
I have problem with control event handler. I created a control ( button ) and I want to bind click event with a method. But I have "Error binding to target method." exception.
code is,
class SetControlEvent
{
public void Sleep()
{
System.Threading.Thread.Sleep(5000);
}
internal void Set(object theObject,X...
In a program I have written users can add controls to the form and move them around and set some properties in a pseudo design mode. I want to be able to lock all these controls into one location when they press a button to switch to "data mode". How can I do this? I wanted to do be able to loop through all the controls and use the Lo...
I am building a WinForms application and I need a control that allows a user to select blocks of time on certain weekdays when particular services are enabled/disabled. The desire User Interface is for a component much like the Scheduler in uTorrent shown here.
This control has a grid of colored boxes. The days of the week are along th...
I have the following on an ASP.NET page:
<li><asp:Hyperlink id="myHyperlink" runat="server">My Text</asp:Hyperlink></li>
Sometimes in code I need to be able to dynamically add a STRONG tag around the hyperlink so that it looks like this:
<li><strong><asp:Hyperlink id="myHyperlink" runat="server">My Text</asp:Hyperlink></strong></li>
...
Hi there,
so I've got the following structures;
Start.master (Start.master.cs)
Contains a Method
DoSomething(string Text)
{
_MyHtmlControl.InnerText = Text;
}
And the HtmlGenericControl ID'ed *MyHtmlControl
Page.aspx (Page.aspx.cs)
Calls the Method via new Start().DoSomething("Test");
Doing so gives me the following error:...
My application uses an MDI form, and there are instances where the end user will need multiple child windows open at a time. I need an easy way for the user to switch between windows, which made me think of using tabs kinda like Firefox, or like the tabs in the Visual Studio IDE up at the top where you can switch between open forms and ...
Hi all,
I am using DateTimePicker with Australian date formatting set (dd/mm/yyyy)
The problem is when user enters a day which is outside of the month (mm), control resets that day to "1".
This obviously is a quite confusing obstacle for user - it's not natural to enter the month first and then enter the day [culture-wise]
Is there a...
Does anyone know how to make nested server controls accept nested html without "injecting" it out from serverside, ie.
<uc1:CustomServerControl runat="server">
<NestedControl></NestedControl>
<NestedControl2></NestedControl2>
</uc1:CustomServerControl>
but to do this:
<uc1:CustomServerControl runat="server">
<div>
...
I have two UserControls that I want to display in a Window. The value of the property "SelectedItem" of the first UserControl should be set to the second UserControl's "SelectedItem" property. How do I do this?
In my current code, the value set in the first UserControl's property does not trigger an update in the second UserControl. I h...
Hi,
I am just starting to study ASP.NET from my WPF Knowledge. I think the UI designing is very difficult in ASP.NET compared to WPF XAML design.
I have a problem in my UI layout. In WPF we use Width=" * " and Height=" * " to adjust height and width of the controls like listview, listbox so that the application can run in any resolut...
Is it possible that anyone has a link to a graph class/library that I can use to produce a graph in Java?
Thanks for any help!
...
Hi,
I'm wondering if I can get some custom controls in winforms .NET? Is there any place? I'm looking for album control. (something like this: http://joomla15.sakic.net/gallery/78th-international-motor-show-geneva/#8
...
I'm developing a winforms application (using .NET 3.5)
In a form I have a panel control ,and a datagridview control inside of it .
I want to have some control ( let's say for the simplicity - a label)
to appear in front of the datagridview , and I want this label to be transparent - which means : I want to see the data displayed in th...
Hi all,
Having a bit of a problem with the AJAX Accordion Control...
I have two panes, one of which is open by default, but in Firefox it displays scrollbars across both axis - when you extend the second panel, these disappear. In IE no scrollbars are rendered - which is what i'm aiming for!
Using FireBug, I can see that when the Acco...
I have a form/subform for inputting data into an ado table. The main form's recordset is a local table of Widgets and information about the widgets (WidgetID, WidgetName, size, color, location, etc). I am inputting test data (multiple tests per widget, all with unique dates) through the subform which is connected to an ADO recordset to...
Is there a new model or best-practise for creating complex controls in asp.net MVC?
Do you use code-behind or inline to mirror your view pages?
...
I am planning on creating a templated user control to allow for the following markup.
<myCustomControl id="myCustomControl" runat="server">
<testObjects>
<addPredefinedObject name="test1" />
<addPredefinedObject name="test2" />
<addCustomObject id="1" />
<addPredefinedObject name="test3" />
<addCustomObjec...
ComponentArt home's page has a top dropdown nav menu. I like it's professional look with the image and bordered item container. I was wondering if there are any free similar components with can be used in asp.net pages. I am not looking for any dropdown menu. I am looking for one as close as the one I mentioned. JQuery ones are fine.
...
I have a custom control built of other controls that is being loaded in two different places. On one it appears the way it does in the designer, as expected, on the other it is being resized smaller without being instructed to do so. Even when I explicitly adjust the size in code the control appears to get bigger, but the controls within...
I have the latest release of the AjaxControlToolkit, and am using an AjaxControlToolkit Html Editor control inside an AjaxControlToolkit ReorderList. I need to be able to access the "content" property so I can write the value to the database but FindControl doesn't find it.
for instance, I can find a TextBox control inside the ItemComm...