473,614 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hosting controls in a custom server control

Hi,

I am trying to create a custom server control that contains several
dropdownlists. The control looks like this:

Dim pnlHeader As New Panel

Protected Overrides Sub RenderContents( ByVal writer as HtmlTextWriter)
pnlHeader.Rende rControl(writer )
End Sub

Public Sub Setup_Control()
Dim table As New HtmlControls.Ht mlTable
table.Attribute s.Add("style", "width:100% ")
pnlHeader.Contr ols.Add(table)

Dim row As New HtmlControls.Ht mlTableRow

Dim cellLabel As New HtmlControls.Ht mlTableCell
cellLabel.Width = "60%"
Dim lblProblems As New Label
lblProblems.ID = "lbl" & Category.Proble mTypeId
lblProblems.Tex t = "Choose Vendor for All " &
Category.Proble mType & " Problems."
cellLabel.Contr ols.Add(lblProb lems)

Dim cellDDL As New HtmlControls.Ht mlTableCell
cellDDL.Width = "30%"
Dim ddlAll As New DropDownList
ddlAll.ID = "ddlVendorForAl l" &
Category.Proble mTypeId.ToStrin g()
ddlAll.AutoPost Back = True
Common.FillList (ddlAll, HeatMapData.Get Vendors(Propert yId,
"[Choose a Vendor]"))
cellDDL.Control s.Add(ddlAll)
listDDL.Add(ddl All)
AddHandler ddlAll.Selected IndexChanged, AddressOf
ddlAll_Selected IndexChanged

Dim cellImage As New HtmlControls.Ht mlTableCell
cellImage.Width = "9%"
Dim imgExpand As New WebControls.Ima ge
imgExpand.ID = "imgExpand" &
Category.Proble mTypeId.ToStrin g()
imgExpand.Image Url = "~/images/icons/118.png"
imgExpand.ToolT ip = "View Details"
Dim imgCollapse As New WebControls.Ima ge
imgCollapse.ID = "imgCollaps e" &
Category.Proble mTypeId.ToStrin g()
imgCollapse.Ima geUrl = "~/images/icons/116.png"
imgCollapse.Too lTip = "Hide Details"
imgCollapse.Att ributes.Add("st yle", "display:no ne")

cellImage.Contr ols.Add(imgExpa nd)
cellImage.Contr ols.Add(imgColl apse)

row.Controls.Ad d(cellLabel)
row.Controls.Ad d(cellDDL)
row.Controls.Ad d(cellImage)
table.Rows.Add( row)

pnlHeader.BackC olor = Drawing.Color.F romArgb(255, 206,
204, 204)
End Sub

Protected Sub ddlAll_Selected IndexChanged(By Val sender As Object,
ByVal e As System.EventArg s)
....
End Sub
The control renders fine. The problem I am having is that the
dynamically created dropdownlist (ddlAll) does not fire the
SelectedIndexCh anged event. What am I missing?

Thanks,
Jeremy
Mar 17 '08 #1
5 1414
when do you call Setup_Control() (and why do you have it?). it must be called
in oninit of the page, or better yet, change it to CreateChildCont rols.
-- bruce (sqlwork.com)
"jb*****@gmail. com" wrote:
Hi,

I am trying to create a custom server control that contains several
dropdownlists. The control looks like this:

Dim pnlHeader As New Panel

Protected Overrides Sub RenderContents( ByVal writer as HtmlTextWriter)
pnlHeader.Rende rControl(writer )
End Sub

Public Sub Setup_Control()
Dim table As New HtmlControls.Ht mlTable
table.Attribute s.Add("style", "width:100% ")
pnlHeader.Contr ols.Add(table)

Dim row As New HtmlControls.Ht mlTableRow

Dim cellLabel As New HtmlControls.Ht mlTableCell
cellLabel.Width = "60%"
Dim lblProblems As New Label
lblProblems.ID = "lbl" & Category.Proble mTypeId
lblProblems.Tex t = "Choose Vendor for All " &
Category.Proble mType & " Problems."
cellLabel.Contr ols.Add(lblProb lems)

