Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
UJ #1
Sorting when there's an image in the header doesn't seem to work....
I've got a datagrid that works just ducky. I then put in the headers image
and now my sort event doesn't get fired. If I take out just the
headerimageurl= portion, it works fine. Otherwise it doesn't.
Any suggestions?
TIA
Jeffrey.
UJ Guest
-
Datagrid sorting does not work
I have added sorting to my datagrid. I added the event handler Private Sub dgrItems_SortCommand(ByVal source As Object, _ ByVal e As... -
GridView paging/sorting - will it work with stored procedures?
Can anyone tell me whether the new ASP.NET 2.0 GridView control supports sorting and paging when the data source is a SQL stored procedure, e.g.... -
Sorting link disappear when put control in the header
HI guys, I have a datagrid with 5 coloums. What I want to achive is put a button or a checkbox into each header of the coloums and when fires an... -
Image in header column (not replacing column header text)
I have a sortable (asc/desc) datagrid and would like to add a small arrow icon (down/up) next to the column header text to improve the UI. Is this... -
Image Header
Hi! I don't know if this is ok, so can somebody give me some explanation. I made some php script to get Header from http request. When I... -
EJD #2
Re: Sorting when there's an image in the header doesn't seem to work....
Hi Jeffrey,
When you click on the header image is it posting back at all? Are
there other columns in the same DG that aren't images set to sort that
actually work or is it off for all of them?
I've noticed that sometimes after changing a datagrid in a relatively
simple way that the DG seems to lose its link to the event handlers
I've defined for it.
You've probably already done this, but if you look in the designer view
properties Event section, is there still something in the SortCommand
slot?
Sometimes I've had to copy and paste the code I had defined in an event
handler for paging or ItemDataBound into the same function after I had
to readd it.
Let me know if that helps, but if it's not even close, and if this
isn't a completely absurd waste of time, can you add a new version of
the DG or copy the DG and and test it?
HTH.
EJD Guest
-
UJ #3
Re: Sorting when there's an image in the header doesn't seem to work....
If I put a header image in - it's acting like the OnSort isn't getting fired
(I've got a break point in the code on the first line of the routine.)
Without the header graphic, it stops at the break point.
Guess I'm going to have to do it all manually. Too bad.....
Thanks.
"EJD" <jpfoonja@hotmail.com> wrote in message
news:1116724015.329164.227630@f14g2000cwb.googlegr oups.com...> Hi Jeffrey,
>
> When you click on the header image is it posting back at all? Are
> there other columns in the same DG that aren't images set to sort that
> actually work or is it off for all of them?
>
> I've noticed that sometimes after changing a datagrid in a relatively
> simple way that the DG seems to lose its link to the event handlers
> I've defined for it.
>
> You've probably already done this, but if you look in the designer view
> properties Event section, is there still something in the SortCommand
> slot?
>
> Sometimes I've had to copy and paste the code I had defined in an event
> handler for paging or ItemDataBound into the same function after I had
> to readd it.
>
> Let me know if that helps, but if it's not even close, and if this
> isn't a completely absurd waste of time, can you add a new version of
> the DG or copy the DG and and test it?
>
> HTH.
>
UJ Guest



Reply With Quote

