This topic is locked

More... field termination

7/9/2004 4:23:12 PM
ASPRunnerPro General questions
A
alexander author

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=720&image=1&table=forumtopics' class='bbc_emoticon' alt=':ph34r:' /> Hi, for future releases, it might be useful to allow the user the change the number of available characters in the popup window for the "more..." link. Currently it is set to terminate at 800 characters. I use ASPRunner very often with databases that have memo fields, so I have to go into the ASPFunctions file and change the default setting almost on every build for the following line of code:
pwin.document.write('" & HTMLEncode(Replace(Replace(Mid(strValue,ind, ind+800),"'","\'"), vbcrlf, "
")) & "')
Now that I have the new version I have changed this in the template editor so it's set to a much higher number by default, but it would be nice to be able have the ability to change it during the build phase. Many thanks for a great tool.

Sergey Kornilov admin 7/12/2004

Alexander,
unfortunately this is Javascript limitation - you cannot put more than 900-1000 characters into a code that builds popup window.

A
alexander author 7/14/2004

Thanks for the reply. I have gone through my database looking for the largest fields I could find. I did find some fields that were 1300 characters without spaces, 1700 characters with spaces and javascript built the popup window with all the characters. So I don't don't seem to have a 1000 character limit.

Sergey Kornilov admin 7/15/2004

Alexander,
I'm going to change this in the next version of ASPRunnerPro. It will allow unlimited numbers of characters to be displayed on this popup.