473,473 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

User Control Property

Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?

Nov 21 '05 #1
16 1978
Hello David,

Very simple. Just put attribute to the property you want to be in property
window.
<System.ComponentModel.Category("MyApp")> _

"MyApp" can your name of your application. It shows up when you order the
properties in categorized view.
Anyone know how to ... make a user control property that shows up in
the
property pages and allows one to select a value from a set of values
?
like a combobox for example ?

Nov 21 '05 #2
I'm not sure i understand ... will that allow me to make a list of stuff i
want the user to select from the property window ?

"Hayato Iriumi" <hi*****@hotmail.com> wrote in message
news:17*********************@news.microsoft.com...
Hello David,

Very simple. Just put attribute to the property you want to be in property
window.
<System.ComponentModel.Category("MyApp")> _

"MyApp" can your name of your application. It shows up when you order the
properties in categorized view.
Anyone know how to ... make a user control property that shows up in
the
property pages and allows one to select a value from a set of values
?
like a combobox for example ?


Nov 21 '05 #3
Declare the input value of the property as an enumerated value...

Public Enum People
Ann
Bill
Carter
David
End Enum

<Browsable(False)> Public Property UserName() As People
Get
Return m_userName

End Get

Set(ByValue value as People)
m_userName = value

End Set

End Property

A

End Property
"David Gacek" <so*****@hotmail.com> wrote in message
news:ul**************@TK2MSFTNGP10.phx.gbl...
Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?

Nov 21 '05 #4
David,

First the sample what I think you are asking for, when this is not the
answer ask more?

Just make a property
\\\
Private mDavid As Integer
Friend Property David() As Integer
Get
Return mDavid
End Get
Set(ByVal Value As Integer)
mDavid = Value
End Set
End Property
///

Most of it will be made automaticly when you type in
Friend Property Dave() As Integer

I hope this helps?

Cor

"David Gacek" <so*****@hotmail.com>
Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?

Nov 21 '05 #5
Thanks Ray you are the closes to what i was looking for however when i try
to use an enum i get constact expression required
I already tried that earlier with enum and tried an alternate way. still
working on this .

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:eG**************@TK2MSFTNGP11.phx.gbl...
Declare the input value of the property as an enumerated value...

Public Enum People
Ann
Bill
Carter
David
End Enum

<Browsable(False)> Public Property UserName() As People
Get
Return m_userName

End Get

Set(ByValue value as People)
m_userName = value

End Set

End Property

A

End Property
"David Gacek" <so*****@hotmail.com> wrote in message
news:ul**************@TK2MSFTNGP10.phx.gbl...
Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?


Nov 21 '05 #6
Is there any other way to what Ray illustrated without using enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ev**************@TK2MSFTNGP09.phx.gbl...
Thanks Ray you are the closes to what i was looking for however when i try
to use an enum i get constact expression required
I already tried that earlier with enum and tried an alternate way. still
working on this .

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:eG**************@TK2MSFTNGP11.phx.gbl...
Declare the input value of the property as an enumerated value...

Public Enum People
Ann
Bill
Carter
David
End Enum

<Browsable(False)> Public Property UserName() As People
Get
Return m_userName

End Get

Set(ByValue value as People)
m_userName = value

End Set

End Property

A

End Property
"David Gacek" <so*****@hotmail.com> wrote in message
news:ul**************@TK2MSFTNGP10.phx.gbl...
Anyone know how to ... make a user control property that shows up in the property pages and allows one to select a value from a set of values ? like a combobox for example ?



Nov 21 '05 #7
I'm trying to call a function for a the enum thats why i'm getting the
error.
How else can i acheive the same result with out using an enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
Is there any other way to what Ray illustrated without using enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ev**************@TK2MSFTNGP09.phx.gbl...
Thanks Ray you are the closes to what i was looking for however when i try
to use an enum i get constact expression required
I already tried that earlier with enum and tried an alternate way. still
working on this .

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:eG**************@TK2MSFTNGP11.phx.gbl...
Declare the input value of the property as an enumerated value...

Public Enum People
Ann
Bill
Carter
David
End Enum

<Browsable(False)> Public Property UserName() As People
Get
Return m_userName

End Get

Set(ByValue value as People)
m_userName = value

End Set

End Property

A

End Property
"David Gacek" <so*****@hotmail.com> wrote in message
news:ul**************@TK2MSFTNGP10.phx.gbl...
> Anyone know how to ... make a user control property that shows up in
the > property pages and allows one to select a value from a set of
values ? > like a combobox for example ?
>
>
>



