473,768 Members | 1,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Nested datagrids -- events not handled correctly

Hi everyone,

I've got a strange one here. There are two datagrids on my page, one nested
within the other. I'll refer to them as the topmost and secondary
datagrids.

In the topmost datagrid's OnItemDataBound () method we check for the row in
which it's appropriate to add the secondary datagrid. Exactly one row in
the topmost grid will contain the secondary grid.

When we do find the appropriate row in the topmost grid, we add to one of
its cells a DropDownList and then our secondary datagrid. Meanwhile, within
this secondary datagrid we add a LinkButton to one of its cells, for
specific rows. Not all rows of the secondary grid get a button. We use the
ItemEvent() method to check.

When we add the DropDownList and LinkButtons, we create event handlers for
their SelectedIndexCh anged() and Click() events, respectively. Now comes my
problem.

What's strange is that when I click on one of the LinkButtons the page is
reloaded (as expected), but then the DropDownList's SelectedIndexCh anged()
handler is fired. I never touched the DropDownList however.

What's more, if I fail to call the secondary datagrid's DataBind() method
from within this DropDownList event handler, the LinkButton's Click()
handler is never called-- even though that's the control I clicked on to
start the chain of events!

So I'm confused to say the least. I realize this stuff can be tricky and
I'm not expecting a total answer to my problem, but does any of this ring a
bell? Specifically, why is the DropDownList's event handler being fired
when the LinkButton is clicked, and why is the LinkButton's Click() handler
never called unless the DropDownList's event handler calls the secondary
datagrid's BindData() method?

Thanks very much.
Aug 27 '06 #1
6 1756
hi steve,

here is a good article on this re-occuring question:
http://odetocode.com/Blogs/scott/arc...7/19/5365.aspx

when you create a control programatically like you do in your code, you need
to fully re-create it for each postback. otherwise your event is going to
be raised for a control that doesn't exist, since each post back is its own
separate entity. this is why the click event doesn't happen unless you
re-bind the datagrid.

strange that the SelectedIndexCh anged event is fired, did you try debugging
to see what the call stack is like when that event is triggered. this will
help you track whether it is in response to some of your own code. can you
post your code for databinding the drop down list?

tim

------------------------------------------
blog: http://tim.mackey.ie
"Steve Hershoff" <ba******@nowhe re.comwrote in message
news:Ob******** ******@TK2MSFTN GP06.phx.gbl...
Hi everyone,

I've got a strange one here. There are two datagrids on my page, one
nested within the other. I'll refer to them as the topmost and secondary
datagrids.

In the topmost datagrid's OnItemDataBound () method we check for the row in
which it's appropriate to add the secondary datagrid. Exactly one row in
the topmost grid will contain the secondary grid.

When we do find the appropriate row in the topmost grid, we add to one of
its cells a DropDownList and then our secondary datagrid. Meanwhile,
within this secondary datagrid we add a LinkButton to one of its cells,
for specific rows. Not all rows of the secondary grid get a button. We
use the ItemEvent() method to check.

When we add the DropDownList and LinkButtons, we create event handlers for
their SelectedIndexCh anged() and Click() events, respectively. Now comes
my problem.

What's strange is that when I click on one of the LinkButtons the page is
reloaded (as expected), but then the DropDownList's SelectedIndexCh anged()
handler is fired. I never touched the DropDownList however.

What's more, if I fail to call the secondary datagrid's DataBind() method
from within this DropDownList event handler, the LinkButton's Click()
handler is never called-- even though that's the control I clicked on to
start the chain of events!

So I'm confused to say the least. I realize this stuff can be tricky and
I'm not expecting a total answer to my problem, but does any of this ring
a bell? Specifically, why is the DropDownList's event handler being fired
when the LinkButton is clicked, and why is the LinkButton's Click()
handler never called unless the DropDownList's event handler calls the
secondary datagrid's BindData() method?

Thanks very much.

Aug 28 '06 #2
Hi Tim,

Thanks for your note, and for the links. When the SelectedIndexCh anged
event is fired it's the only element in the call stack, aside from the
ubiquitious <Non User Codeportion below it.

