CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: Date Entered: 2/25/2005 6:30:08 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 26 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
"joero4" <>
NewsGroup User
Server Controls Events Firing in Odd Order2/25/2005 6:30:08 PM

0

Ok, this is my situation. I have two composit controls that I have built. The first is a Pager Control for datagrids, and the second is a paging status control. The Pager will page through the datagrid, while the Paging Status control will let the user know what Page the user is on and how many other pages there are left. The two controls are separate so that I can place them in different locations on my page. My problem is with the events that fire from these controls. When my Pager control fires the next page event it will first do a data bind on itself (which is what I want it to do) and then build the controls for the Pager Status control. When I fire the event for the next page again it will then build the Page Status control and after that bind the Pager control. This is the opposite of what happens the first time I click on my Next button. When I click once again (3rd time) on the next button firing the next page event, the pager will do a data bind (that's correct) and then build the Pager status control.

The events will flip-flop the order they fire. Why is this happing? Why would they not fire the same way ever time. They will also flip flow when I hit the previous button, which simple fires the same event but decrease the page index.

Please help, I'm going crazy.

Thanks,
Joe
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:













problems with the aspnet_client directory...

dynamic user control postback not firing

custom tag parser

pulling image data from sql server 7 to an image control

transferring domains

radiobuttonlist in composite control

custom dropdown viewstate

how to maintain state in my extended checkbox control

advice requested on designing complex composite controls that change layout...

loading pictures error: 127.0.0.1:1026

nested usercontrols...like microsofts?

error creating control issue

partner program - hosting competency

declaring events for webcontrols inside the sub procedure

how do you build your server controls? using writer to output html or using controls?

simple colorpick control

asp:dropdownlist

can uncompiled codebehind inherit from base class in assembly

problems connecting to online component gallery

building container controls

having a redundant offsite server for standby?

how to build a dynamic menu?

customrepeater control

help starting my hsp ( hosting service provider).

how to add properties for a web user control ( .ascx ) ?

spla: which windows license for thirdparty mailserver

sql authenction

are these controls for sale ????

intellisense descriptions for custom controls

uitype editor passing an expandable property object

adding a textbox in a table

editing webcontrol table as an htmltable

hosting multiple domains/sites on the same account

getting correct eventtarget for __dopostback

customizing treeview to store another value

is this type of control creation valid

e-commerce confusion reigns

parse string to variable

asp.net dropdown list "not in list" event

spla office licensing question

sql server host needed

adding controls to a custom datagrid server control

overriding width property on a custom server control

designer attribute problem

how to override defaultvalue attribute in a datagrid inherited control

installing iewc-control (treeview...etc.) -problem ?

the basics of viewstate management in a server control

event firing problem

interesting event/delegate question for those in the know

need help in loading a assembly dynamically

   
  Privacy | Contact Us
All Times Are GMT