Dim cellDDL As New HtmlControls.Ht mlTableCell
cellDDL.Width = "30%"
Dim ddlAll As New DropDownList
ddlAll.ID = "ddlVendorForAl l" &
Category.Proble mTypeId.ToStrin g()
ddlAll.AutoPost Back = True
Common.FillList (ddlAll, HeatMapData.Get Vendors(Propert yId,
"[Choose a Vendor]"))
cellDDL.Control s.Add(ddlAll)
listDDL.Add(ddl All)
AddHandler ddlAll.Selected IndexChanged, AddressOf
ddlAll_Selected IndexChanged

Dim cellImage As New HtmlControls.Ht mlTableCell
cellImage.Width = "9%"
Dim imgExpand As New WebControls.Ima ge
imgExpand.ID = "imgExpand" &
Category.Proble mTypeId.ToStrin g()
imgExpand.Image Url = "~/images/icons/118.png"
imgExpand.ToolT ip = "View Details"
Dim imgCollapse As New WebControls.Ima ge
imgCollapse.ID = "imgCollaps e" &
Category.Proble mTypeId.ToStrin g()
imgCollapse.Ima geUrl = "~/images/icons/116.png"
imgCollapse.Too lTip = "Hide Details"
imgCollapse.Att ributes.Add("st yle", "display:no ne")

cellImage.Contr ols.Add(imgExpa nd)
cellImage.Contr ols.Add(imgColl apse)

row.Controls.Ad d(cellLabel)
row.Controls.Ad d(cellDDL)
row.Controls.Ad d(cellImage)
table.Rows.Add( row)

pnlHeader.BackC olor = Drawing.Color.F romArgb(255, 206,
204, 204)
End Sub

Protected Sub ddlAll_Selected IndexChanged(By Val sender As Object,
ByVal e As System.EventArg s)
....
End Sub
The control renders fine. The problem I am having is that the
dynamically created dropdownlist (ddlAll) does not fire the
SelectedIndexCh anged event. What am I missing?

Thanks,
Jeremy
Mar 17 '08 #2
The controls are added to a panel that is displayed after a button is
clicked on page. I set properties on the control and then call
Setup_Control creates all of the child controls on the button click.

On Mar 17, 10:45 am, bruce barker
<brucebar...@di scussions.micro soft.comwrote:
when do you call Setup_Control() (and why do you have it?). it must be called
in oninit of the page, or better yet, change it to CreateChildCont rols.

-- bruce (sqlwork.com)

