CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Alternate color in grid form problem

Print topic Send  topic

Author Message
Gerrit Saey
Posted: 12/30/2003, 8:54 AM

Hello,

First off all I like to say your product is just great!

Noticed some delay in the beginning but found out that an enabled Norton
antivirus slows down the application (wizards).

Problem:

Alternating colors in grid appears to be alternating LINK field in grid as
well. The link does not work on alternated rows!

While NOT Recordset.EOF AND ShownRecords < PageSize
If RenderAltRow Then
LDETAIL.Value = Recordset.Fields("LDETAIL")
LDETAIL.Link = ""
LDETAIL.Parameters = CCAddParam(LDETAIL.Parameters,
"DEBITEUR", Recordset.Fields("LDETAIL_param1"))
LDETAIL.Page = "../Details/DebDetails.asp"
Alt_DEBITEUR.Value = Recordset.Fields("Alt_DEBITEUR")
Alt_WOONADRES.Value = Recordset.Fields("Alt_WOONADRES")
Alt_HUISNUMMER.Value =
Recordset.Fields("Alt_HUISNUMMER")
Alt_POSTCODE.Value = Recordset.Fields("Alt_POSTCODE")
Alt_STAD.Value = Recordset.Fields("Alt_STAD")
Alt_GEBOORTEDATUM.Value =
Recordset.Fields("Alt_GEBOORTEDATUM")
CCSEventResult = CCRaiseEvent(CCSEvents,
"BeforeShowRow", Me)
AltRowControls.Show
Else
NAAM.Value = Recordset.Fields("NAAM")
DEBITEUR.Value = Recordset.Fields("DEBITEUR")
WOONADRES.Value = Recordset.Fields("WOONADRES")
HUISNUMMER.Value = Recordset.Fields("HUISNUMMER")
POSTCODE.Value = Recordset.Fields("POSTCODE")
STAD.Value = Recordset.Fields("STAD")
GEBOORTEDATUM.Value = Recordset.Fields("GEBOORTEDATUM")
CCSEventResult = CCRaiseEvent(CCSEvents,
"BeforeShowRow", Me)
RowControls.Show
End If
RenderAltRow = NOT RenderAltRow
Recordset.MoveNext
ShownRecords = ShownRecords + 1
Wend
Navigator.SetDataSource Recordset
StaticControls.Show
End If






--
Kind regards,

Gerrit Saey
DGW Internet Solutions

Edd


Posts: 547
Posted: 12/30/2003, 1:44 PM

Gerrit,
Alternate rows are nice - but the implementation has always been a bit clumsy, ie two rows in the IDE.

You problem is probably that you have altered one line and not the other.
You have change both lines for it to work.

Yes Software who really know what they are doing Must have had a reason for the implementation but for me I gave up and stuck to single colored rows - a lot easier to maintain.


Regards


_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Carl Joshi
Posted: 12/31/2003, 5:27 PM

Hi

I found this on Rexdesign
http://www.rexdesign.com/ccs/kb.php?language_id=7&categ...=47&event_id=82

it's php but looks very simple so writing an asp equivalent should be easy.

"Edd" <Edd@forum.codecharge> wrote in message
news:63ff1f1a70bf8d@news.codecharge.com...
> Gerrit,
> Alternate rows are nice - but the implementation has always been a bit
clumsy, ie two rows in the IDE.
>
> You problem is probably that you have altered one line and not the other.
> You have change both lines for it to work.
>
> Yes Software who really know what they are doing Must have had a reason
for the implementation but for me I gave up and stuck to single colored
rows - a lot easier to maintain.
>
>
> Regards
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

David Harrison
Posted: 01/02/2004, 6:48 PM