Here's the code used for creating the dropdown. It's called in the OnInit()
method of the web control (this is all contained in an ascx file):

this.ddl_Transa ction_Filt = new DropDownList();
this.ddl_Transa ction_Filt.Item s.Add(new ListItem("Taken ", "TAKEN"));
this.ddl_Transa ction_Filt.Item s.Add(new ListItem("Accru ed", "ACCR"));
this.ddl_Transa ction_Filt.Item s.Add(new ListItem("Adjus ted", "ADJ"));
this.ddl_Transa ction_Filt.Item s.Add(new ListItem("All", "ALL"));
this.ddl_Transa ction_Filt.CssC lass = "Normal";
this.ddl_Transa ction_Filt.Auto PostBack = true;
this.ddl_Transa ction_Filt.Sele ctedIndexChange d += new
System.EventHan dler(this.ddl_T ransaction_Filt _SelectedIndexC hanged);

....as you can tell, the dropdown is hard-coded.

Here's something interesting: later on in the OnInit() method I compare a
session variable with the value in that dropdown list. If the session
variable and the value in the dropdown differ I set the index in the
dropdown appropriately.

The guy who worked on this page before me made a mistake in the code and
mixed up the "ADJ" and "ALL" bits. The result being the dropdown's index
changes on every page load, which means the secondary datagrid is bound
every page load, which also means (it appears) the LinkButton's click event
is handled when needed. If I "fix" his code so the dropdown works correctly
the LinkButton no longer works.

"Tim_Mac" <ti********@com munity.nospamwr ote in message
news:Og******** ******@TK2MSFTN GP03.phx.gbl...
hi steve,

here is a good article on this re-occuring question:
http://odetocode.com/Blogs/scott/arc...7/19/5365.aspx

when you create a control programatically like you do in your code, you
need to fully re-create it for each postback. otherwise your event is
going to be raised for a control that doesn't exist, since each post back
is its own separate entity. this is why the click event doesn't happen
unless you re-bind the datagrid.

strange that the SelectedIndexCh anged event is fired, did you try
debugging to see what the call stack is like when that event is triggered.
this will help you track whether it is in response to some of your own
code. can you post your code for databinding the drop down list?

tim

------------------------------------------
blog: http://tim.mackey.ie
"Steve Hershoff" <ba******@nowhe re.comwrote in message
news:Ob******** ******@TK2MSFTN GP06.phx.gbl...
>Hi everyone,

I've got a strange one here. There are two datagrids on my page, one
nested within the other. I'll refer to them as the topmost and secondary
datagrids.

In the topmost datagrid's OnItemDataBound () method we check for the row
in which it's appropriate to add the secondary datagrid. Exactly one row
in the topmost grid will contain the secondary grid.

When we do find the appropriate row in the topmost grid, we add to one of
its cells a DropDownList and then our secondary datagrid. Meanwhile,
within this secondary datagrid we add a LinkButton to one of its cells,
for specific rows. Not all rows of the secondary grid get a button. We
use the ItemEvent() method to check.

When we add the DropDownList and LinkButtons, we create event handlers
for their SelectedIndexCh anged() and Click() events, respectively. Now
comes my problem.

What's strange is that when I click on one of the LinkButtons the page is
reloaded (as expected), but then the DropDownList's
SelectedIndexC hanged() handler is fired. I never touched the
DropDownList however.

What's more, if I fail to call the secondary datagrid's DataBind() method
from within this DropDownList event handler, the LinkButton's Click()
handler is never called-- even though that's the control I clicked on to
start the chain of events!

So I'm confused to say the least. I realize this stuff can be tricky and
I'm not expecting a total answer to my problem, but does any of this ring
a bell? Specifically, why is the DropDownList's event handler being
fired when the LinkButton is clicked, and why is the LinkButton's Click()
handler never called unless the DropDownList's event handler calls the
secondary datagrid's BindData() method?

Thanks very much.


Aug 28 '06 #3
hi steve, i'm trying to piece together the setup there.

so the drop-down-list SelectedIndexCh anged event fires because of your code
that compares the session variable and updates the SelectedIndex of the menu
accordingly. that one is explained then?