"jbec...@gmail. com" wrote:
Hi,
I am trying to create a custom server control that contains several
dropdownlists. The control looks like this:
Dim pnlHeader As New Panel
Protected Overrides Sub RenderContents( ByVal writer as HtmlTextWriter)
pnlHeader.Rende rControl(writer )
End Sub
Public Sub Setup_Control()
Dim table As New HtmlControls.Ht mlTable
table.Attribute s.Add("style", "width:100% ")
pnlHeader.Contr ols.Add(table)
Dim row As New HtmlControls.Ht mlTableRow
Dim cellLabel As New HtmlControls.Ht mlTableCell
cellLabel.Width = "60%"
Dim lblProblems As New Label
lblProblems.ID = "lbl" & Category.Proble mTypeId
lblProblems.Tex t = "Choose Vendor for All " &
Category.Proble mType & " Problems."
cellLabel.Contr ols.Add(lblProb lems)
Dim cellDDL As New HtmlControls.Ht mlTableCell
cellDDL.Width = "30%"
Dim ddlAll As New DropDownList
ddlAll.ID = "ddlVendorForAl l" &
Category.Proble mTypeId.ToStrin g()
ddlAll.AutoPost Back = True
Common.FillList (ddlAll, HeatMapData.Get Vendors(Propert yId,
"[Choose a Vendor]"))
cellDDL.Control s.Add(ddlAll)
listDDL.Add(ddl All)
AddHandler ddlAll.Selected IndexChanged, AddressOf
ddlAll_Selected IndexChanged
Dim cellImage As New HtmlControls.Ht mlTableCell
cellImage.Width = "9%"
Dim imgExpand As New WebControls.Ima ge
imgExpand.ID = "imgExpand" &
Category.Proble mTypeId.ToStrin g()
imgExpand.Image Url = "~/images/icons/118.png"
imgExpand.ToolT ip = "View Details"
Dim imgCollapse As New WebControls.Ima ge
imgCollapse.ID = "imgCollaps e" &
Category.Proble mTypeId.ToStrin g()
imgCollapse.Ima geUrl = "~/images/icons/116.png"
imgCollapse.Too lTip = "Hide Details"
imgCollapse.Att ributes.Add("st yle", "display:no ne")
cellImage.Contr ols.Add(imgExpa nd)
cellImage.Contr ols.Add(imgColl apse)
row.Controls.Ad d(cellLabel)
row.Controls.Ad d(cellDDL)
row.Controls.Ad d(cellImage)
table.Rows.Add( row)
pnlHeader.BackC olor = Drawing.Color.F romArgb(255, 206,
204, 204)
End Sub
Protected Sub ddlAll_Selected IndexChanged(By Val sender As Object,
ByVal e As System.EventArg s)
....
End Sub
The control renders fine. The problem I am having is that the
dynamically created dropdownlist (ddlAll) does not fire the
SelectedIndexCh anged event. What am I missing?
Thanks,
Jeremy
Mar 17 '08 #3
but then on postback you need to recreate the control (and its children) in
the oninit event so it can receive the postback data and fire the onchange
event. you can store in viewstate a flag to determine if this must be done.

-- bruce (sqlwork.com)
"jb*****@gmail. com" wrote:
The controls are added to a panel that is displayed after a button is
clicked on page. I set properties on the control and then call
Setup_Control creates all of the child controls on the button click.

On Mar 17, 10:45 am, bruce barker
<brucebar...@di scussions.micro soft.comwrote:
when do you call Setup_Control() (and why do you have it?). it must be called
in oninit of the page, or better yet, change it to CreateChildCont rols.

-- bruce (sqlwork.com)

"jbec...@gmail. com" wrote:
Hi,
I am trying to create a custom server control that contains several
dropdownlists. The control looks like this:
Dim pnlHeader As New Panel
Protected Overrides Sub RenderContents( ByVal writer as HtmlTextWriter)
pnlHeader.Rende rControl(writer )
End Sub
Public Sub Setup_Control()
Dim table As New HtmlControls.Ht mlTable
table.Attribute s.Add("style", "width:100% ")
pnlHeader.Contr ols.Add(table)
Dim row As New HtmlControls.Ht mlTableRow
Dim cellLabel As New HtmlControls.Ht mlTableCell
cellLabel.Width = "60%"
Dim lblProblems As New Label
lblProblems.ID = "lbl" & Category.Proble mTypeId
lblProblems.Tex t = "Choose Vendor for All " &
Category.Proble mType & " Problems."
cellLabel.Contr ols.Add(lblProb lems)
Dim cellDDL As New HtmlControls.Ht mlTableCell
cellDDL.Width = "30%"
Dim ddlAll As New DropDownList
ddlAll.ID = "ddlVendorForAl l" &
Category.Proble mTypeId.ToStrin g()
ddlAll.AutoPost Back = True
Common.FillList (ddlAll, HeatMapData.Get Vendors(Propert yId,
"[Choose a Vendor]"))
cellDDL.Control s.Add(ddlAll)
listDDL.Add(ddl All)
AddHandler ddlAll.Selected IndexChanged, AddressOf
ddlAll_Selected IndexChanged
Dim cellImage As New HtmlControls.Ht mlTableCell
cellImage.Width = "9%"
Dim imgExpand As New WebControls.Ima ge
imgExpand.ID = "imgExpand" &
Category.Proble mTypeId.ToStrin g()
imgExpand.Image Url = "~/images/icons/118.png"
imgExpand.ToolT ip = "View Details"
Dim imgCollapse As New WebControls.Ima ge
imgCollapse.ID = "imgCollaps e" &
Category.Proble mTypeId.ToStrin g()
imgCollapse.Ima geUrl = "~/images/icons/116.png"
imgCollapse.Too lTip = "Hide Details"
imgCollapse.Att ributes.Add("st yle", "display:no ne")
cellImage.Contr ols.Add(imgExpa nd)
cellImage.Contr ols.Add(imgColl apse)
row.Controls.Ad d(cellLabel)
row.Controls.Ad d(cellDDL)
row.Controls.Ad d(cellImage)
table.Rows.Add( row)
pnlHeader.BackC olor = Drawing.Color.F romArgb(255, 206,
204, 204)
End Sub
Protected Sub ddlAll_Selected IndexChanged(By Val sender As Object,
ByVal e As System.EventArg s)
....
End Sub
The control renders fine. The problem I am having is that the
dynamically created dropdownlist (ddlAll) does not fire the
SelectedIndexCh anged event. What am I missing?
Thanks,
Jeremy

