Click here to Skip to main content
15,886,664 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Real problem with GridView TemplateField Sorting Pin
Maxdd 724-Nov-09 7:31
Maxdd 724-Nov-09 7:31 
GeneralRe: Real problem with GridView TemplateField Sorting Pin
Christian Graus24-Nov-09 7:32
protectorChristian Graus24-Nov-09 7:32 
GeneralRe: Real problem with GridView TemplateField Sorting [modified] Pin
Maxdd 724-Nov-09 10:33
Maxdd 724-Nov-09 10:33 
GeneralRe: Real problem with GridView TemplateField Sorting Pin
Christian Graus24-Nov-09 11:18
protectorChristian Graus24-Nov-09 11:18 
GeneralRe: Real problem with GridView TemplateField Sorting Pin
Maxdd 724-Nov-09 11:53
Maxdd 724-Nov-09 11:53 
GeneralRe: Real problem with GridView TemplateField Sorting Pin
Christian Graus24-Nov-09 12:02
protectorChristian Graus24-Nov-09 12:02 
GeneralRe: Real problem with GridView TemplateField Sorting Pin
Maxdd 724-Nov-09 15:25
Maxdd 724-Nov-09 15:25 
AnswerRe: Real problem with GridView TemplateField Sorting Pin
Abhishek Sur24-Nov-09 9:00
professionalAbhishek Sur24-Nov-09 9:00 
There is lot easier way to handle sorting. Use onsorting eventhandler to give automatic sorting expression to a column.


Maxdd 7 wrote:
DataView dataView = new DataView(dataTable);


Rather Use
DataView dataView = dataTable.DefaultView

Maxdd 7 wrote:
Session["data"] = dt;

Why do you need Session to store datatable. .. D'Oh! | :doh: D'Oh! | :doh: D'Oh! | :doh:

Also what exactly the problem is? Check Page_Load, if you have set DataSource and DataBind for every page postback.. You should filter out using if(IsPostBack)

Smile | :)

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

QuestionHow can we find the application which caused the failure of email. Pin
chandra vempati24-Nov-09 6:28
chandra vempati24-Nov-09 6:28 
AnswerRe: How can we find the application which caused the failure of email. Pin
Christian Graus24-Nov-09 6:45
protectorChristian Graus24-Nov-09 6:45 
AnswerRe: How can we find the application which caused the failure of email. Pin
Abhishek Sur24-Nov-09 9:06
professionalAbhishek Sur24-Nov-09 9:06 
Questionasp to asp.net migration Pin
FEMDEV24-Nov-09 4:15
FEMDEV24-Nov-09 4:15 
AnswerRe: asp to asp.net migration Pin
The Man from U.N.C.L.E.24-Nov-09 4:33
The Man from U.N.C.L.E.24-Nov-09 4:33 
AnswerRe: asp to asp.net migration Pin
Abhishek Sur24-Nov-09 4:36
professionalAbhishek Sur24-Nov-09 4:36 
GeneralRe: asp to asp.net migration Pin
FEMDEV24-Nov-09 4:48
FEMDEV24-Nov-09 4:48 
QuestionCookies Pin
manish.m.meshram24-Nov-09 0:35
manish.m.meshram24-Nov-09 0:35 
AnswerRe: Cookies Pin
Abhijit Jana24-Nov-09 0:43
professionalAbhijit Jana24-Nov-09 0:43 
AnswerRe: Cookies Pin
Amit Patel198524-Nov-09 0:51
Amit Patel198524-Nov-09 0:51 
AnswerRe: Cookies Pin
Abhishek Sur24-Nov-09 2:17
professionalAbhishek Sur24-Nov-09 2:17 
Questioninternal website search Pin
Richa_Soni24-Nov-09 0:14
Richa_Soni24-Nov-09 0:14 
AnswerRe: internal website search Pin
Amit Patel198524-Nov-09 1:02
Amit Patel198524-Nov-09 1:02 
AnswerRe: internal website search Pin
Abhishek Sur24-Nov-09 2:19
professionalAbhishek Sur24-Nov-09 2:19 
AnswerRe: internal website search Pin
FEMDEV24-Nov-09 4:21
FEMDEV24-Nov-09 4:21 
Questiontext bold in textbox Pin
Richa_Soni24-Nov-09 0:08
Richa_Soni24-Nov-09 0:08 
AnswerRe: text bold in textbox Pin
pratik124-Nov-09 0:25
pratik124-Nov-09 0:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.