----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Wolverine Message 3 in Discussion Thanks...I was aware of how to get the sort expression...the issue was more concerning the fact that its a user defined control.. thanks anyway...Ive got over that stumble now :) AJ > -----Original Message----- > From: Pooran-Prasad [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, October 14, 2003 6:30 PM > To: BDOTNET > Subject: Re: Need to Find Column index in DatGrid.. Pooran? > > > <http://c.msn.com/c.gif?NC=9523&NA=34131&PS=&PI=26283&DI=416&TP=http://gro > ups.msn.com> > <http://sc.groups.msn.com/themes/R9c/pby/img/mail/mlstar.gif> New > Message on BDOTNET <http://groups.msn.com/bdotnet> > <http://sc.groups.msn.com/img/R9c/c.gif> > > > Need to Find Column index in DatGrid.. Pooran? > <http://groups.msn.com/bdotnet/_notifications.msnw?type=msg&action=showdis > cussion&parent=-1&item=7288> > > > Reply > <mailto:[EMAIL PROTECTED] > 0index%20in%20DatGrid%2E%2E%20Pooran%3F> > <http://sc.groups.msn.com/img/R9c/c.gif> Reply to Sender > <mailto:[EMAIL PROTECTED] > %20index%20in%20DatGrid%2E%2E%20Pooran%3F> Recommend > <http://groups.msn.com/bdotnet/_notifications.msnw?type=msg&action=recomme > nd&parent=-1&item=7292> Message 2 in Discussion > From: Pooran-Prasad > <http://groups.msn.com/bdotnet/profile?user=Pooran%2DPrasad%E2%9C%93> > > > > Hi Wolverine, > DataGrid's Sort event handler is called for every column that defines > "SortExpression". Event object passed in this event handler has property > "SortExpression". This will have the sort expression for the column that > user clicked. Assuming that SortExpression property is always unique for > each column in DataGrid, it is easy to find current column on which user > selected Sort. Store the id of this column in some hidden variable and > do the sorting. Next time when the page loads, say after postback, set > DataGrid current column's name or heading to whatever you want. > Hope that helps > Have a great day :) > R Pooran Prasad > > R. Pooran Prasad > Itreya Technologies Pvt Ltd., > Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Phone(Off) : 5200179/80/81/82/83 Extn: 42 > Mobile: +91 98860 29578 > > > View other groups in this category. > <http://groups.msn.com/Browse?CatId=26> > > Click Here! > <http://g.msn.com/0AD00001/503023.1??PID=2001966&UIT=M&TargetID=1014733&AN > =12129&PG=WBCCOM> > > Also on MSN: > Start Chatting <http://g.msn.com/2GRENUS/2_8085_01> | Listen to Music > <http://g.msn.com/2GRENUS/2_8085_02> | House & Home > <http://g.msn.com/2GRENUS/2_8085_03> | Try Online Dating > <http://g.msn.com/2GRENUS/2_8085_04> | Daily Horoscopes > <http://g.msn.com/2GRENUS/2_8085_05> > > <http://sc.groups.msn.com/img/R9c/c.gif> > > > To stop getting this e-mail, or change how often it arrives, go to > your E-mail Settings <http://groups.msn.com/bdotnet/_emailsettings.msnw>. > > Need help? If you've forgotten your password, please go to Passport > Member Services <http://groups.msn.com/_passportredir.msnw?ppmprop=help>. > For other questions or feedback, go to our Contact Us > <http://groups.msn.com/contact> page. > > If you do not want to receive future e-mail from this MSN group, or > if you received this message by mistake, please click the "Remove" link > below. On the pre-addressed e-mail message that opens, simply click > "Send". Your e-mail address will be deleted from this group's mailing > list. > Remove my e-mail address from BDOTNET. > <mailto:[EMAIL PROTECTED]> > > ____________________________________________ Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy the original message and all copies. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