Mar 17 '08 #4
Do I need to rebind the dropdownlist?

On Mar 17, 11:56 am, bruce barker
<brucebar...@di scussions.micro soft.comwrote:
but then on postback you need to recreate the control (and its children) in
the oninit event so it can receive the postback data and fire the onchange
event. you can store in viewstate a flag to determine if this must be done.

-- bruce (sqlwork.com)

"jbec...@gmail. com" wrote:
The controls are added to a panel that is displayed after a button is
clicked on page. I set properties on the control and then call
Setup_Control creates all of the child controls on the button click.
On Mar 17, 10:45 am, bruce barker
<brucebar...@di scussions.micro soft.comwrote:
when do you call Setup_Control() (and why do you have it?). it must be called
in oninit of the page, or better yet, change it to CreateChildCont rols.
-- bruce (sqlwork.com)
"jbec...@gmail. com" wrote:
Hi,
I am trying to create a custom server control that contains several
dropdownlists. The control looks like this:
Dim pnlHeader As New Panel
Protected Overrides Sub RenderContents( ByVal writer as HtmlTextWriter)
pnlHeader.Rende rControl(writer )
End Sub
Public Sub Setup_Control()
Dim table As New HtmlControls.Ht mlTable
table.Attribute s.Add("style", "width:100% ")
pnlHeader.Contr ols.Add(table)
Dim row As New HtmlControls.Ht mlTableRow
Dim cellLabel As New HtmlControls.Ht mlTableCell
cellLabel.Width = "60%"
Dim lblProblems As New Label
lblProblems.ID = "lbl" & Category.Proble mTypeId
lblProblems.Tex t = "Choose Vendor for All " &
Category.Proble mType & " Problems."
cellLabel.Contr ols.Add(lblProb lems)
Dim cellDDL As New HtmlControls.Ht mlTableCell
cellDDL.Width = "30%"
Dim ddlAll As New DropDownList
ddlAll.ID = "ddlVendorForAl l" &
Category.Proble mTypeId.ToStrin g()
ddlAll.AutoPost Back = True
Common.FillList (ddlAll, HeatMapData.Get Vendors(Propert yId,
"[Choose a Vendor]"))
cellDDL.Control s.Add(ddlAll)
listDDL.Add(ddl All)
AddHandler ddlAll.Selected IndexChanged, AddressOf
ddlAll_Selected IndexChanged
Dim cellImage As New HtmlControls.Ht mlTableCell
cellImage.Width = "9%"
Dim imgExpand As New WebControls.Ima ge
imgExpand.ID = "imgExpand" &
Category.Proble mTypeId.ToStrin g()
imgExpand.Image Url = "~/images/icons/118.png"
imgExpand.ToolT ip = "View Details"
Dim imgCollapse As New WebControls.Ima ge
imgCollapse.ID = "imgCollaps e" &
Category.Proble mTypeId.ToStrin g()
imgCollapse.Ima geUrl = "~/images/icons/116.png"
imgCollapse.Too lTip = "Hide Details"
imgCollapse.Att ributes.Add("st yle", "display:no ne")
cellImage.Contr ols.Add(imgExpa nd)
cellImage.Contr ols.Add(imgColl apse)
row.Controls.Ad d(cellLabel)
row.Controls.Ad d(cellDDL)
row.Controls.Ad d(cellImage)
table.Rows.Add( row)
pnlHeader.BackC olor = Drawing.Color.F romArgb(255, 206,
204, 204)
End Sub
Protected Sub ddlAll_Selected IndexChanged(By Val sender As Object,
ByVal e As System.EventArg s)
....
End Sub
The control renders fine. The problem I am having is that the
dynamically created dropdownlist (ddlAll) does not fire the
SelectedIndexCh anged event. What am I missing?
Thanks,
Jeremy
Mar 17 '08 #5
Nevermind, I worked around it. I'm just inspecting the internal
controls through a method call and just worked around the event
problem.