if you only bind the secondary datagrid in response to a
SelectedIndexCh anged event, then the LinkButton Click event won't fire for
that datagrid. you need to bind the secondary datagrid for each post back
where you want to use events with it (especially on the Postback that occurs
when you click the LinkButton).

you're code should look something like this:

public void Page_Load(...)
{
if(!IsPostBack)
{
// bind the topmost datagrid and other first time load stuff
}
else
{
// bind the secondary datagrid, dropdownlist, extra button
column, etc.
// exactly as you had it as of the last postback
}
}

this approach works for me. if this doesn't give you any ideas, can you
post your Page_Load and OnInit code, and anything else that affects the
loading/binding of the dynamic controls. if it's worth it, you may like to
create a stripped down version of the page and i could test it out here.

cheers.
tim
Aug 28 '06 #4
Thanks again Tim. You understand how the dropdown list and the session
variable interact.

I guess I need to play around a little more. I suppose the way things work
is that when I click the LinkButton a postback is generated, then the
Page_Load is called. I assumed the LinkButton's Click() event handler would
be called even if the datagrid it resides in isn't bound again, but it
appears not?

One more thing, if you don't mind another question. Would you happen to
know what events are fired or what happens in general on a page when a
DataBind takes place? I ask because in our Page_Load we're binding the
topmost datagrid every time, whether IsPostBack is true or not.

The first time we enter this page the topmost grid is bound only once. If I
click on a hyperlink to "show the secondary datagrid," the Page_Load method
is called again, with IsPostBack set to true. So far so good. Again,
Page_Load binds the master datagrid.

However, this time the page is immediately reloaded(?) (IsPostBack equals
false now) and the master datagrid is bound yet again. Only now is the
secondary datagrid loaded and bound.

I don't understand why Page_Load is called twice in succession? I'm not
reloading or redirecting back to the page, at least not directly in my code.
Strange indeed.

I keep trying to find good information on the page lifecycle. The
4guysfromrolla. com site is great for workaday questions involving aspx, but
it's still tough. No two sources seem to agree on what happens. Either
that or they flood you with terms like PagePreRenderIn it() and set your head
spinning. Do you happen to have any favored websites or books that do a
good job on this?

Thanks again for all your help. I really appreciate it.

-Steve.


"Tim_Mac" <ti********@com munity.nospamwr ote in message
news:uy******** *****@TK2MSFTNG P06.phx.gbl...
hi steve, i'm trying to piece together the setup there.

so the drop-down-list SelectedIndexCh anged event fires because of your
code that compares the session variable and updates the SelectedIndex of
the menu accordingly. that one is explained then?

if you only bind the secondary datagrid in response to a
SelectedIndexCh anged event, then the LinkButton Click event won't fire for
that datagrid. you need to bind the secondary datagrid for each post back
where you want to use events with it (especially on the Postback that
occurs when you click the LinkButton).

you're code should look something like this:

public void Page_Load(...)
{
if(!IsPostBack)
{
// bind the topmost datagrid and other first time load stuff
}
else
{
// bind the secondary datagrid, dropdownlist, extra button
column, etc.
// exactly as you had it as of the last postback
}
}

this approach works for me. if this doesn't give you any ideas, can you
post your Page_Load and OnInit code, and anything else that affects the
loading/binding of the dynamic controls. if it's worth it, you may like
to create a stripped down version of the page and i could test it out
here.

cheers.
tim

Aug 29 '06 #5
hi Steve,
you're welcome, glad to help out.

you only need to bind the topmost datagrid for the first postback. the
reason for this is because it is a statically declared control in the aspx,
and the viewstate is enough to maintain its state across postbacks.
however, if you change the underlying data, i.e. run an update/delete SQL
query, then you will need to re-bind the datagrid afterwards because the
viewstate data will not reflect your data changes.

the reason your events are getting lost for the secondary datagrid is
because this control does not exist for any given postback unless it is
programatically created exactly as it was previously. does that make sense?

re: events for a DataBind()... i'm not aware of any knock-on events raised
by calling DataBind on a control. if you set a breakpoint at the DataBind
call, and hit F11 you will step into any user code that runs as a result of
calling Databind.

