|
by: yongwei |
last post by:
I have a user control that used to work fine. But after I moved the project
to another folder, one of the user control won't generate a .resouce file
after rebuild, and the form contains the user control won't work, I get a
run time exception:
Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. make sure "UserControl.resources"
was correctly embedded or linked into assembly...
|
by: Francesco |
last post by:
Hi all,
I am trying to make a UserControl with a TextBox in it.
I have to publish the TextChanged event of the inner TextBox, but I have
some trouble.
If I declare :
public event EventHandler TextChanged;
I get a compiler error saying that TextChanged is already declared and I
have to use :
public new event EventHandler TextChanged;
|
by: Hazzard |
last post by:
I just realized that the code I inherited is using all asp.net server
controls (ie. webform controls) and when I try to update textboxes on the
client side, I lose the new value of the textbox when submitting the form to
update the database. The server doesn't have the client side value any more.
It seems to me that as I begin to write the client side javacript code for
form validation and client side editing capabilities in order to save...
|
by: Lau Lei Cheong |
last post by:
Hello,
I'm writing a usercontrol that contains a property named "disabled". It
is set to false by default but there is also another button in the
usercontrol that'll set it to true.
On the main form a number of them are displayed. During the On_Load
event, 1) It'll check to see if the usercontrol is disabled. If true, the
row containing the usercontrol is hidden.
|
by: JohnR |
last post by:
In it's simplest form, assume that I have created a usercontrol,
WSToolBarButton that contains a button. I would like to eventually create
copies of WSToolBarButton dynamically at run time based on some
initialization information obtained elsewhere. Basically, I'm going to
create my own dynamic toolbar where the toolbarbuttons can change. I'm not
using the VB toolbar because of limitations in changing things like
backcolor (I can't get...
|
|
by: EqDev |
last post by:
I have a class that is a control derived from UserControl. I want to use
serialization and deserialization with this calss but I get an exception
"Cannot serialize member System.ComponentModel.Component.Site of type
System.ComponentModel.ISite because it is an interface.".
I am not interested in serializing any member from the base class only the
properties in the derived class.
How can I prevent the entire base class from being...
|
by: tshad |
last post by:
I get an error when running my Javascript inside my UserControl. It works
fine if I put the UserControl Data directly in my Web Page.
The stripped down code is:
<script language=javascript>
function CheckQuestion()
{
var checkBox = document.getElementById('SecurityStandard');
alert("checkBox.checked = " + checkBox.checked);
|
by: Mark |
last post by:
I am converting a VB6/COM application to VB.NET and must remove all COM
objects.
VB6/COM App Architecture: Windows Form hosts WebBrowser which loads
HTML snippets from local disk. Some of the HTML snippets contain
<objecttags for ActiveX Control. ActiveX Control loads and works
without issue.
VB.NET App Architecture: SAME as above except for: The WebBrowser
Control is initially seeded by loading HTML from local disk. All Other
|
by: Brannon |
last post by:
In the following code I have a Control in a UserControl in a Form. The
Control always gets the keypresses, even after I call Select on the
UserControl. What's the right way to do that? I actually want the
UserControl to get all keypresses and make the Control just pass its
presses to its parent. Thanks for your time.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
|
by: gregfocker |
last post by:
I'm playing w/this sample:
http://ajax.asp.net/docs/tutorials/CreateSimpleAJAXApplication.aspx
and am trying to get this to work in a UserControl. Clicking to select
a different page of data causes the page to PostBack. Is there a way
to prevent this and just have the async postback occur in the
UserControl without the postback.
fyi - Doing this directly on the page (instead of a UserControl) per
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|