I'm new to C# and I've been trying to design my own program for a while now. I came a across a control named Property Grid, it suits me perfectly and aftering Googling, I managed to find how to split up the various properties into catagories using attritubtes.
But I cannot find any information on adding sub-catagories to another catago...
Hey!
Ok I have the following problem in Silverlight. I have a control with 2 columns. On the left is a stack panel with line numbers and on the right is a textBox.
So when I write in textBox without wrapping turned on I can simply create the right count of numbers on the left, because I'm searching for '\r' in text.
But when I turn ...
I'd like to create WebBrowser control programically in my code and then read page content.
I think I'm doing the same thing as designer does but control dynamically created doesn't work (DocumentText return empty string)
What I'm doing wrong ??
EDIT-2: Code change after @Axarydax suggestion (working)
Main block code:
WebBrowser brows...
How can I change for example default width and height for buttons, etc?
...
How to do it. For example the calendar for march will also show days from feb and april. I dont want them to be shown. How to do. Anyone have sample code?
...
Sample code
<asp:Repeater>
<ItemTemplate>
<asp:ListView DataSource=<%# Container.DataItem.Items %> ... />
<asp:DataPager .... />
</ItemTemplate>
</asp:Repeater>
This does not work.
The repeater data source is not a datasource control
It is set like so
repeater.DataSource = datasource
repeater.DataBind()
...
Hi.
I want to access a usercontrol in my class file not in aspx.cs.i need to typecast it using ASP.usercontrol_ascx type but i cant access ASP namespace from my .cs file..how to typecast the usercontrol??
Thnx....
...
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 a custom button control created using ATL. This control is used by some composite controls and lots of dialog boxes. I just added some new properties to the button control and found that I then had to update all the controls and dialogs that used it. This is a really poor situation so I wondered if I could be doing something be...
I have a segmented control with 3 defined segments. i am looking to capture the segment index so I can use it in an if statement to update variables accordingly as such:
-(IBAction)numPlayers:(id)sender;
{
numPlayersSegment = [(UISegmentedControl *)sender retain];
if (numPlayersSegment.selectedSegmentIndex == 0)
{
numOfPlayers = 2;...
Are there any other methods of bringing a control to the front other than control.BringToFront()? I have series of labels on a user control and when I try to bring one of them to front it is not working. I have even looped through all the controls and sent them all the back except for the one I am interested in and it doesn't change a ...
Hello,
I have a custom base user control in silverlight.
<UserControl x:Class="Problemo.MyBaseControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlform...
Hi,
what is the best free/open source WinForms "progress bar" control?
(i.e. want a better looking control than the default one in VS2008, and one that has a nice continuous bar)
PS I'm pretty new to .net so I'm not sure at all if there are any popular control libraries (open source) that are widely used or not...
...
Hi,
I'm trying to add a collapsible panel to a panel I added in the Interface Builder, similar to the one found in Office 2008 and XCode itself.
This is the collapsible panel for those that don't know it:
Any idea how I can add this to my project? Google hasn't been of much help.
...
I have this code:
<asp:RadioButtonList ID="rblExpDate" runat="server" >
<asp:ListItem Selected="True" Text="No expiration date"></asp:ListItem>
<asp:ListItem Text="Expires on:"></asp:ListItem>
</asp:RadioButtonList>
that I would like to be always, on page load, to mark the first option ("no expiration date").
However, if the u...
I feel as though this this is a simple question, but can't find an answer anywhere. We've got an interface we're trying to move to an ASP.NET control. It currently looks like:
<link rel=""stylesheet"" type=""text/css"" href=""/Layout/CaptchaLayout.css"" />
<script type=""text/javascript"" src=""../../Scripts/vcaptcha_control.js""></sc...
I need more precision then integer based locations when puttng controls on a form.
It seems control.location only supports Point.
Is there a work around for this?
Point p = new Point(100, 200);
this.Location = p;// this works of course
PointF pF = new PointF(100.04f, 200.08f);
this.Location = pF;// this does not work of course because ...
Hi all,
Are there any good control sets that can be used with PHP, like how there are Telerik controls for ASP.Net?
...
I have a screen in my windows mobile app that I is intended for another person than the user to look at and interact with (it is a signature screen).
There is a few edit boxes and such on that screen. Is there any way to make them display upside down?
If so I would love to hear how. Thanks!
...
Hello,
When you use a tab key to select a textbox, all text in it is automatically selected. What's the easiest way to prevent this from happening? (Setting the selection to none in Enter or GotFocus events doesn't work)
Thanks (-:
...