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

ASP.NET

 
GeneralRe: Changing the location of _viewState in the aspx page Pin
sam L26-Nov-06 9:10
sam L26-Nov-06 9:10 
GeneralRe: Changing the location of _viewState in the aspx page Pin
JohnyCoder26-Nov-06 15:22
JohnyCoder26-Nov-06 15:22 
GeneralRe: Changing the location of _viewState in the aspx page Pin
JohnyCoder27-Nov-06 6:22
JohnyCoder27-Nov-06 6:22 
QuestionAJAX How to start and where to start Pin
Nitin198125-Nov-06 6:40
Nitin198125-Nov-06 6:40 
AnswerRe: AJAX How to start and where to start Pin
Not Active25-Nov-06 14:23
mentorNot Active25-Nov-06 14:23 
GeneralRe: AJAX How to start and where to start Pin
Fred_Smith25-Nov-06 22:45
Fred_Smith25-Nov-06 22:45 
GeneralRe: AJAX How to start and where to start Pin
Nitin198126-Nov-06 6:37
Nitin198126-Nov-06 6:37 
QuestionSorting columns when displaying single column in datalist Pin
hasanali0025-Nov-06 5:33
hasanali0025-Nov-06 5:33 
Currently, I am using the DataList to display the data. My DataList code looks something like this:

<datalist>

<itemTemplate>

<tr>

<td>Name:</td>

<td><% DataBinder.....%></td>

</tr>

<tr>

<td>Company:</td>

<td><% DataBinder.....%></td>

</tr>

</itemTemplate>

</datalist>

My question is: How can I have an easy way of sorting this data. I would like the users to be able to sort the data by Name or by Company. I understand I can add AllowSorting to DataList or DataGrid, but then I would have to display the column names and display the data in 2 columns, which I dont want to do.

So is there any other way to allow the users to sort this data, without having to write much code? I am using ASP.NET 2.

Thanks
QuestionUsing two pages Pin
Khan.Bangash25-Nov-06 1:52
Khan.Bangash25-Nov-06 1:52 
AnswerRe: Using two pages Pin
iamrashida8325-Nov-06 4:55
iamrashida8325-Nov-06 4:55 
GeneralRe: Using two pages Pin
Not Active25-Nov-06 14:20
mentorNot Active25-Nov-06 14:20 
Questionexpand Tree view Pin
Imran Khan Pathan25-Nov-06 1:13
Imran Khan Pathan25-Nov-06 1:13 
AnswerRe: expand Tree view Pin
iamrashida8325-Nov-06 5:04
iamrashida8325-Nov-06 5:04 
AnswerRe: expand Tree view Pin
Not Active25-Nov-06 14:18
mentorNot Active25-Nov-06 14:18 
QuestionUsing server.mappath in classes (or not) Pin
Fred_Smith25-Nov-06 0:22
Fred_Smith25-Nov-06 0:22 
AnswerRe: Using server.mappath in classes (or not) Pin
iamrashida8325-Nov-06 5:06
iamrashida8325-Nov-06 5:06 
GeneralRe: Using server.mappath in classes (or not) Pin
Fred_Smith25-Nov-06 5:14
Fred_Smith25-Nov-06 5:14 
GeneralRe: Using server.mappath in classes (or not) Pin
iamrashida8325-Nov-06 5:37
iamrashida8325-Nov-06 5:37 
GeneralRe: Using server.mappath in classes (or not) Pin
Fred_Smith25-Nov-06 5:49
Fred_Smith25-Nov-06 5:49 
QuestionHow to get the india time zone with asp Pin
kumar.a24-Nov-06 23:45
kumar.a24-Nov-06 23:45 
AnswerRe: How to get the india time zone with asp Pin
Fred_Smith25-Nov-06 5:21
Fred_Smith25-Nov-06 5:21 
QuestionASP.NET 2.0 Web application? Pin
diovc24-Nov-06 23:43
diovc24-Nov-06 23:43 
Questionhow to take printout from the grid Pin
abulhassan_shock24-Nov-06 23:02
abulhassan_shock24-Nov-06 23:02 
AnswerRe: how to take printout from the grid Pin
pal5hah6-Oct-11 2:22
pal5hah6-Oct-11 2:22 
Question"differ b/w viewstate and hidden fields" Pin
ravikiranreddydharmannagari24-Nov-06 22:40
ravikiranreddydharmannagari24-Nov-06 22:40 

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.