Is there any textbox comoponent(control) which is counting back from the maxlength?
I can write it but i would like to find a control which has this function.
hi
i have string MyText that hold "L1"
i have label control that his name is "L1"
is there any way to read label L1 using MyText ?
somthing like: TMT = MyText.text
or: TMT = ((Control)MyText.ToString()).Text;
thank's in advance
IM using three different user control.. i want make those controls and child controls as control collection . so that its reusable.How can i achieve this. Thanks in advance.
i hav a calender control, two textboxes... one textbox is for fromdate and other is for todate,
i need to select two dates... how can i get the dates selected from calender control into my textboxes
I have a list containing version strings, such as things:
versions_list = ["1.1.2", "1.0.0", "1.3.3", "1.0.12", "1.0.2"]
I would like to sort it, so the result would be something like this:
versions_list = ["1.0.0", "1.0.2", "1.0.12", "1.1.2", "1.3.3"]
The order of precendece for the digits should obviously be from left to right, and it should be decending. So 1.2.3 comes before 2.2.3 and 2.2.2 comes before 2.2.3.
How do I do this in Python?
Hello,
Im writing application in c++ and after try to run built (in debug mode) application on another machine I had error (The application has failed to start because its side-by-side configuration is incorect). I realised that there are missed DLLs from windows\WinSxS\
But I dont really know which folder contains what I really need and secondly I dont know how to check my compiler version in visual studio.
Thanks for help
Hai
am having a WPF user control, when i use that control in another window it loading twice, so its throwing exception for me, coz am having some function in usercontrol_loaded event, when it loading twice it throwing error, is there any other way to check if the usercontrol is loaded like that, else how to solve this issue.
Hi,
I have an object Trip in my object model containing a list of Nodes (e.g. NodeName, StartDate and EndDate) and I am trying to build a Custom control in WPF that draws list of rectangles: one for each Node contained in the Trip object (based on StartDate en EndDate)
Would you have any hint on how the Custom Control should be structured so that I can bind a Trip object to it and draw the rectangles properly, please?
My question is about how to acces a server control (listbox) that is located in default.aspx.
I wish to acces this control in Functions.cs (this class is located in the App_Code folder).
My page structures:
- 1 masterpage with 1 content holder
- Default.aspx (all the controls are within the content place holder)
- Functions.cs (located in App_Code)
Now when i try to fill up the listbox elements i get the error "object reference not set to an instance of an object."
What i have tried to gain acces to this control: (this code is located in Functions.cs in App_Code).
This is basicly showing some items in the listbox that are located in the xml file
private static string file = HttpContext.Current.Server.MapPath("~/App_Data/Questions.xml");
public static void ListItems()
{
XmlDocument XMLDoc = new XmlDocument();
XMLDoc.Load(file);
XPathNavigator nav = XMLDoc.CreateNavigator();
XPathExpression expr;
expr = nav.Compile("/root/file/naam");
XPathNodeIterator iterator = nav.Select(expr);
//ATTEMPT to get acces to ServerControl(listbox)
Page page = (Page)HttpContext.Current.Handler;
ListBox test = (ListBox)page.FindControl("lbTest"); //control is called lbTest in Default.aspx
test.Items.Clear();
while (iterator.MoveNext())
{
test.Items.Add(iterator.Current.Value);
}
}
Code from the default.apx file
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterFile.master" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="default" Debug="true" %>
<%@ MasterType TypeName="Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphContent" Runat="Server" >
<asp:MultiView ID="mvTest" runat="server" >
<asp:View ID="vCollection" runat="server">
<asp:ListBox ID="lbTest" runat="server" CssClass="listbox" ></asp:ListBox>
</asp:View>
</asp:MultiView>
</asp:Content>
The masterfile itself just has 1 placeholder.
Then i call upon the funcion ListItems in the Default.aspx.cs file
protected void Page_Load(object sender, EventArgs e)
{
Functions.ListItems();
}
Regards.
Is there a goal one can execute that will just echo the versionof a pom? I can think of a way to make it work using the maven-ant-plugin, but that requires me to have ant-plugin configuration in the pom and I would a method that would work with any pom.
I am using jQuery star rating control found at http://www.fyneworks.com/jquery/star-rating/#tab-Overview . I am using 5 stars, each star having a particular value from 1 to 5. The control is getting displayed and behaving properly. However, I have a requirement of getting the value of the star clicked, immediately after a star is clicked. I do not know how to do it.
I appreciate your help.
Is there a possiblity to get or generate a version ID on every GWT compile is performed, from ant Build File or using 'Compile' button Google Eclipse Plugin?
I want to be able to find the old value of a asp.net control (textbox, checkbox etc) without relying on events (e.g. OnTextChange event). Something like "someTextboxControl.OldText" would be perfect! I imagine that it is stored in the viewstate and need to somehow get at it via a custom control. Any ideas?
I have a set of validation controls on my asp.net page, to validate values in textfields. I also have a calendar control on the same page. When I click on the calendar image, the validation control message box pops up. How can I avoid that from appearing when the calendar icon is clicked?
Hi All,
can anyone guide me how to set ASP.NET version for virtual directory in windows 7.
I am searching in IIS Manager, The UI of IIS Manager in Windows 7 is totally changed and I could not find it at all.
I would like to be able to display the versionof the .NET framework a windows form or wpf project is targeted at and display it in the title bar of the app.
Is there a way I can do this?
Thanks
What is the best way to determine whether IIS is installed and the version if it is using MSBuild?
So far I can think of using either WMI or Registry but is there an existing task in the MS Community Task, MS Web Deployment or MSBuild Extension tasks which already does this?
the issue i mentioned in this post is actually happening because of cross threading GUI issues (i hope).
could you help me with Java versionof action delegate please?
in C# it is done as this inline:
this.Invoke(new Action(delegate()
{...}));
how is this achived in Java?
thank you.
Is there a way to access the Java Plug-in Control Panel programatically? Or at least find the places in the Windows File System where the information backing that control panel is stored?
How to add a control in DataGridView? Using Button event. For example i want to create a new a row and column in DataGridView, this i want to happen through button control. How can i do it?
I am using C#.net and MS-Access.
The user Laurent had an interesting reply to the question [Why hasn’t logic programming caught on?]:
If you look at the influence
logic-programming has had in the field
of -- air traffic control -- I don't think it can be said logic-programming
has not caught on.
A question arises:
Where is prolog used for traffic
control systems on the roads? Why is it used
instead of languages, such as C or
Python, in such environments?
I am using c# with asp.net and SQL Server 2005 as backend. I want to use dropdown list control in a form to populate a textbox. The dropdown control is linked to a column in the database. How can I code this in c#?
Hi, guys! I have a question about remote control by wi-fi from pc or mobile phone.
I want to control a some robot by wi-fi, but i don't know about any wi-fi DYI modules, anyone have a links to pdf, blogs and others about this question? It's may be such a programming wi-fi protocol and others.
Thanks!