Nov 21 '05 #8
i want to stay away from the enum because the values i would be adding to
the property page are not contants.

"David Gacek" <so*****@hotmail.com> wrote in message
news:#2**************@TK2MSFTNGP15.phx.gbl...
I'm trying to call a function for a the enum thats why i'm getting the
error.
How else can i acheive the same result with out using an enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
Is there any other way to what Ray illustrated without using enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ev**************@TK2MSFTNGP09.phx.gbl...
Thanks Ray you are the closes to what i was looking for however when i try to use an enum i get constact expression required
I already tried that earlier with enum and tried an alternate way. still working on this .

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message news:eG**************@TK2MSFTNGP11.phx.gbl...
> Declare the input value of the property as an enumerated value...
>
> Public Enum People
> Ann
> Bill
> Carter
> David
> End Enum
>
> <Browsable(False)> Public Property UserName() As People
> Get
> Return m_userName
>
> End Get
>
> Set(ByValue value as People)
> m_userName = value
>
> End Set
>
> End Property
>
> A
>
> End Property
> "David Gacek" <so*****@hotmail.com> wrote in message
> news:ul**************@TK2MSFTNGP10.phx.gbl...
> > Anyone know how to ... make a user control property that shows up
in the
> > property pages and allows one to select a value from a set of

values
?
> > like a combobox for example ?
> >
> >
> >
>
>



Nov 21 '05 #9
David,

Although I readed your question not right and in the same time did not see
the message from Ray, would I have made it the same as Ray, however I
thought I sand you a message 2 hours ago that by incident is the answer on
your question as it is now.

I hope that helps?

Cor
"David Gacek" <so*****@hotmail.com>
i want to stay away from the enum because the values i would be adding to
the property page are not contants.

"David Gacek" <so*****@hotmail.com> wrote in message
news:#2**************@TK2MSFTNGP15.phx.gbl...
I'm trying to call a function for a the enum thats why i'm getting the
error.
How else can i acheive the same result with out using an enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
> Is there any other way to what Ray illustrated without using enum ?
>
> "David Gacek" <so*****@hotmail.com> wrote in message
> news:ev**************@TK2MSFTNGP09.phx.gbl...
> > Thanks Ray you are the closes to what i was looking for however when
> > i

try
> > to use an enum i get constact expression required
> > I already tried that earlier with enum and tried an alternate way. still > > working on this .
> >
> > "Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message > > news:eG**************@TK2MSFTNGP11.phx.gbl...
> > > Declare the input value of the property as an enumerated value...
> > >
> > > Public Enum People
> > > Ann
> > > Bill
> > > Carter
> > > David
> > > End Enum
> > >
> > > <Browsable(False)> Public Property UserName() As People
> > > Get
> > > Return m_userName
> > >
> > > End Get
> > >
> > > Set(ByValue value as People)
> > > m_userName = value
> > >
> > > End Set
> > >
> > > End Property
> > >
> > > A
> > >
> > > End Property
> > > "David Gacek" <so*****@hotmail.com> wrote in message
> > > news:ul**************@TK2MSFTNGP10.phx.gbl...
> > > > Anyone know how to ... make a user control property that shows up in > the
> > > > property pages and allows one to select a value from a set of

values
> ?
> > > > like a combobox for example ?
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 21 '05 #10
try that in better english or after some sleep :) cause i couldn't
understand it.

Yes it still don't work how i want it ...
all i would like to do is have the user select from a group a values and i
can not use an enum because the values that would be used are not constants.
So is there any other way doto this with out an enum like in Rays sample. ?

"Cor Ligthert" <no************@planet.nl> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl...
David,

Although I readed your question not right and in the same time did not see
the message from Ray, would I have made it the same as Ray, however I
thought I sand you a message 2 hours ago that by incident is the answer on
your question as it is now.

I hope that helps?

Cor
"David Gacek" <so*****@hotmail.com>
i want to stay away from the enum because the values i would be adding to the property page are not contants.

"David Gacek" <so*****@hotmail.com> wrote in message
news:#2**************@TK2MSFTNGP15.phx.gbl...
I'm trying to call a function for a the enum thats why i'm getting the
error.
How else can i acheive the same result with out using an enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
> Is there any other way to what Ray illustrated without using enum ?
>
> "David Gacek" <so*****@hotmail.com> wrote in message
> news:ev**************@TK2MSFTNGP09.phx.gbl...
> > Thanks Ray you are the closes to what i was looking for however when > > i
try
> > to use an enum i get constact expression required
> > I already tried that earlier with enum and tried an alternate way.

