Petr PALAS
|
Posted: 03/28/2001, 1:50 AM |
|
Hi,
I'm evaluating the version 1.1.16. I have found this strange difference:
I have added following code to the "Open" event:
response.write sOrder
When using ASP 2.0 + Templates, the output is shown at the beginning of the
page (before <HTML> tag), however when using ASP 2.0, it's shown correctly
just before the grid form.
It wouldn't be such a problem, because I can use ASP 2.0 (without
templates).
Actually I'm looking for some way to show the column name the grid is sorted
by. It would be fine if there were some possibility to place e.g. a sorting
icon next to the appropriate column caption like in Windows Explorer. I know
I can do this by editing the source code, but it's not the right way... Any
idea?
Thank you
Petr PALAS
palas@atlas.cz
|
|
|
Alexey Alexapolsky
|
Posted: 03/28/2001, 8:48 AM |
|
Petr ,
It's a correct behavour . Template version uses only one
response.write operator which outputs the *whole* page ,
that; why another response.write outputs text in the very beginning.
Templateless version doesn't "integral" output , it outputs items one
by one. If you don't want to change html manuaglly you can insert Javascript
in events that will change that HTML using DHTML model (td tag's innerHTML
property)
--
Regards,
Alexey
CodeCharge Support
Petr PALAS <palas@atlas.cz> wrote in message
news:99sc53$1c3$1@mail.tankhill.com...
> Hi,
>
> I'm evaluating the version 1.1.16. I have found this strange difference:
> I have added following code to the "Open" event:
>
> response.write sOrder
>
> When using ASP 2.0 + Templates, the output is shown at the beginning of
the
> page (before <HTML> tag), however when using ASP 2.0, it's shown correctly
> just before the grid form.
>
> It wouldn't be such a problem, because I can use ASP 2.0 (without
> templates).
>
> Actually I'm looking for some way to show the column name the grid is
sorted
> by. It would be fine if there were some possibility to place e.g. a
sorting
> icon next to the appropriate column caption like in Windows Explorer. I
know
> I can do this by editing the source code, but it's not the right way...
Any
> idea?
>
> Thank you
>
> Petr PALAS
>palas@atlas.cz
>
>
>
|
|
|
|