i know what you mean about the complexity of the Page lifecycle. i
generally don't concern myself with such events, except obviously Page_Load.
there is lots of opinion on where/when to create your dynamic controls.
Personally i like to do it all in Page_Load because it is very clear then
what is going on, you don't need to worry about the order of events.
Page_Load will always run first, and then any events will fire after that.
advanced users may say this is too simplistic, but i have done plenty of
complex scenarios containing nested dynamic controls only using Page_Load.

the official resource on the Page/Postback lifecycle is on MSDN2:
http://msdn2.microsoft.com/en-us/library/ms178472.aspx
this really is an excellent article and it is the one i was looking for
earlier but couldn't find. well worth an afternoon of studying. they also
give a few tips for nested databound controls under the heading "catch up
events"

i am stumped by the double Page_Load. i can't see how Page.Postback could
be false unless you have some Response.Redire ct code or some javascript to
reload the page, or if your linkbutton doesn't directly cause a postback.
i.e. if it is rendered as <a href="SamePage. aspx?Select=10" >Select</a>

can you post the aspx and code-behind? don't worry about the database
connections etc, just by looking at the code it may be clear where the
problem is.

thanks
tim

"Steve Hershoff" <ba******@nowhe re.comwrote in message
news:On******** ******@TK2MSFTN GP05.phx.gbl...
Thanks again Tim. You understand how the dropdown list and the session
variable interact.

I guess I need to play around a little more. I suppose the way things
work is that when I click the LinkButton a postback is generated, then the
Page_Load is called. I assumed the LinkButton's Click() event handler
would be called even if the datagrid it resides in isn't bound again, but
it appears not?

One more thing, if you don't mind another question. Would you happen to
know what events are fired or what happens in general on a page when a
DataBind takes place? I ask because in our Page_Load we're binding the
topmost datagrid every time, whether IsPostBack is true or not.

The first time we enter this page the topmost grid is bound only once. If
I click on a hyperlink to "show the secondary datagrid," the Page_Load
method is called again, with IsPostBack set to true. So far so good.
Again, Page_Load binds the master datagrid.

However, this time the page is immediately reloaded(?) (IsPostBack equals
false now) and the master datagrid is bound yet again. Only now is the
secondary datagrid loaded and bound.

I don't understand why Page_Load is called twice in succession? I'm not
reloading or redirecting back to the page, at least not directly in my
code. Strange indeed.

I keep trying to find good information on the page lifecycle. The
4guysfromrolla. com site is great for workaday questions involving aspx,
but it's still tough. No two sources seem to agree on what happens.
Either that or they flood you with terms like PagePreRenderIn it() and set
your head spinning. Do you happen to have any favored websites or books
that do a good job on this?

Thanks again for all your help. I really appreciate it.

-Steve.


"Tim_Mac" <ti********@com munity.nospamwr ote in message
news:uy******** *****@TK2MSFTNG P06.phx.gbl...
>hi steve, i'm trying to piece together the setup there.

so the drop-down-list SelectedIndexCh anged event fires because of your
code that compares the session variable and updates the SelectedIndex of
the menu accordingly. that one is explained then?

if you only bind the secondary datagrid in response to a
SelectedIndexC hanged event, then the LinkButton Click event won't fire
for that datagrid. you need to bind the secondary datagrid for each post
back where you want to use events with it (especially on the Postback
that occurs when you click the LinkButton).

you're code should look something like this:

public void Page_Load(...)
{
if(!IsPostBack)
{
// bind the topmost datagrid and other first time load stuff
}
else
{
// bind the secondary datagrid, dropdownlist, extra button
column, etc.
// exactly as you had it as of the last postback
}
}

this approach works for me. if this doesn't give you any ideas, can you
post your Page_Load and OnInit code, and anything else that affects the
loading/binding of the dynamic controls. if it's worth it, you may like
to create a stripped down version of the page and i could test it out
here.

cheers.
tim


Aug 29 '06 #6
Good call on the double page_load, Tim. The "show secondary datagrid" link
does indeed lead to a response.redire ct, so that should explain things
there. I'd be glad to post the code-behind info, but I think you've got me
on the right direction.

