all groups > dotnet academic > january 2005 >
You're in the

dotnet academic

group:

Help


Help Alan
1/27/2005 11:40:11 PM
dotnet academic: hi guyz..im fairly new to .net..

i have a windows form which hosts an IE web control,as the
page loads it fires certain events like download
begin,progress change... which is fine..

-the thing is i have a calender control on one of the
pages which is loaded(the pages which are loaded are part
of another asp.net application of mine)..when i try to
select a date by clickin on the control it fires the
download begin event..

- is there any way to not make this happen or can i track
it in my winform code and perform some operations based on
if the calendar control was clicked..

i hope im clear..

Regards
Alan.

Help Luke Smith
2/4/2005 8:18:53 PM
Have a look at IsPostBack property.

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfsystemwebuipageclassispostbacktopic.asp

Hth
luke

[quoted text, click to view]
RE: Help Roopesh Rajendiran
5/10/2005 2:06:03 AM
hai,
its a default case is that every time u fire a server event it goes
to server and do the page life cycle(render, prerender,load...) . its called
postbacking.its a boolean property. if u want to ignore some lines of code in
the load event u pu all this code in the postback checking

if (!(IsPostBack))
{
//do the code at here
}
then u can avoid this
i think u understand else mail me...

[quoted text, click to view]
AddThis Social Bookmark Button