Click here to Skip to main content
15,891,529 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: About Ajax Pin
Not Active15-May-07 7:56
mentorNot Active15-May-07 7:56 
AnswerRe: About Ajax Pin
Christian Graus15-May-07 13:18
protectorChristian Graus15-May-07 13:18 
QuestionProblems with data Pin
TAK7815-May-07 5:40
TAK7815-May-07 5:40 
QuestionUK/GB Dates Pin
Aaron Hudson15-May-07 5:29
Aaron Hudson15-May-07 5:29 
AnswerRe: UK/GB Dates Pin
-Dr_X-15-May-07 5:35
-Dr_X-15-May-07 5:35 
GeneralRe: UK/GB Dates Pin
Guffa15-May-07 15:10
Guffa15-May-07 15:10 
AnswerRe: UK/GB Dates Pin
Christian Graus15-May-07 13:19
protectorChristian Graus15-May-07 13:19 
QuestionGridView Problem Pin
Bajrang Singh15-May-07 5:29
Bajrang Singh15-May-07 5:29 
Hi All,
I am working on GridView.
I used sorting on two columns ASC/DESC alternatively, as usually it is done.
Everything works fine but After changing the Sorting order GridView Displays the desired order but on GVMaterialMaster_SelectedIndexChanging Event,
Code:
protected void GVMaterialMaster_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
{
GridViewRow row = GVMaterialMaster.Rows[e.NewSelectedIndex];
string materialCode = row.Cells[0].Text;
}

the row.Cells[0].Text always have value of row.Cells[0] of GridView before Sorting. Means row.Cells[0] always have the same value whether sorting is changed or not.
Any help is appreciated,
Thanks

Bajrang Singh
Using .net 2.0 (VS2005)

QuestionRe: GridView Problem Pin
Venkatesh Mookkan15-May-07 18:22
Venkatesh Mookkan15-May-07 18:22 
AnswerRe: GridView Problem [modified] Pin
Bajrang Singh15-May-07 19:55
Bajrang Singh15-May-07 19:55 
GeneralRe: GridView Problem Pin
Venkatesh Mookkan15-May-07 22:13
Venkatesh Mookkan15-May-07 22:13 
GeneralRe: GridView Problem Pin
Bajrang Singh16-May-07 1:25
Bajrang Singh16-May-07 1:25 
QuestionGridView columns HeaderText from a function Pin
-Dr_X-15-May-07 5:27
-Dr_X-15-May-07 5:27 
AnswerRe: GridView columns HeaderText from a function Pin
Venkatesh Mookkan15-May-07 18:26
Venkatesh Mookkan15-May-07 18:26 
QuestionUser Control Properties Best Practices Pin
john202115-May-07 5:20
john202115-May-07 5:20 
QuestionHttpHandler for *.asp Pin
eggsovereasy15-May-07 5:13
eggsovereasy15-May-07 5:13 
Questionplaying video files Pin
Rahul Babu15-May-07 4:06
Rahul Babu15-May-07 4:06 
AnswerRe: playing video files Pin
Uwe Keim15-May-07 10:05
sitebuilderUwe Keim15-May-07 10:05 
QuestionForms Authentication Cookie expiration problem. Pin
hai_venkatesh15-May-07 3:36
hai_venkatesh15-May-07 3:36 
AnswerRe: Forms Authentication Cookie expiration problem. Pin
kubben15-May-07 3:58
kubben15-May-07 3:58 
GeneralRe: Forms Authentication Cookie expiration problem. Pin
hai_venkatesh15-May-07 20:04
hai_venkatesh15-May-07 20:04 
QuestionGridview control in C# Pin
eric_tran15-May-07 3:33
eric_tran15-May-07 3:33 
AnswerRe: Gridview control in C# Pin
-Dr_X-15-May-07 5:30
-Dr_X-15-May-07 5:30 
Questionyo Pin
paul281115-May-07 2:30
paul281115-May-07 2:30 
AnswerRe: yo Pin
Christian Graus15-May-07 2:32
protectorChristian Graus15-May-07 2:32 

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.