Hi,
I have a an asp.net label control on my page.
I have set the style to overflow: auto.
What i would like to know, is when there is a lot of text in my label and the vertical scroll bar is showing, is there away i can scroll to the end of the label using javascript?
I would like the user to always see the bottom section of the labe...
Does an opensource web control exist that can read raw mime-encoded email (stored in a mysql db) and reliably render it to the browser? Something along the lines of fckeditor but email focussed?
The control only needs to be able to render the email (and preferably expose APIs for working with the email header, attachments and contents)....
I have a text block on my page. Basically, I'd like to allow the user to be able to click and drag this text block to move it wherever they would like on the page. From what I could tell there are no properties in the text block control that I can tinker with to allow the user to do this.
I didn't know if there was a property I was ju...
Is there a Silverlight control out there that will allow you to type in text and have it highlighted as code?
For example:
foreach (client in Clients)
{
client.Save();
}
would become
foreach (client in Clients)
{
client.Save();
}
I need to write a web app to screen non-programming programmers without wasting time on them one...
I'm trying to migrate a WPF Application based on C# to identical project but based writed in VB.NET.
I have some problem with XAML Window.
The Window have some reference from external dll controls. For example:
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas...
What is a LiteralControl? I was reading about LiteralContols but I am not sure why they are used.
I used this code to list the controls in a page and -
I have a page which has a label and a button. When I use this
foreach (Control control in Page.Controls)
{
Response.Write(control.GetType().ToString() + " - <b> " + control.ID + "</b>...
When i do something like this:
public static void BindData<T>(this System.Windows.Forms.Control.ControlCollection controls, T bind)
{
foreach (Control control in controls)
{
if (control.GetType() == typeof(System.Windows.Forms.TextBox) || control.GetType().IsSubclassOf(typeof(System.Windows.Forms.TextBox)...
Hello
I have a TreeView that I filled with a list of TreeViewItem from a collection (using the binding), I linked to a TreeView event "Expand" to expand it and display their childrens, my objective now is to get the last TreeViewItem accessed and to initialize the TreeView by the last treeViewItem consulted.
I can retrieve the last Tree...
Hi there!
I'm using a ToolTipto display some additional info on my form components, and I'm handling the display by myself. That is I have a function that does :
Public Sub ShowTip(ByVal sender As Control)
Dim Pair As String() = sender.Tag.ToString.Split(New Char() {";"c}, 2)
If Pair.GetLength(0) = 1 Then
MyToolTip.Too...
Hi,
I am working in asp .net 3.5 web application. I mostly use html textboxes, check boxes and radio buttons etc., and some customised ajax submit buttons using ajax extensions.
I already used a majority of asp .net web controls from tool box when I worked with asp .net 2.0
I am aware of silverlight that can enable to create controls w...
Hey there.
The program I'm working on at the moment uses C# WinForms (on the 2.0 .NET Framework, though that probably won't make a difference in this case). The design calls for the ability to scale a form and all of its controls up and down. I did this by looping through each of the controls, saving their original sizes and locations, ...
Apologies for the incredible newbish question, but I just wanted to hear some authorities on when and where you should use a LITERAL control over a LABEL.
As I understand it, the difference is this: A LABEL can be styled via the <SPAN> tags that are added.
I personally find the addition of <SPAN> tags in my HTML to be very annoying an...
tl:dr version:
Is there a way to get the panels to render as divs when rendered by RenderControl?
Background:
I am working on an asp.net 1.1 site, and I am trying to render a control containing panels to a string so I can pass it back to the page as JSON and refresh part of the page.
I am rendering the control thusly:
StringWriter t...
In VB6 you have the ability to name your controls with an index.
i.e.: cmdStartInterval(1), cmdStartInterval(2), ... .
Then you have a method head like this:
Private Sub cmdStartInterval_Click(Index As Integer)
...
End Sub
Is this also possible in a similary way in C#?
...
I was wondering, whats the best way to handle common HTML controls in ASP.NET? I mean, ASP.NET server controls generate too much crap inside the code so I rather use common controls.
But how about databind and how to manage those common objects correctly (such as combobox, textbox and so on)?
...
I'm experimenting with MVVM and I can't quite wrap my mind around it.
I have a View (windows) that has several repeated controls.
Let's say I have 4 textbox - button pairs. Their behavior should be the same, after pressing a button paired textbox says "Hello World!"
I have tried several options I could think of:
One ViewModel, 4 st...
I finally got my site to work on my server, and it is now visible at http://www.mhn.co but when you click on any of the categories on the top it loads a professional's profile, but the image buttons I'm using like tabs on the profile content don't load, and just display "Submit Query" until clicked on, then the images load. This is my fi...
I have a TextBox control placed inside my window and I would like to change its Border. In order to do this, I have to somehow modify the existing Border set by the default control template.
Is there a way to modify only a part of a default control template (for a standard WPF control) by somehow overriding the existing objects?
...
I'm looking for a winforms control that can output text like in a console window (output is appended to the bottom, color formatting, etc.) Much like the "output" window in most IDEs.
I tried making one myself but it didn't work the way I wanted, so I'm wondering if there is some existing control out there.
This is for an open-source p...
I've searched a lot and the nearest thing I've found is this. The question is exactly about what I want to code, but there's only one vague answer. Searched code.google.com for GiveFeedback implementations, but none about what I want. Any idea, please?
...