On Mar 17, 12:01 pm, "jbec...@gmail. com" <jbec...@gmail. comwrote:
Do I need to rebind the dropdownlist?

On Mar 17, 11:56 am, bruce barker

<brucebar...@di scussions.micro soft.comwrote:
but then on postback you need to recreate the control (and its children) in
the oninit event so it can receive the postback data and fire the onchange
event. you can store in viewstate a flag to determine if this must be done.
-- bruce (sqlwork.com)
"jbec...@gmail. com" wrote:
The controls are added to a panel that is displayed after a button is
clicked on page. I set properties on the control and then call
Setup_Control creates all of the child controls on the button click.
On Mar 17, 10:45 am, bruce barker
<brucebar...@di scussions.micro soft.comwrote:
when do you call Setup_Control() (and why do you have it?). it must be called
in oninit of the page, or better yet, change it to CreateChildCont rols.
-- bruce (sqlwork.com)
"jbec...@gmail. com" wrote:
Hi,
I am trying to create a custom server control that contains several
dropdownlists. The control looks like this:
Dim pnlHeader As New Panel
Protected Overrides Sub RenderContents( ByVal writer as HtmlTextWriter)
pnlHeader.Rende rControl(writer )
End Sub
Public Sub Setup_Control()
Dim table As New HtmlControls.Ht mlTable
table.Attribute s.Add("style", "width:100% ")
pnlHeader.Contr ols.Add(table)
Dim row As New HtmlControls.Ht mlTableRow
Dim cellLabel As New HtmlControls.Ht mlTableCell
cellLabel.Width = "60%"
Dim lblProblems As New Label
lblProblems.ID = "lbl" & Category.Proble mTypeId
lblProblems.Tex t = "Choose Vendor for All " &
Category.Proble mType & " Problems."
cellLabel.Contr ols.Add(lblProb lems)
Dim cellDDL As New HtmlControls.Ht mlTableCell
cellDDL.Width = "30%"
Dim ddlAll As New DropDownList
ddlAll.ID = "ddlVendorForAl l" &
Category.Proble mTypeId.ToStrin g()
ddlAll.AutoPost Back = True
Common.FillList (ddlAll, HeatMapData.Get Vendors(Propert yId,
"[Choose a Vendor]"))
cellDDL.Control s.Add(ddlAll)
listDDL.Add(ddl All)
AddHandler ddlAll.Selected IndexChanged, AddressOf
ddlAll_Selected IndexChanged
Dim cellImage As New HtmlControls.Ht mlTableCell
cellImage.Width = "9%"
Dim imgExpand As New WebControls.Ima ge
imgExpand.ID = "imgExpand" &
Category.Proble mTypeId.ToStrin g()
imgExpand.Image Url = "~/images/icons/118.png"
imgExpand.ToolT ip = "View Details"
Dim imgCollapse As New WebControls.Ima ge
imgCollapse.ID = "imgCollaps e" &
Category.Proble mTypeId.ToStrin g()
imgCollapse.Ima geUrl = "~/images/icons/116.png"
imgCollapse.Too lTip = "Hide Details"
imgCollapse.Att ributes.Add("st yle", "display:no ne")
cellImage.Contr ols.Add(imgExpa nd)
cellImage.Contr ols.Add(imgColl apse)
row.Controls.Ad d(cellLabel)
row.Controls.Ad d(cellDDL)
row.Controls.Ad d(cellImage)
table.Rows.Add( row)
pnlHeader.BackC olor = Drawing.Color.F romArgb(255, 206,
204, 204)
End Sub
Protected Sub ddlAll_Selected IndexChanged(By Val sender As Object,
ByVal e As System.EventArg s)
....
End Sub
The control renders fine. The problem I am having is that the
dynamically created dropdownlist (ddlAll) does not fire the
SelectedIndexCh anged event. What am I missing?
Thanks,
Jeremy
Mar 17 '08 #6

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

