|
Can we access one control Id registered in one aspx in to another ascx control,,
Started by peter on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For example, can you imagine a textbox control that needs some element with a nameYour question is not very clear, but I guess you are trying to access a page's control from inside a .ascx control, am I right?
If....
By itself.
|
|
I have seen a few examples of how to do this with winforms but have been unable to get it to work in wpf as a wpf TabItem does not have a definition for Controls. Here is the code that I'm using right now, which does not work.
TabItem ti = rep1Tab; var...
Started by highone on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Foreach() in conjunction with VisualTreeHelper.GetChildrenCount()
A TabItem usually contains a container control of a particular control....
You can try looping through the children of that container control.
Such as the default Grid.
|
|
I am looking for some recommendations on good places to find libraries of controls/templates/styles for WPF. I know about the usual places like Infragistics, but it seems to me that there should be some kind of community effort by now to share nice, clean...
Started by Geoffrey Chetwood on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://www.codeplex.com/
http://www.codeplex.com/site/search?projectSearchText=wpf%20control
Silverlight and WPF Dashboards and gauges
Simple (but great....
Something like this? http://www.wpfstyles.com/
Check out Reuxables although it comes at a cost .
|
Ask your Facebook Friends
|
I need a help on this following aspx code
aspx Code:
<asp:Label ID ="lblName" runat ="server" Text ="Name"></asp:Label> <asp:TextBox ID ="txtName" runat ="server"></asp:TextBox>
Consider this is my aspx page content. I am going...
Started by balaweblog on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The server control allows you to manipulate the properties....
Labels just don't post back.
If you're not going to do anything with lblNames from the server then it is perfectly okay elements and do not get posted back to the server .
control.
|
|
I have done this the other way many times as it makes sense (the page knows about the control as it has been added to the page and can handle the 'child' event)
Is it possible to do it the other way? I think not as the control doesn't know what page it...
Started by Dean on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Since the control has to communicate through something, you can kill the page even if the "control a user has not logged....
If so, your real issue is handling shutting down a modal popup, which can.
Is a page and a control.
|
|
I need for example to disable all buttons in a form or validate all textbox's data... any Ideas.. thanks in advance!!!
Started by Luiscencio on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The simplest option may be to cascade:
public static void SetEnabled(Control control, bool enabled) { control.Enabled = enabled; foreach(Control child in control.Controls) { SetEnabled(child, enabled ApplyAll(Control control....
|
|
Hey ,
In my application I have one Entry form in which there are six Text fields
Name :UITextField Date of Birth :UITExtField Age:UITextField Address :UITextField Phone No :UITextField Image : UIIMageView Now What I want is that I want all these fields...
Answer Snippets (Read the full thread at stackoverflow):
In delegate .h file.
You can achieve that by implementing getter and setters in the delegate class.
|
|
Can someone recommend me a free .NET Windows Forms tooltip control which can be displayed anywhere on the screen (not tied to a particular control).
Thank you.
Started by AlexKelos on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
ToolTip has a Show method which....
Your application does.
You can use the standard ToolTip control in the Windows.Forms namespaceAdd a standard Tooltip control to a form? It has to be hosted somewhere.
Investigate the System Tray.
|
|
How do I setup a custom server control, so that it can be dragged into a design view in Visual Studio?
I have create a separate ASP.NET Server Control project and a custom MailLink control, basically by copying the code from this MSDN article: How to:...
Started by Jan Aagaard on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Unfortunately, depending on what kind of control you build you can normally only get designer support....
Controls/page4/
Just to make sure we're on the same page:
There are more than one type of control you can build in ASP.Net.
|
|
I want to load a desktop application, via reflection, as a Control inside another application.
The application I'm reflecting is a legacy one - I can't make changes to it.
I can dynamically access the Form, but can't load it as a Control.
In .Net Form...
Started by Keith on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
PanelFormHost.Controls.Add ( form );
What is the exception you get? Is it possible that the control itself is giving.
|