473,410 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Events for runtime created controls.

Tym
I have a piece of code thus:

For iLOOP = 0 To iNoDays - 1
For jLOOP = 0 To iMaxPeriods - 1
iX = 10 + (iLOOP * (dCellWidth + 10))
iY = 10 + (jLOOP * (dCellHeight + 10)) +
Me.Size.Height / 4
If jLOOP = 0 And iLOOP = 0 Then
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP) = New
TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Text =
" "
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Height
= dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Width
= dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Visible = False
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Name =
"txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) * iMaxPeriods)
+ jLOOP))
Else
If jLOOP = 0 And iLOOP > 0 Then
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP) =
New TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Text = WeekdayName(iLOOP, , FirstDayOfWeek.Sunday)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Height = dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Width = dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).BorderStyle = BorderStyle.None
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).TextAlign = HorizontalAlignment.Center
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Name = "txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) *
iMaxPeriods) + jLOOP))
Else
If iLOOP = 0 And jLOOP > 0 Then
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP) = New TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Text = "Period " & jLOOP.ToString
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Height = dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Width = dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).BorderStyle = BorderStyle.None
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).TextAlign = HorizontalAlignment.Right
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Name = "txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) *
iMaxPeriods) + jLOOP))
Else
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP) = New TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Text = "Label No " & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Height = dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Width = dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Name = "txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) *
iMaxPeriods) + jLOOP))
End If
End If
End If
Next jLOOP
Next iLOOP

which creates a grid of text boxes on a form at runtime dependent on
the number of days and the number of periods - its a timetable sort of
thing.

How do I capture events for these controls?
such as
private sub lblDISPLAY(((iLOOP) * iMaxPeriods)_Mouseclick

or

private sub lblDISPLAY(((iLOOP) * iMaxPeriods)_gotfocus

??
Nov 21 '05 #1
16 1189
Tym,
You can use AddHandler & RemoveHandler, something like:

Dim index As Integer = ((iLOOP) * iMaxPeriods) + jLOOP

AddHandler lblDISPLAY(index).Click, AddressOf labelDisplay_Click
AddHandler lblDISPLAY(index).GotFocus, AddressOf
labelDisplay_GotFocus

Private Sub labelDisplay_Click(ByVal sender As Object, ByVal e As
System.EventArgs)

End Sub

Private Sub labelDisplay_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs)

End Sub

Hope this helps
Jay

"Tym" <no*****@ictis.net> wrote in message
news:5l********************************@4ax.com...
I have a piece of code thus:

For iLOOP = 0 To iNoDays - 1
For jLOOP = 0 To iMaxPeriods - 1
iX = 10 + (iLOOP * (dCellWidth + 10))
iY = 10 + (jLOOP * (dCellHeight + 10)) +
Me.Size.Height / 4
If jLOOP = 0 And iLOOP = 0 Then
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP) = New
TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Text =
" "
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Height
= dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Width
= dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Visible = False
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP).Name =
"txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) * iMaxPeriods)
+ jLOOP))
Else
If jLOOP = 0 And iLOOP > 0 Then
lblDISPLAY(((iLOOP) * iMaxPeriods) + jLOOP) =
New TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Text = WeekdayName(iLOOP, , FirstDayOfWeek.Sunday)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Height = dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Width = dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).BorderStyle = BorderStyle.None
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).TextAlign = HorizontalAlignment.Center
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Name = "txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) *
iMaxPeriods) + jLOOP))
Else
If iLOOP = 0 And jLOOP > 0 Then
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP) = New TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Text = "Period " & jLOOP.ToString
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Height = dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Width = dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).BorderStyle = BorderStyle.None
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).TextAlign = HorizontalAlignment.Right
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Name = "txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) *
iMaxPeriods) + jLOOP))
Else
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP) = New TextBox
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Text = "Label No " & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Location = New Point(iX, iY)
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Height = dCellHeight
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Width = dCellWidth
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).AutoSize = False
lblDISPLAY(((iLOOP) * iMaxPeriods) +
jLOOP).Name = "txtPERIOD" & ((iLOOP) * iMaxPeriods) + jLOOP.ToString
Me.Controls.Add(lblDISPLAY(((iLOOP) *
iMaxPeriods) + jLOOP))
End If
End If
End If
Next jLOOP
Next iLOOP

which creates a grid of text boxes on a form at runtime dependent on
the number of days and the number of periods - its a timetable sort of
thing.

