Current location: Hot Scripts Forums » Programming Languages » ASP.NET » sorting in a custom grid view


sorting in a custom grid view

Reply
  #1 (permalink)  
Old 05-16-08, 05:18 AM
painthu painthu is offline
New Member
 
Join Date: May 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
sorting in a custom grid view

hi,

I am trying to create a web custom control- a grid view that inherits from the system.web.ui.webcontrols.gridview class,,

the functionality that i am trying to add to this custom control is-sorting with up and down arrow keys on the header,

i found a control on the net that does sorting as i want,,,

but u see the problem is that the custom control does sorting with images only when bound through an sqldatasource either directly by placing a datasource control on my aspx page or by programmatically creating one in the page load

when i try binding the custom control using a dataset , i am unable to sort with the images-up and down arrow keys,,

i have created handlers for sort event so sorting occurs through the header links but the iamges don't show


i would really appreciate any help from ur side

painthu
Reply With Quote
  #2 (permalink)  
Old 05-17-08, 02:51 PM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
If you are using a dataset, how are you populating the dataset? Are you manually creating a DataTable and adding it to the dataset? Also, so your images physically exist on your server and do you read them into the dataset manually?

It would also help to see some of your source code, in order to debug.


Pete
__________________
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image in a grid view. Rapid Dr3am ASP.NET 3 02-13-08 10:34 AM
Grid View Toggle Detail Rapid Dr3am ASP.NET 1 02-06-08 05:03 AM
Sorting rows in a custom order Deansatch PHP 10 09-20-06 04:58 PM
Custom IE Toolbar Development for your company or Website Chadhaajay General Advertisements 0 10-28-05 01:01 AM
JSP Custom Tags and Client Side Table Sorting kamwingpang JavaScript 3 12-11-03 12:48 PM


All times are GMT -5. The time now is 02:36 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.