thanks for your input Rajendra and Peter. I've solved my problem. I wasnt re-populating my dg on postback, thus the appropriate events werent firing. thanks again. 8-) Nick
Rajendra Appalla <[EMAIL PROTECTED]> wrote: Are you populating the datagrid again in the postback?? Rajendra. -----Original Message----- From: Nick Chan [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 5:26 PM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] Help With Data Grid Hi Peter, Actually, if I try stepping thru the source code of my ascx file, the sort_command event doesnt even fire. Nick ps: On postback, it displays the name of my custom control, not the dg itself. Peter Brunone <[EMAIL PROTECTED]> wrote: Hmm... What happens when you View Source after the postback (when the DataGrid is missing)? Is there any HTML there for the DataGrid that isn't being rendered? -----Original Message----- From: Nick Chan [mailto:[EMAIL PROTECTED] Hi Peter, Nope, it's set to true. NIck Peter Brunone <[EMAIL PROTECTED]> wrote: Nick, Any chance you've set EnableViewState to false at the page level? Cheers, Peter -----Original Message----- From: Nick [mailto:[EMAIL PROTECTED] Hi All, I've created a user control which contains a data grid. The grid populates and works fine. However, my problem is with sorting. Depending on what the user selects, the grid programmatically adds data columns to the grid. The columns load the proper data, however, when I click a column to sort the data, the entire grid disappears. What can I be doing wrong ? For the record, I have "allowsorting" set to true. Thanks in advance for your help. Nick Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Post your free ad now! Yahoo! Canada Personals [Non-text portions of this message have been removed] Yahoo! Groups Links Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Post your free ad now! Yahoo! Canada Personals [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ADVERTISEMENT click here <http://us.ard.yahoo.com/SIG=1290c2335/M=295196.4901138.6071305.3001176/ D=groups/S=1705006764:HM/EXP=1095197183/A=2128215/R=0/SIG=10se96mf6/*htt p:/companion.yahoo.com> <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group s/S=:HM/A=2128215/rand=101197715> _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] cribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Post your free ad now! Yahoo! Canada Personals [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
