Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Sort datagrid
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="sam, post: 4262706"] Hello Group, I have a datagrid which needs to be sorted but the column headers should not be clickable on certain conditions( say on the "print version" of the page). The simple piece of code used is : dgwip.allowsorting=true dgWIP.DataSource = dvWIP dvWIP.Sort = Me.SortColumn & " " & Me.SortOrder dgWIP.DataBind() **dgwip.allowsorting=false Since, I need to sort the datagrid and disable the column headers after the sort, I disable the allowsorting property after the databind but that does not seem to do the job. Not sure, how to go about it. Any help would be great!! Thanks, Sam. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Sort datagrid
Top