Hi,
I have a silverlight control that has a few element such as: Image, TextBox and a TextBlock.
The application shows a list of the same control and the controls are placed in a specific layout, in grid with rows and cols.
Now,
I would like to be able to modify all the controls layout and arrange the element differently (preferred ...
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...
hi all
is it possible at all to somehow make the label contorl multicolored? i have a rich textbox that the user enters text into, and if they change the font for some words in the rtf, and changes colors, and underlines one or more words here and there etc, i need to be able to display the resulting text, with the correct styles set by...
I am writing a DateValidator control to function as a validator of all type for dates.
It will function as an Required validator, a Min/Max validator, and a Range Validator for date comparisons on the client side.
All in all, I have it written and it functions: In an ASPX page.
For some reason, when adding it into an ASCX User Contro...
I have a custom control derived from Button:
class MyControl : Button{}
And suppose, this class is empty (has no members).
In the application's main window resources I use ResourceDictionary that contains styles for most WPF controls (so called theme):
<ResourceDictionary Source="BureauBlue.xaml" />
So, all controls on the...
Does anyone know where to find a list of controls that you can set the template on in Silverlight? I've wasted several hours now trying to create control templates only to find that the control doesn't support the template property.
By "doesn't support" I mean:
<Style x:Key="blah" TargetType="Border">
<Setter Property="Template">
...
I want to enable or disable 'ParticipateBtn' depending on EventStartDate. I am getting this error:Object reference not set to an instance of an object.
<table>
<tr>
<td align="right" style=" font-weight:bold">Start Date : </td>
<td><%# CheckEnability((DateTime)Eval("Event_Start_Date")) %></td>
...
Hello, I'm encountering strange behavior with forms on a c# 3.5 app. On a button click, my form1 hides itself, creates a new form2, and shows form2. Form1 also contains the event method triggered when form2 closes. Here's the code inside Form1:
Form2 form2;
void button1_Click(object sender, EventArgs e)
{
this....
Hi all,
We are using dynamic text box inside the gridview. When tab key pressed on each textbox inside the grid we need to do some calculation using total value from the database and value in the previous textbox and the result should be displayed in the next textbox.
Regards
Geetha
...
I'm trying to access a control's text property from program.cs and it says that it is inaccessible due to protected level. How can I fix this please?
...
I use the following control to output a HTML link:
<asp:HyperLink ID="hlEditDetails" runat="server" CssClass="arrow-forward" Text="Edit Details & Photo" />
However, when it does, the markup is generated as:
<a id="ctl00_hlEditDetails" class="arrow-forward" href="/EventName/EditDetails.aspx?ID=1">Edit Details & Photo</a>
The une...
Hello,
I have an application which uploads file from iPhone to web server.
Problem is that I want to give users a control like from which they can select the file / photo from the device and which is than uploaded on server.
Can anyone help me
...
Hi I like to create a simple web browser in VS.NET'08.I finished coding but while running it shows "Navigation to web page was canceled".Help me resolve this problem.Though i invoked the Navigate function inside the constructor,its not working.
public Form1()
{
InitializeComponent();
webBrowser1.Navigate("http://goog...
I have a user control in WPF. I have to add children in the design view when user control is added to a window.
...
Dear All,
I am working with chart control to show stock market fluctuations using asp:chart control.
I am taking one of the value as median to show fluctuations.
Any value greater than median value has to be shown in green(e.g.) whereas any value lesser than median value has to be shown in red(e.g.).
I succeeded in representing the g...
I am looking for a Java UI control which allows users to draw drawings which can internally stored as an image. I am looking for a very light weight control which does not slow down the page rendering.
Any pointer?
~Sri
...
I have several controls inside my form and I perform several changes (Text, Font, BackColor etc.) on these controls. My changes are necessary only if the controls are visible. So, I want to stop performing my changes on controls that are not visible. I want to keep changing my controls when they become visible again.
I can use Control.V...
I'm currently creating a silent print module. The current control I'm using is, it's making sure that the control handle is already created (IsHandleCreated). I did everything to cheat this with no luck at all.
Do you have ideas in mind on how can I create a handle for the control without displaying any in the screen?
...
Hello, i have written some code, which fills controls with some data from a database. Everything works fine if controls are put directly in a window. But how to fill controls, which are inside other controls, such as TabControls, GroupBoxes etc.
My code looks like this:
Some window:
private void LoadDataP()
{
if (ID.Length > 0)
...
I'm writing an iphone app, and I would like to have the user able to slow or quicken a pre-made sound file. Is this possible? If so, how would you do it?
Edit:
This looks like a dup of the following post:
http://stackoverflow.com/questions/1191313/iphone-sound-adjust-speed-of-playback-of-audio-file-while-playing
...