Similar topics

3
3281
by: Christoph Schittko [MVP] | last post by:
All, I am trying to display a winforms user control inside an HTML page through an <object> tag. Everything works fine and dandy until I sign the assembly that contains the control. Once I start signing then I just get the icon for the failed control. Now I've confirmed from my web server logs that the control is properly downloaded, I see requests with status codes of 200 or 304, so the download succeded. I can further confirm that...
9
17615
by: wASP | last post by:
Hello again to all of you geniuses, I'm having a problem trying to load dynamic controls at the initialization phase. I've read the docs, and I thought I had it figured out: <>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<> <>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<> .NET Framework Class Library Control.Init Event
0
1765
by: Earl Teigrob | last post by:
I am building a custom control that I want to server as a container for child controls that can be dynamically added to this control. I can persist the child controls that are added to my custom control but can to get them to retain view state. Below is a striped down version of my control. It exposes one property of type System.Web.UI.Control that the containing page my set with a dynamically created control My custom control will then...
15
2172
by: Arpan | last post by:
Consider the following code which retrieves data from a SQL Server 2005 DB table & displays it in a DataGrid: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) Dim dSet As DataSet Dim sqlConn As SqlConnection Dim sqlDapter As SqlDataAdapter sqlConn = New SqlConnection("Data Source=AD\SQLEXPRESS;Initial
10
2411
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's my question. Once the UserControl is dropped onto the container page, how can I perform some action on the codebehind of the container page from the codebehind of the UserControl? For instance, suppose that the UserControl is dropped inside one...
11
3266
by: Nick Gilbert | last post by:
Hi, How can I create a custom control which will wrap its content in a header and footer? eg: Is it possible to create a .NET user control which can surround other controls? eg: <my:RoundedCornerBox id=foo runat=server>
4
2688
by: TS | last post by:
Steven, i lost this message conversation from outlook express and made a post online (see last one on this page). Please answer it as it hasn't been yet. thanks The clientID of our controls have become very long since we have 2 master pages that our pages inherit from. Some team members at
4
1746
by: Peted | last post by:
Hi, this prob isnt the right forum but i got no response from the other forums so i hope someone can point me in the right direction. I know you can write a custom control in C# and host that control in a web browser, but it requires that control be served from a actuall sever and downloaded to the client machine for use.
5
4102
by: gerry | last post by:
I am trying to create a custom container control that will only ever contain a specific type of control. At design time, when a control of a different type is added to the container I would like to wrap the control in the proper control type - which is also a container. At design time I want to be able to turn this : <my:container> <asp:textbox />
0
8197
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, 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...
0
8142
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,...
0
8640
Oralloy
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...
1
8287
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8443
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 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...
0
7114
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, 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...
0
4058
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4136
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2573
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 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.