How do I capture events for these controls?
such as
private sub lblDISPLAY(((iLOOP) * iMaxPeriods)_Mouseclick

or

private sub lblDISPLAY(((iLOOP) * iMaxPeriods)_gotfocus

??

Nov 21 '05 #2
Tym,

You never saw my standard sample for this, it looks almost as your problem?.

You can find it in this message
http://groups.google.com/groups?selm...TNGP10.phx.gbl

I hope it helps?

Cor

Nov 21 '05 #3
Tym
Jay - excellent code - worked right out of the box!!

Just one further request - is there a way to detect which one has been
clicked??

advTHANKSance

On Tue, 2 Nov 2004 08:55:09 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:
Private Sub labelDisplay_Click(ByVal sender As Object, ByVal e As System.EventArgs)
msgbox ("You have clicked on cell number " & labelDISPLAY.Name)
' you get the idea... :-)
End Sub

Nov 21 '05 #4
Tym,
The sender parameter will be the specific TextBox that sent the message.

If your handler only handles TextBox events (you only use AddHandler on
TextBox objects) you can use:
Private Sub labelDisplay_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Dim labelDISPLAY As TextBox = DirectCast(sender, TextBox)
msgbox ("You have clicked on cell number " & labelDISPLAY.Name)
' you get the idea... :-)
If you use AddHandler on different type of controls, then I would recommend
using either Control & limit the event to properties common to all Controls,
or use TypeOf...
Private Sub labelDisplay_Click(ByVal sender As Object, ByVal e As
System.EventArgs)

Dim labelDISPLAY As Control = DirectCast(sender, Control)

-- or --
If TypeOf sender Is TextBox Then
Dim labelDISPLAY As TextBox = DirectCast(sender, TextBox)
...
ElseIf TypeOf sender Is ComboBox Then
Dim labelDISPLAY As ComboBox = DirectCast(sender, ComboBox)
...
End If

Hope this helps
Jay

"Tym" <bi********@microsoft.com> wrote in message
news:e7********************************@4ax.com... Jay - excellent code - worked right out of the box!!

Just one further request - is there a way to detect which one has been
clicked??

advTHANKSance

On Tue, 2 Nov 2004 08:55:09 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:
Private Sub labelDisplay_Click(ByVal sender As Object, ByVal e As
System.EventArgs)


msgbox ("You have clicked on cell number " & labelDISPLAY.Name)
' you get the idea... :-)
End Sub


Nov 21 '05 #5
Tym
Jay - Thanks - this is working fine so far...

Private Sub labelDisplay_Click(ByVal Sender As Object, ByVal e As
System.EventArgs)
Dim labelDISPLAY As TextBox = DirectCast(Sender, TextBox)
MsgBox("Just clicked on a box! " & labelDISPLAY.ToString)
End Sub
but this returns the text within the text box. Is there a way to
detect the .name of the text box clicked on, rather than returning its
contents?

Thanks - your help is brilliant.
Nov 21 '05 #6
Tym
Have you tried using the Name property of labelDISPLAY?
MsgBox("Just clicked on a box! " & labelDISPLAY.Name)
Hope this helps
Jay

"Tym" <bi********@microsoft.com> wrote in message
news:jh********************************@4ax.com... Jay - Thanks - this is working fine so far...

Private Sub labelDisplay_Click(ByVal Sender As Object, ByVal e As
System.EventArgs)
Dim labelDISPLAY As TextBox = DirectCast(Sender, TextBox)
MsgBox("Just clicked on a box! " & labelDISPLAY.ToString)
End Sub
but this returns the text within the text box. Is there a way to
detect the .name of the text box clicked on, rather than returning its
contents?

Thanks - your help is brilliant.

Nov 21 '05 #7
Tym
On Tue, 02 Nov 2004 17:40:58 +0000, Tym <bi********@microsoft.com>
wrote:
but this returns the text within the text box. Is there a way to
detect the .name of the text box clicked on, rather than returning its
contents?

Thanks - your help is brilliant.


Jay - found it....

Private Sub labelDisplay_Click(ByVal Sender As Object, ByVal e As
System.EventArgs)
Dim labelDISPLAY As TextBox = DirectCast(Sender, TextBox)
MsgBox("Just clicked on a box! " & labelDISPLAY.Name.ToString)
End Sub
Just needed to experiment a little - thanks for your help!
Nov 21 '05 #8
Tym,
labelDISPLAY.Name returns a string, there is no real need to call ToString
on it.
MsgBox("Just clicked on a box! " & labelDISPLAY.Name)
Hope this helps
Jay
"Tym" <bi********@microsoft.com> wrote in message
news:pi********************************@4ax.com... On Tue, 02 Nov 2004 17:40:58 +0000, Tym <bi********@microsoft.com>
wrote:
but this returns the text within the text box. Is there a way to
detect the .name of the text box clicked on, rather than returning its
contents?

Thanks - your help is brilliant.


Jay - found it....

Private Sub labelDisplay_Click(ByVal Sender As Object, ByVal e As
System.EventArgs)
Dim labelDISPLAY As TextBox = DirectCast(Sender, TextBox)
MsgBox("Just clicked on a box! " & labelDISPLAY.Name.ToString)
End Sub
Just needed to experiment a little - thanks for your help!

Nov 21 '05 #9
Tym
On Tue, 2 Nov 2004 17:06:00 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:
labelDISPLAY.Name returns a string, there is no real need to call ToString
on it.


Yes - thanks. I realised that afterwards!!

Ok, so now I've got an event handler, how easy is it to refer to these
textboxes within my code elsewhere?

Normally, I would code:

If txtTextBox.Text = "Some Text" then
'my procedure....
End If

But as the name of the control is determined at runtime, I can't see a
straightworward way of doing this.

Sorry to bother you again...
Nov 21 '05 #10
Tym,
I would make the original array lblDISPLAY from your original code a class
(Form) level variable. Then index into it to get a specific TextBox.

Looking at your original code, I would probably make the original array a
two dimensional array (days & periods).

Something like:

Private lblDISPLAY(,) As TextBox

Private Sub CreateTextBoxes(...)
...
ReDim lblDISPLAY(iNoDays -1, iMaxPeriods -1)
For iLOOP = 0 To iNoDays - 1
For jLOOP = 0 To iMaxPeriods - 1
...
If jLOOP = 0 And iLOOP = 0 Then
lblDISPLAY(iLOOP, jLOOP) = New TextBox
lblDISPLAY(iLOOP, jLOOP).Text = " "

...

Next jLOOP
Next iLOOP
...
End Sub

Also, rather then using iLOOP & jLOOP, I would probably call them dayIndex &
periodIndex, as IMHO it makes the code easier to read:

For dayIndex = 0 To iNoDays - 1
For periodIndex= 0 To iMaxPeriods - 1
...
lblDISPLAY(dayIndex, periodIndex) = New TextBox
Then elsewhere:

lblDISPLAY(1,2).Text = "New Value"

Unfortunately you cannot index a control collection by name, as name is just
another "Tag" property. You could use a For Each loop to loop for a control
with a specific name or you could maintain a HashTable that maps names to
TextBoxes:

Something like:

lblDISPLAY(iLOOP, jLOOP).Name = ...
Me.Controls.Add(lblDISPLAY(iLOOP,jLOOP))
hashDISPLAY.Add(lblDISPLAY(iLOOP, jLOOP).Name, lblDISPLAY(iLOOP, jLOOP))

Where hashDISPLAY is a class (Form) level System.Collections.HashTable
variable.

Hope this helps
Jay
"Tym" <bi********@microsoft.com> wrote in message
news:r3********************************@4ax.com...
On Tue, 2 Nov 2004 17:06:00 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:
labelDISPLAY.Name returns a string, there is no real need to call ToString
on it.


Yes - thanks. I realised that afterwards!!

Ok, so now I've got an event handler, how easy is it to refer to these
textboxes within my code elsewhere?

Normally, I would code:

If txtTextBox.Text = "Some Text" then
'my procedure....
End If

But as the name of the control is determined at runtime, I can't see a
straightworward way of doing this.

Sorry to bother you again...

Nov 21 '05 #11
Tym
Thanks Jay - it's worked a treat

If you're ever in the UK - remind me i owe you a beer!
Nov 21 '05 #12
Tym
On Wed, 03 Nov 2004 20:37:42 +0000, Tym <bi********@microsoft.com>
wrote:
Thanks Jay - it's worked a treat

If you're ever in the UK - remind me i owe you a beer!


You can make it two, if you can answer this one though...

I need to be able to set the locked property to true/false but keep
getting the message

'Locked' is not a member of 'windows.system.forms.textbox'

How can I access the .locked property?

I am declaring it as

Public txtDISPLAY(,) As TextBox

(Changed it from lblDISPLAY as it's now a textbox and not a lable!!)

advTHANKSance
Nov 21 '05 #13
Tym,
"Locked" is a designer property, it is not a runtime property. Its used to
help avoid inadvertently changing your design, when designing forms.

http://msdn.microsoft.com/library/de...rolsToForm.asp

What are you expecting the "Locked" property to do for you at runtime?

Hope this helps
Jay

"Tym" <bi********@microsoft.com> wrote in message
news:23********************************@4ax.com...
On Wed, 03 Nov 2004 20:37:42 +0000, Tym <bi********@microsoft.com>
wrote:
Thanks Jay - it's worked a treat

If you're ever in the UK - remind me i owe you a beer!


You can make it two, if you can answer this one though...

I need to be able to set the locked property to true/false but keep
getting the message

'Locked' is not a member of 'windows.system.forms.textbox'

How can I access the .locked property?

I am declaring it as

Public txtDISPLAY(,) As TextBox

(Changed it from lblDISPLAY as it's now a textbox and not a lable!!)

advTHANKSance

Nov 21 '05 #14
Tym
On Sat, 6 Nov 2004 09:45:51 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:

What are you expecting the "Locked" property to do for you at runtime?


Ah!

I was expecting it to be the same as in VB6 - stop text input into the
text boxes until, say, the "edit" button is clicked.

in vb6 txtTEXT1.Locked = True, used to allow this, with
txtTEXT1.Locked = false enabling text entry

The problem with the .ReadOnly = True/False, is that is changes the
background colour of the text box, which I didn't really want to do,
but am using it for now.
Nov 21 '05 #15
Tym,
Have you tried setting ReadOnly to true, then setting the BackGround color
to the color you want?

In VS.NET 2003 I had to select a different color for BackGround the select
BackGround = System.Window, otherwise it worked.

Hope this helps
Jay

"Tym" <bi********@microsoft.com> wrote in message
news:q8********************************@4ax.com...
On Sat, 6 Nov 2004 09:45:51 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:

What are you expecting the "Locked" property to do for you at runtime?


Ah!

I was expecting it to be the same as in VB6 - stop text input into the
text boxes until, say, the "edit" button is clicked.

in vb6 txtTEXT1.Locked = True, used to allow this, with
txtTEXT1.Locked = false enabling text entry

The problem with the .ReadOnly = True/False, is that is changes the
background colour of the text box, which I didn't really want to do,
but am using it for now.

Nov 21 '05 #16
Tym
On Mon, 8 Nov 2004 10:59:05 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:
Tym,
Have you tried setting ReadOnly to true, then setting the BackGround color
to the color you want?


Looks like that may be the way to go.

Thinking about it though... having the background colour different for
edit/non edit makes it a little clearer I suppose... :-)
Nov 21 '05 #17

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

Similar topics

1
by: hybrid | last post by:
I have problems in understanding the behavior of the events triggered by dynamically created controls over a webform. Could you help me? In a webform, I have a static PlaceHolder PH containing...
4
by: blue | last post by:
I have a drop-down list, a radio button list and a submit button. I'm adding these controls to a table and I'm adding the table to a Placeholder. I'm adding it to the Placeholder because I don't...
5
by: karthick raja | last post by:
Am experiencing a problem intercepting the events from controls added dynamically to a Placeholder control at runtime. Is there any way that I can write an event handler on the page which will be...
0
by: Klaus Jensen | last post by:
Hi! This has been annoying me for a while now, and I can't get it to work It is really driving me nuts! Basicly this simple webapp created to illustrate my problem, renders five buttons, and...
1
by: krishna | last post by:
Hi, Hi, I would like to handle the events for the dynamically created controls at runtime. I Have written the code in HTML View of an asp.net page.like this
0
by: Steve Moreno | last post by:
Hi all, I've got a web form that I've written code to create an array of DropDownList controls on the page depending on how many records are pulled back. The code to create the controls is...
7
by: Bruce HS | last post by:
I'd like to call my ancestor Validation Function every time any control on a Win Form generates a Validating or Validated event. I'm using VB. I've extended Textbox, for instance, to have its...
3
by: Jose Fernandez | last post by:
Hello. I would like to know how could i get all the subscriptions that my form has with the events of their controls. For example. I have a form with a textbox, a button and a dropdown. I...
1
by: Klaus Jensen | last post by:
Subject: Handling events of controls created at runtime I need to render some buttons at runtime based on a database, tie events to them, and handle the events when they fire. In Page_Load I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...
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...
0
agi2029
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,...
0
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...

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.