still
> > working on this .
> >
> > "Ray Cassick (Home)" <rc************@enterprocity.com> wrote in

message
> > news:eG**************@TK2MSFTNGP11.phx.gbl...
> > > Declare the input value of the property as an enumerated value...
> > >
> > > Public Enum People
> > > Ann
> > > Bill
> > > Carter
> > > David
> > > End Enum
> > >
> > > <Browsable(False)> Public Property UserName() As People
> > > Get
> > > Return m_userName
> > >
> > > End Get
> > >
> > > Set(ByValue value as People)
> > > m_userName = value
> > >
> > > End Set
> > >
> > > End Property
> > >
> > > A
> > >
> > > End Property
> > > "David Gacek" <so*****@hotmail.com> wrote in message
> > > news:ul**************@TK2MSFTNGP10.phx.gbl...
> > > > Anyone know how to ... make a user control property that shows
up in
> the
> > > > property pages and allows one to select a value from a set of
values
> ?
> > > > like a combobox for example ?
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 21 '05 #11
David,
try that in better english or after some sleep :) cause i couldn't
understand it
You can probably ask this better to other people however I try
Yes it still don't work how i want it ...
My problem is that it still does not work, as I want it.
all i would like to do is have the user select from a group a values and i
can not use an enum because the values that would be used are not
constants.
All that I want to do is creating the possibility that the user can select
from a selection in a property box. I am not able to use the "enumeration"
because of the fact that the values that will be used are not constant.
So is there any other way doto this with out an enum like in Rays sample.
?

Therefore is my question, is there any other way to do this without that I
need an "enumeration" as Ray shows in his sample?

I hope this fits your question?

Cor
Nov 21 '05 #12
I guess then I am having a difficult time trying to determine what you are
exactly trying to do then.

I get the feeling that you want to be able to (at design time) crate a list
of values that the user can select in the property window?

Besides maybe the way that choosing the data sources when doing data binding
I am not sure how else this could be used. I have to admit that I am not
sure how to do what you want aside form maybe building an enum on the fly or
something.

Perhaps is you give what an example (maybe in pseudo code or something) as
to how you would want to use this we might be able to help out.

Perhaps is you base the property value on something like an arraylist.

"David Gacek" <so*****@hotmail.com> wrote in message
news:eu**************@TK2MSFTNGP12.phx.gbl...
i want to stay away from the enum because the values i would be adding to
the property page are not contants.

"David Gacek" <so*****@hotmail.com> wrote in message
news:#2**************@TK2MSFTNGP15.phx.gbl...
I'm trying to call a function for a the enum thats why i'm getting the
error.
How else can i acheive the same result with out using an enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
Is there any other way to what Ray illustrated without using enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ev**************@TK2MSFTNGP09.phx.gbl...
> Thanks Ray you are the closes to what i was looking for however when
i
try
> to use an enum i get constact expression required
> I already tried that earlier with enum and tried an alternate way.
still > working on this .
>
> "Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message > news:eG**************@TK2MSFTNGP11.phx.gbl...
> > Declare the input value of the property as an enumerated value...
> >
> > Public Enum People
> > Ann
> > Bill
> > Carter
> > David
> > End Enum
> >
> > <Browsable(False)> Public Property UserName() As People
> > Get
> > Return m_userName
> >
> > End Get
> >
> > Set(ByValue value as People)
> > m_userName = value
> >
> > End Set
> >
> > End Property
> >
> > A
> >
> > End Property
> > "David Gacek" <so*****@hotmail.com> wrote in message
> > news:ul**************@TK2MSFTNGP10.phx.gbl...
> > > Anyone know how to ... make a user control property that shows
up in the
> > > property pages and allows one to select a value from a set of

values
?
> > > like a combobox for example ?
> > >
> > >
> > >
> >
> >
>
>



Nov 21 '05 #13
What i want to do is put all the installled printers into a drop down list
/ combobox ... property box so the user can select one.
Dim objPrint As New System.Drawing.Printing.PrinterSettings

Dim strItem As String

Dim strPrinters As String

For Each strItem In objPrint.InstalledPrinters

strPrinters &= strItem & vbCrLf

next

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:ez**************@TK2MSFTNGP14.phx.gbl...
I guess then I am having a difficult time trying to determine what you are
exactly trying to do then.

I get the feeling that you want to be able to (at design time) crate a list of values that the user can select in the property window?

Besides maybe the way that choosing the data sources when doing data binding I am not sure how else this could be used. I have to admit that I am not
sure how to do what you want aside form maybe building an enum on the fly or something.

Perhaps is you give what an example (maybe in pseudo code or something) as
to how you would want to use this we might be able to help out.