It's in the newgroup.
"Carl Joshi" <carl_joshi_unspam@hotmail.com> wrote in message
news:bt4tks$l7q$1@news.codecharge.com...
> There seems to be some bugs left in the 2-way flow of messages
>
> I submitted the following reply in the newsgroup but it does not show in
the
> forum
>
> Can anybody see my previous answer ?
> 1- in the newsgroup
> 2- in the forum
>
>
> "Carl Joshi" <carl_joshi_unspam@hotmail.com> wrote in message
>news:bsutdv$ii4$1@news.codecharge.com...
> > Hi
> >
> > I found this on Rexdesign
> >
>
http://www.rexdesign.com/ccs/kb.php?language_id=7&categ...=47&event_id=82
> >
> > it's php but looks very simple so writing an asp equivalent should be
> easy.
> >
> > "Edd" <Edd@forum.codecharge> wrote in message
> >news:63ff1f1a70bf8d@news.codecharge.com...
> > > Gerrit,
> > > Alternate rows are nice - but the implementation has always been a bit
> > clumsy, ie two rows in the IDE.
> > >
> > > You problem is probably that you have altered one line and not the
> other.
> > > You have change both lines for it to work.
> > >
> > > Yes Software who really know what they are doing Must have had a
reason
> > for the implementation but for me I gave up and stuck to single colored
> > rows - a lot easier to maintain.
> > >
> > >
> > > Regards
> > >
> > >
> > > ---------------------------------------
> > > Sent from YesSoftware forum
> > > http://forums.codecharge.com/
> > >
> >
> >
>
>

Carl Joshi
Posted: 01/03/2004, 12:08 AM

There seems to be some bugs left in the 2-way flow of messages

I submitted the following reply in the newsgroup but it does not show in the
forum

Can anybody see my previous answer ?
1- in the newsgroup
2- in the forum


"Carl Joshi" <carl_joshi_unspam@hotmail.com> wrote in message
news:bsutdv$ii4$1@news.codecharge.com...
> Hi
>
> I found this on Rexdesign
>
http://www.rexdesign.com/ccs/kb.php?language_id=7&categ...=47&event_id=82
>
> it's php but looks very simple so writing an asp equivalent should be
easy.
>
> "Edd" <Edd@forum.codecharge> wrote in message
>news:63ff1f1a70bf8d@news.codecharge.com...
> > Gerrit,
> > Alternate rows are nice - but the implementation has always been a bit
> clumsy, ie two rows in the IDE.
> >
> > You problem is probably that you have altered one line and not the
other.
> > You have change both lines for it to work.
> >
> > Yes Software who really know what they are doing Must have had a reason
> for the implementation but for me I gave up and stuck to single colored
> rows - a lot easier to maintain.
> >
> >
> > Regards
> >
> >
> > ---------------------------------------
> > Sent from YesSoftware forum
> > http://forums.codecharge.com/
> >
>
>

Carl Joshi
Posted: 01/03/2004, 1:33 AM

Thanks Dave
I just registered at the forum and will test posting there to see if the
messages flow to here from there.

"David Harrison" <davidh@saltydog.net> wrote in message
news:bt4vpv$pmu$1@news.codecharge.com...
> It's in the newgroup.
> "Carl Joshi" <carl_joshi_unspam@hotmail.com> wrote in message
>news:bt4tks$l7q$1@news.codecharge.com...
> > There seems to be some bugs left in the 2-way flow of messages
> >
> > I submitted the following reply in the newsgroup but it does not show in
> the
> > forum
> >
> > Can anybody see my previous answer ?
> > 1- in the newsgroup
> > 2- in the forum
> >
> >
> > "Carl Joshi" <carl_joshi_unspam@hotmail.com> wrote in message
> >news:bsutdv$ii4$1@news.codecharge.com...
> > > Hi
> > >
> > > I found this on Rexdesign
> > >
> >
>
http://www.rexdesign.com/ccs/kb.php?language_id=7&categ...=47&event_id=82
> > >
> > > it's php but looks very simple so writing an asp equivalent should be
> > easy.
> > >
> > > "Edd" <Edd@forum.codecharge> wrote in message
> > >news:63ff1f1a70bf8d@news.codecharge.com...
> > > > Gerrit,
> > > > Alternate rows are nice - but the implementation has always been a
bit
> > > clumsy, ie two rows in the IDE.
> > > >
> > > > You problem is probably that you have altered one line and not the
> > other.
> > > > You have change both lines for it to work.
> > > >
> > > > Yes Software who really know what they are doing Must have had a
> reason
> > > for the implementation but for me I gave up and stuck to single
colored
> > > rows - a lot easier to maintain.
> > > >
> > > >
> > > > Regards
> > > >
> > > >
> > > > ---------------------------------------
> > > > Sent from YesSoftware forum
> > > > http://forums.codecharge.com/
> > > >
> > >
> > >
> >
> >
>
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.