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.
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.
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
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
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 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?
Is there a goal one can execute that will just echo the version of 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 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 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.
the issue i mentioned in this post is actually happening because of cross threading GUI issues (i hope).
could you help me with Java version of action delegate please?
in C# it is done as this inline:
this.Invoke(new Action(delegate()
{...}));
how is this achived in Java?
thank you.
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?
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?
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 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?
I would like to be able to display the version of 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
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?
Hi
I downloaded and installed Version 3.2.1 of XCode.
On the top left dropdown, I can only see the option of building it in 3.12 and 3.13.
Any ideas one how to build it it 3.1?
Thanks,
Chris
digadesign is online now Report Post Reply With Quote
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!
Hi I want to know if there is a way using C# to get the Current Silverlight Version a user is running when opening a client of an app im developing.
Its for logging purposses.
I want to know if they are using silverlight 3 or 4 on their browsers
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#?
On 2 separate machines in completely different environments (work, home) I've been unable to compile libCURL out of the box. Running nmake -f Makefile.vc mode=dll VC=10, I get an unresolved external symbol errors for _IdnToAscii and _IdnToUnicode. I believe the definitions are in Normaliz.lib, which is referenced in LFLAGS, but it either isn't finding it or the version I have doesn't have those functions. But I don't see any option to download this file...anyone have a good solution short of commenting out the 2 lines that use these functions?