Perhaps is you base the property value on something like an arraylist.

"David Gacek" <so*****@hotmail.com> wrote in message
news:eu**************@TK2MSFTNGP12.phx.gbl...
i want to stay away from the enum because the values i would be adding to
the property page are not contants.

"David Gacek" <so*****@hotmail.com> wrote in message
news:#2**************@TK2MSFTNGP15.phx.gbl...
I'm trying to call a function for a the enum thats why i'm getting the
error.
How else can i acheive the same result with out using an enum ?

"David Gacek" <so*****@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
> Is there any other way to what Ray illustrated without using enum ?
>
> "David Gacek" <so*****@hotmail.com> wrote in message
> news:ev**************@TK2MSFTNGP09.phx.gbl...
> > Thanks Ray you are the closes to what i was looking for however when
i try
> > to use an enum i get constact expression required
> > I already tried that earlier with enum and tried an alternate way.

still
> > working on this .
> >
> > "Ray Cassick (Home)" <rc************@enterprocity.com> wrote in

message
> > news:eG**************@TK2MSFTNGP11.phx.gbl...
> > > Declare the input value of the property as an enumerated

value... > > >
> > > Public Enum People
> > > Ann
> > > Bill
> > > Carter
> > > David
> > > End Enum
> > >
> > > <Browsable(False)> Public Property UserName() As People
> > > Get
> > > Return m_userName
> > >
> > > End Get
> > >
> > > Set(ByValue value as People)
> > > m_userName = value
> > >
> > > End Set
> > >
> > > End Property
> > >
> > > A
> > >
> > > End Property
> > > "David Gacek" <so*****@hotmail.com> wrote in message
> > > news:ul**************@TK2MSFTNGP10.phx.gbl...
> > > > Anyone know how to ... make a user control property that shows

up
in
> the
> > > > property pages and allows one to select a value from a set of
values
> ?
> > > > like a combobox for example ?
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 21 '05 #14
On Sat, 27 Nov 2004 00:08:37 -0500, David Gacek wrote:
Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?


If I understand correctly, you want a custom property that shows up in the
PropertyGrid as a drop down and you want to customize the list of available
choices.

In order to do this, create a class that inherits from StringConverter and
then override the GetStandardValues method to return an instance of a
StandardValuesCollection object with the correct values. Something similar
to this (watch for word wrap):
'CODE BEGINS HERE
Public Class MyCustomList
Inherits StringConverter

Public Overloads Overrides Function GetStandardValues(ByVal context As
System.ComponentModel.ITypeDescriptorContext) As
System.ComponentModel.TypeConverter.StandardValues Collection

Dim alMyList As New System.Collections.ArrayList
alMyList.Add("Item 1")
alMyList.Add("Item 2")
alMyList.Add("Item 3")

'Add other values to the array list here

Return New StandardValuesCollection(alMyList)
End Function

Public Overloads Overrides Function GetStandardValuesExclusive(ByVal
context As System.ComponentModel.ITypeDescriptorContext) As Boolean
Return True
End Function

Public Overloads Overrides Function GetStandardValuesSupported(ByVal
context As System.ComponentModel.ITypeDescriptorContext) As Boolean
Return True
End Function
End Class
'CODE ENDS HERE

Then to use it with your property, you need to add the TypeConverter
Attribute to your property:

Private m_MyItem As String

<TypeConverter(GetType(MyCustomList))> _
Public Property MyItem As String
Get
Return m_MyItem
End Get
Set(ByVal Value As String)
m_MyItem = Value
End Set
End Property
Hope this helps

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 21 '05 #15
Wow Chris

That is exactly what i was looking for !
I had implemented a totally different fix to the prob, but this is what i
had imagined from the get go.

Thanks

"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:o1***************************@40tude.net...
On Sat, 27 Nov 2004 00:08:37 -0500, David Gacek wrote:
Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?
If I understand correctly, you want a custom property that shows up in the
PropertyGrid as a drop down and you want to customize the list of

available choices.

In order to do this, create a class that inherits from StringConverter and
then override the GetStandardValues method to return an instance of a
StandardValuesCollection object with the correct values. Something similar to this (watch for word wrap):
'CODE BEGINS HERE
Public Class MyCustomList
Inherits StringConverter

Public Overloads Overrides Function GetStandardValues(ByVal context As
System.ComponentModel.ITypeDescriptorContext) As
System.ComponentModel.TypeConverter.StandardValues Collection

Dim alMyList As New System.Collections.ArrayList
alMyList.Add("Item 1")
alMyList.Add("Item 2")
alMyList.Add("Item 3")

