|
by: adam |
last post by:
i have custom user control and i'm trying to pass values to custom user
control......I need help it seems to me i cannot pass the value to user
control from dropdownlist. I have property in a control. In a default.aspx
page <SkinExample:Hello id="HelloControl" SkinName="red" runat="server" />
i can pass the value, it works fine, but from the dropdownlist in a
codebehind page i can't pass the value.
Could some one help me out with...
|
by: Ed Bick |
last post by:
I built a custom control. It has one custom property that I created
exposed. What I want to do though is to have the property show as a
dropdown with only a limited number of choices for settings. An example
would be the dropdown style of a combo box. The designer can only select
one of three previously defined options and can not type anything arbitrary
in.
Can anyone explain how to do that?
|
by: Kay |
last post by:
Hello,
I have developed a web custom control, I want one of the properties of the
control to appear as a dropdown list so the user can select from the list.
My question is: how do I define an editor to fill up the dropdown list, so
far I have the following code which displays the property as a dropdown but
I do not know how to get values it to it, I have only 3 values.
Public Class EntryModeEditor
Inherits...
|
by: david |
last post by:
I try to use "for" loop to retrieve and assign values in web form. The code
is in the following. But it can not be compiled.
What I want to do is:
txtQ1.Text = ds.Tables("mmsSpecRecord").Rows(0)("Q1")
txtQ2.Text = ds.Tables("mmsSpecRecord").Rows(0)("Q2")
.....
txtQ10.Text = ds.Tables("mmsSpecRecord").Rows(0)("Q10")
------code -------
Dim field As String = "Q"
|
by: Anil Gupte |
last post by:
I am trying to use a dataset to assign a display name (one column from a
table) and also associate a value (2nd column) to each item in a dropdown
combobox. I tried it this way:
DropDownProfiles.DataSource = WizoProfilesDataSet
DropDownProfiles.ValueMember =
WizoProfilesDataSet.Tables("Profiles").Columns(0).ColumnName
DropDownProfiles.DisplayMember =
WizoProfilesDataSet.Tables("Profiles").Columns(1).ColumnName
|
|
by: --== Alain ==-- |
last post by:
Hi,
I have a huge problem...
My property does not appear in the "propertyGrid" of "test Container",
when i test my custom control.
Here is the custom control code :
namespace ARListView.Design
{
|
by: R.A.F. |
last post by:
Hi,
I have a custom control in which i have a collection property named
"Columns".
this collection property add/remove column objects.
in my Column class i have a property named Alignment which use a custom
property editor.
when this property editor is not linked to this property,
|
by: Academia |
last post by:
I let the use modify the text of a combobox and then I replace the selected
item with the new text (in Keyup event).
But if he sets the Text property to an empty string ("") that sets the
SelectedIndex to -1.
Do you have any suggestion for getting around this problem?
|
by: LionsDome |
last post by:
Hello,
I have a vb.net page which a bunch of checkboxes. A user can select a
checkbox(s) and hit the submit button to store those values in a SQL
Server table. This works fine with no problem the first time the user
submits. However when user submits a second time while changing some
of the selected boxes the page only re-submits the previosly selected
checkbox values. It's like its storing it somewhere in the cache or
something. My...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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: 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.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|