I'll definitely check out that MSDN2 link you posted on the page lifecycle.
I've had it with guesswork on what gets fired and when!

Indebted as always,

-Steve

"Tim_Mac" <ti********@com munity.nospamwr ote in message
news:ek******** ******@TK2MSFTN GP02.phx.gbl...
hi Steve,
you're welcome, glad to help out.

you only need to bind the topmost datagrid for the first postback. the
reason for this is because it is a statically declared control in the
aspx, and the viewstate is enough to maintain its state across postbacks.
however, if you change the underlying data, i.e. run an update/delete SQL
query, then you will need to re-bind the datagrid afterwards because the
viewstate data will not reflect your data changes.

the reason your events are getting lost for the secondary datagrid is
because this control does not exist for any given postback unless it is
programatically created exactly as it was previously. does that make
sense?

re: events for a DataBind()... i'm not aware of any knock-on events raised
by calling DataBind on a control. if you set a breakpoint at the DataBind
call, and hit F11 you will step into any user code that runs as a result
of calling Databind.

i know what you mean about the complexity of the Page lifecycle. i
generally don't concern myself with such events, except obviously
Page_Load. there is lots of opinion on where/when to create your dynamic
controls. Personally i like to do it all in Page_Load because it is very
clear then what is going on, you don't need to worry about the order of
events. Page_Load will always run first, and then any events will fire
after that. advanced users may say this is too simplistic, but i have done
plenty of complex scenarios containing nested dynamic controls only using
Page_Load.

the official resource on the Page/Postback lifecycle is on MSDN2:
http://msdn2.microsoft.com/en-us/library/ms178472.aspx
this really is an excellent article and it is the one i was looking for
earlier but couldn't find. well worth an afternoon of studying. they
also give a few tips for nested databound controls under the heading
"catch up events"

i am stumped by the double Page_Load. i can't see how Page.Postback could
be false unless you have some Response.Redire ct code or some javascript to
reload the page, or if your linkbutton doesn't directly cause a postback.
i.e. if it is rendered as <a href="SamePage. aspx?Select=10" >Select</a>

can you post the aspx and code-behind? don't worry about the database
connections etc, just by looking at the code it may be clear where the
problem is.

thanks
tim

"Steve Hershoff" <ba******@nowhe re.comwrote in message
news:On******** ******@TK2MSFTN GP05.phx.gbl...
>Thanks again Tim. You understand how the dropdown list and the session
variable interact.

I guess I need to play around a little more. I suppose the way things
work is that when I click the LinkButton a postback is generated, then
the Page_Load is called. I assumed the LinkButton's Click() event
handler would be called even if the datagrid it resides in isn't bound
again, but it appears not?

One more thing, if you don't mind another question. Would you happen to
know what events are fired or what happens in general on a page when a
DataBind takes place? I ask because in our Page_Load we're binding the
topmost datagrid every time, whether IsPostBack is true or not.

The first time we enter this page the topmost grid is bound only once.
If I click on a hyperlink to "show the secondary datagrid," the Page_Load
method is called again, with IsPostBack set to true. So far so good.
Again, Page_Load binds the master datagrid.

However, this time the page is immediately reloaded(?) (IsPostBack equals
false now) and the master datagrid is bound yet again. Only now is the
secondary datagrid loaded and bound.

I don't understand why Page_Load is called twice in succession? I'm not
reloading or redirecting back to the page, at least not directly in my
code. Strange indeed.

I keep trying to find good information on the page lifecycle. The
4guysfromrolla .com site is great for workaday questions involving aspx,
but it's still tough. No two sources seem to agree on what happens.
Either that or they flood you with terms like PagePreRenderIn it() and set
your head spinning. Do you happen to have any favored websites or books
that do a good job on this?

Thanks again for all your help. I really appreciate it.

-Steve.


"Tim_Mac" <ti********@com munity.nospamwr ote in message
news:uy******* ******@TK2MSFTN GP06.phx.gbl...
>>hi steve, i'm trying to piece together the setup there.