'Add other values to the array list here

Return New StandardValuesCollection(alMyList)
End Function

Public Overloads Overrides Function GetStandardValuesExclusive(ByVal
context As System.ComponentModel.ITypeDescriptorContext) As Boolean
Return True
End Function

Public Overloads Overrides Function GetStandardValuesSupported(ByVal
context As System.ComponentModel.ITypeDescriptorContext) As Boolean
Return True
End Function
End Class
'CODE ENDS HERE

Then to use it with your property, you need to add the TypeConverter
Attribute to your property:

Private m_MyItem As String

<TypeConverter(GetType(MyCustomList))> _
Public Property MyItem As String
Get
Return m_MyItem
End Get
Set(ByVal Value As String)
m_MyItem = Value
End Set
End Property
Hope this helps

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.

Nov 21 '05 #16
Wow Chris

That is exactly what i was looking for !
I had implemented a totally different fix to the prob, but this is what i
had imagined from the get go.

Thanks

"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:o1***************************@40tude.net...
On Sat, 27 Nov 2004 00:08:37 -0500, David Gacek wrote:
Anyone know how to ... make a user control property that shows up in the
property pages and allows one to select a value from a set of values ?
like a combobox for example ?
If I understand correctly, you want a custom property that shows up in the
PropertyGrid as a drop down and you want to customize the list of

available choices.

In order to do this, create a class that inherits from StringConverter and
then override the GetStandardValues method to return an instance of a
StandardValuesCollection object with the correct values. Something similar to this (watch for word wrap):
'CODE BEGINS HERE
Public Class MyCustomList
Inherits StringConverter

Public Overloads Overrides Function GetStandardValues(ByVal context As
System.ComponentModel.ITypeDescriptorContext) As
System.ComponentModel.TypeConverter.StandardValues Collection

Dim alMyList As New System.Collections.ArrayList
alMyList.Add("Item 1")
alMyList.Add("Item 2")
alMyList.Add("Item 3")

'Add other values to the array list here

Return New StandardValuesCollection(alMyList)
End Function

Public Overloads Overrides Function GetStandardValuesExclusive(ByVal
context As System.ComponentModel.ITypeDescriptorContext) As Boolean
Return True
End Function

Public Overloads Overrides Function GetStandardValuesSupported(ByVal
context As System.ComponentModel.ITypeDescriptorContext) As Boolean
Return True
End Function
End Class
'CODE ENDS HERE

Then to use it with your property, you need to add the TypeConverter
Attribute to your property:

Private m_MyItem As String

<TypeConverter(GetType(MyCustomList))> _
Public Property MyItem As String
Get
Return m_MyItem
End Get
Set(ByVal Value As String)
m_MyItem = Value
End Set
End Property
Hope this helps

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.

Nov 21 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Bob Cummings | last post by:
Greetings I have googled this to no avail, maybe someone here can help. I have a user control that has several radio buttons and text boxes. I place 5 of these user controls on a windows form....
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
4
by: Andrea Williams | last post by:
I'm trying to set up a user control and change some values from the aspx page, but I keep running into trouble. What I really would like to do is be able to set a Label.Text in the user control...
4
by: louise raisbeck | last post by:
Resending this as own topic as didnt get answer from original. Would be grateful for a response from anyone that knows. Thanks. Hi there, I found your post really helpful..but i wondered if, once...
1
by: John Keenan | last post by:
I have a user control with 2 buttons on it & 1 label.... as each button is pressed, they set a member variable within the class and sets the label test. I also have a get/set property for the...
5
by: Nathan Sokalski | last post by:
I have a user control that contains three variables which are accessed through public properties. They are declared immediately below the "Web Form Designer Generated Code" section. Every time an...
8
by: David Lozzi | last post by:
Howdy, I have a user control that is a report to display data. On the page the control is inserted in, I have filter options to filter the report. When I try to do something like this, nothing...
0
by: Tom | last post by:
I am having a really annoying issue with serialization and a .NET User Control I am writing. For example, let's say I have a couple of classes in my control - first class is like: Public Class...
5
by: c676228 | last post by:
Hi, I guess I am confused. In aspx script, I mean (you won't use Codebehind="enrollinfo.aspx.vb", but mix code with html and code together) You can access user control's property directly. Since I...
3
by: David Davis | last post by:
I cannot get a web user control to validation client-side using a required field validator. It only validates server side. I have a web user control in .net 2.0. I have a single text box on it....
0
marktang
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,...
0
jinu1996
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
1
isladogs
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.