I'm not really used to C# sharp but have used VB.NET before.
I'm needing to set the value of text fields, dropdowns etc from data from a query. To enter the data I have been using a class Computer with the method saveComputer() that takes values from user controls. Now I want an edit page that uses the id from url & uses getComputer(id...
Hi All,
I have a wpf combobox within a data template and would like the user to set its item / data template.
Here is what I have done so far.
I have created the user control
Add a dependency property and in the code behind file scripted to consume the control.
I cannot however get the control to work from the page, the control when d...
I have a series of WPF UserControls in a single Class Library. There are multiple levels to the controls and the top most level will use multiple lower level controls. Some of the low level controls import classes from other external DLLs and then use those classes in properties of the control. The problem is that when I try to drop o...
I'm pretty sure the answer is going to be no here, but I just want to be sure. As you can probably guess I'm in progress of converting a web forms project over to ASP.NET MVC. Thus, I have a web forms master page and a MVC master page. The user controls (.ascx) render fine in the MVC Master page, but the post-backs essentially do nothing...
Hey guys / gals,
I am almost too embarrassed to ask this question, but here we go...
I am not an expert with user controls, and need some design advise regarding trying to achieve a specific desired functionality.
The goal is to have a usercontrol that would render as a complex structure of html elements and css to form an elegant c...
I am looking for a good framework for user and user group management in PHP. I want a to be able to add/edit/delete profile, save in a db; add/edit/delete groups; assign a user as group leader, nothing more.
I tried http://www.phpclasses.org. There are many options there but I simply don't know which once to go for. I don't have much t...
hi, am using element host for hosting WPF user-control.
For that i need elementHost control dynamically, can i add it Dynamically..??
by creating object..??
...
I wonder how sites like trulia.com and fotocasa.com customized the google maps ui for their website
ex1:
http://www.trulia.com/for_sale/Pinecrest,FL/x_map/#for_sale/Pinecrest,FL/x_map/2_p/
...
I want to make a user class that can edit pages, and save them as a draft without being able to publish it. An admin would have to go in and publish the draft once they approve it.
The idea is similar to TDO Mini Forms except this will be done within the Wordpress admin panel, not be a form, and they must be a registered user in a speci...
Hello
I have a weird issue. I have a user control which I load dinamycally using LoadControl. In this UserControl I have a button whith assigned OnClick event, but when I click that button, the event is not fired.
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ServiceInput.ascx.cs"
Inherits="uPay.UserControls.ServiceInputs...
I have a UserControl that does some cool video capture stuff. Now I slapped that control on a form - and it starts working right away, even in design time! That's very gratifying and all to see it working, but it's kind of annoying at design time, and it slows me down. I know that the UserControl is effectively in run-time when it's b...
I have a UserControl which contains 4 ToggleButtons and I'd like to trigger a custom event that an interested object can listen for which provides a status, based on the ToggleButton Checked values and also value(s) from the DataContext object.
Getting the ToggleButton checked values and deriving a status is simple enough, however I can...
I was wondering if there's a way in Umbraco to log errors that we get when it fails to load xslt or user-controls. Generally it shows a red box saying it couldn't load the control and stuff. Is there a way to properly log this?
Thanks in advance.
...
I render some markup dynamically in a Web User Control, can I get that out in design mode, and not only runtime?
public override void RenderControl(HtmlTextWriter writer)
{
if (this.DesignMode)
writer.Write("<p>In design mode</p>");
else
base.RenderControl(writer);
}
... nothing happens when I check the design view of the contr...
I am using a user control (.ascx) as below
<div class="ui-widget" id="w_instruction">
<div class="ui-state-instruction ui-corner-all w-msg">
<a id="btn_instruction_close" class="ui-dialog-titlebar-close ui-corner-all" href="#" style="float:right;"><img src="../../Images/i_close_blue.png" border="0"/></a>
...
I have the following textbox with validation:
<asp:TextBox ID="txtInput" runat="server" Width="80px"
CausesValidation="True"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredValidator" runat="server"
ControlToValidate="txtInput"
Display="None"
...
I'm starting with MVC 2 in Visual Studio 2010. The thing is I'm working with a MasterPage where I'm rendering an action which returns a UserControl:
Everything works well, I mean the user control has a lot of other labels and it's rendering other properties... So the problem has nothing to do with anything apart the img tag and the src a...
Hi All,
My company is going to development drag and drop feature in Silverlight. We are very new to Silverlight and just learnt SL for a week ago. But I believe the feature that my company wants can be done in Silverlight. The control about is about the time table in which the resource will be shifted around.
Here is the feature detail...
Hi,
I got a user control that has a few links, one of them is "add article". It's placed on top of the article and bottom of it. When the user clicks on it, the text changes to 'article added'.
But the text only gets changed for one of the links which has been clicked on. How can I make it so that both text changes no matter which one ...
I want something like that:
<my:MyFancyPanel>
<asp:Label Text="Hello">
</my:MyFancyPanel>
I tried but it seems my usercontrol doesn't accept any content.
...