so the drop-down-list SelectedIndexCh anged event fires because of your
code that compares the session variable and updates the SelectedIndex of
the menu accordingly. that one is explained then?

if you only bind the secondary datagrid in response to a
SelectedIndex Changed event, then the LinkButton Click event won't fire
for that datagrid. you need to bind the secondary datagrid for each
post back where you want to use events with it (especially on the
Postback that occurs when you click the LinkButton).

you're code should look something like this:

public void Page_Load(...)
{
if(!IsPostBack)
{
// bind the topmost datagrid and other first time load stuff
}
else
{
// bind the secondary datagrid, dropdownlist, extra button
column, etc.
// exactly as you had it as of the last postback
}
}

this approach works for me. if this doesn't give you any ideas, can you
post your Page_Load and OnInit code, and anything else that affects the
loading/binding of the dynamic controls. if it's worth it, you may like
to create a stripped down version of the page and i could test it out
here.

cheers.
tim



Aug 30 '06 #7

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

Similar topics

0
1449
by: Yasir Hussain | last post by:
Hope someone can shed some light on the follow issue. With regards to the excellent article by Dino Esposito on Nested DataGrids, http://msdn.microsoft.com/msdnmag/issues/03/10/CuttingEdge/default.aspx , I tried to take that example and build on it and take it a little further. For those you havnt read the article yet, a summary: Outer Datagrid with a custom column that expands/Coppalses a DataRow
2
945
by: DelphiBlue | last post by:
I have a Nested Datagrid that is using a data relations to tie the parent child datagrids together. All is working well with the display but I am having some issues trying to sort the child datagrid. HTML Datagrid1 TemplateColumn Table Header information Detail Information
6
559
by: B0nj | last post by:
I've got a class in which I want to implement a property that operates like an indexer, for the various colors associated with the class. For instance, I want to be able to do 'set' operations like MyClass.MyColors = Color.Green or, a 'get', such as Color forecolor = MyClass.MyColors; I want to use an indexer so I can take parameters, such as the color type (e.g. "Foreground", "Background" etc.). With a single member function I couldn't...
1
2673
by: Dave | last post by:
I have a datagrid with another datagrid in a template column. For the second datagrids datasource I use container.dataitem.createchildview("relationship") I want to discover if the nested datagrid has any rows. I think I need to check the datagrid.items.count on the second datagrid in the first datagrids ItemCreated event but I can't seem to figure out how to address the second datagrid. Does anyone have any ideas?
4
1754
by: thomson | last post by:
Hi all, i do have a user control with 4 buttons, and all the events are firing properly, My problem is that i need to right an event handler in the user control, which gets fired after a specific process is done,, but the form which will host the user control has to specify what has to be done Something like this , if the event is fired it should call the event in
1
1149
by: David Lozzi | last post by:
Hello, First, I apologize for the cross group posting. I have a calendar to create in ASP.Net, using VB. Basically, the calendar will display each event, and each event has a list of dates. For Example: Event 1 date1, date2, date3,
1
1165
by: Neil | last post by:
Does anyone know where there is some examples of nested datagrids in vb.net not using ASP.net or Does anyone know how to link using nested datagrids in vb.net not using ASP.net (eg where column 1 is a date and the column 2 is a datagrid that has transactions belonging to that date)
2
1939
by: rn5a | last post by:
In a shopping cart app, a ASPX page retrieves the order details & personal details of a user from a MS-Access database table depending upon the username of the user. The order details of a particular order (like ProductID, Name, Description, Quantity etc.) are displayed in one DataGrid where as the personal details of the buyer corresponding to this order (like Name, E-Mail, Shipping & Billing Address etc.) are displayed in another...
3
1923
by: JohnM | last post by:
Hi there, Are there any specific rules or best-practices I should be aware regarding events and the threads they're fired on. Object 1 can be created on thread 1 for instance and an event then registered with it on thread 2. Object 1 might then fire the event on thread 3 and the event might later be deregistered on thread 4. Are there any inherent problems with these (and other) scenarios so long as the event handler is properly dealing...
0
9575
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
10171
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
9960
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
9842
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
6656
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5280
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
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3931
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
2
3534
muto222
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.