Hi, I am creating huge amounts of dynamic controls, and for everything that must have an ID assigned, I assign it using a guaranteed unique variable(unless 64bits overflows from just controls).
Now, I have a problem though. I have a duplicate control somewhere and I can not discover where it is added or anything because it doesn't happe...
Our web application has a control that's set up with a markup, code-behind, and designer file, as so:
Markup
<%@ Control Language="VB" AutoEventWireup="false"
Inherits="NewNameSpace.Controls.generic_selector" Codebehind="generic-selector.ascx.vb" %>
For some reason, while it worked before when it was in the default namespace, whe...
Hi,
I have a tabcontrol on my form, on each tab I have a control, each of these controls are similar i.e. they each have a table and a couple buttons and each control is set to Dock Fill
When I view them contols in design view something weird is happening, the first tab that is viewable has it controls placed as you would expect and al...
Best alternative solution for ASP.NET AJAX UpdatePanel for dynamically add and remove user controls without full postback
...
Hi all,
I would like to ask about some sources for developing applications with Python and Google App Engine.
For example, some controls to generate automatically pages with the insert/update/delete of a database table, or any other useful resources are welcome.
Thank you!
...
Hi,
I am developing and application service and I want users to be able to query programatically (the service would then return back any data requested). My working plan now is to use ActiveX controls, but i have been told they are out of date. I was wondering what would be some more recent/platform-independent solutions out there? (I d...
I have my MainForm, it's a Windows Forms form. There are many child controls and now I want to call one function on my MainForm that notifies all children.
Is there something to use in the Windows Forms form? I played with update, refresh and invalidate with no success.
...
Hi,
I am creating a search using listview. when user enter a word in search, I am generating a listview with the results.
Now, there will be tags in each listview row. When, user clicks the tag, again a search happens using the value in the tag. There may be any number of tags for each listview row. I have to generate linkbuttons for t...
There are certainly some advantages in having a selection rectangle highlighting the currently selected element which also has the focus. However an element with padding can cause the rectangle to be drawn on a totally unwanted position and therefore is hindering and not helpful. So without further ado my question is: Is there a way to h...
I have a follow up question to this one. Now that I have only the control I want showing up in the Toolbox in Visual Studio, how do I set the Category? It currently shows up in a category titled with the assembly name. I would rather use our company name. I have read how I can create my own ToolboxItem derived class to do this, but t...
I have a masked textbox on my winforms application where if a user clicks inside of the masked textbox, the cursor will start out in that location. For example, if they click in the middle of the masked textbox there will be a blinking cursor in the middle. How can I get the cursor behavior to be such that it will default at the left-mos...
I am using the webBrowser control in c# to load a webpage and need to call a JavaScript function that returns a string value. I got a solution to use the InvokeScript method, and i tried a lot , but everything got failed...... plz help me
...
Hi to all,
At my program i dynamicly add Buttons to my form
{
...
Button bt = new Button();
bt.Text = "bla bla";
bt.MouseClick += new MouseEventHandler(bt_MouseClick);
myPanel.Controls.Add(bt);
...
}
void bt_MouseClick(object sender, MouseEventArgs e)
{
TabPage _tab = new TabPage();
_tab.Text = ??? // I w...
Hello:
My application incorporates the manual as a PDF file and I want that the user can read the manual without exit and with a minimun overload.
Do you know any free (as in beer) component for .net that can just read pdf files? (I don't need editing).
Thank you.
P.D.: Yes, I did Googled, but I can't find a free one.
P.D.2.: If I ...
What is currently the best third party control set for Silverlight 3? My application will make heavy use of a CRUD datagrid and an interactive global map with my own datapoints layers. I am willing to purchase individual map/datagrid components but would prefer to stick to the one vendor if possible.
My metrics for 'best' are primarily ...
Hi I want to do the following in xaml:
I have a property FocusTarget in my control class which I want to assign an UIElement from the current class. Is this possible in XAML?
<my:BaseControl x:Class="SectionControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/200...
I need to prohibit user from selecting value in some Excel 2007 combobox control inserted via Developer menu by condition. Now I managed only to show/hide the control.
ActiveWorkbook.Worksheets("summary").Shapes("months").Visible = year <> ""
Is it possible to enable/disable it instead?
...
When using asp:login, asp:forgotpassword and asp:createuserwizard controls within an ascx. (e.g registration.ascx) it can't find e.g UserName, even tho it exists within LayoutTemplate. Any idea how to fix this?
...
Hi All,
I've created some code that will dynamically generate a bunch of different LinkButtons. I've got each link button's onClick even pointing to:
void LinkButton_Click(object sender, EventArgs e)
{
Response.Write("You clicked the link button");
}
This runs fine, but now I when one of the LinkButtons is click I want t...
I want to create a control (derived from TCustomControl) that is invisible but reacts to normal events (I want to use it to show a hint when moving the mouse over a custom element). I thought overriding the paint method and leaving it empty would do the job but unfortunately a rectangle is drawn where the component is.
How can I make th...