defiantclass1
Posts: 24
|
| Posted: 01/12/2006, 7:51 AM |
|
Hello,
I added a link to an existing Grid form. This link is visable when there are no records to display. When clicked it is supposed to open another form which is a Record form so a new record can be created.
When clicked, I receive error:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
Not sure what this is about. I have other links and buttons that do open this same Record form. However, in most cases, it is when a record does exist and I am entering the record to edit, not create a new one.
Any thoughts?
Thanks as always
|
 |
 |
peterr
Posts: 5971
|
| Posted: 01/12/2006, 10:18 PM |
|
Looks like that link is pointing to a wrong URL (probably a non-existing one) instead of some specific page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
defiantclass1
Posts: 24
|
| Posted: 01/13/2006, 6:01 AM |
|
Thanks Peter. I wish that was all it was. I just made the link and I am certain it is set to go to a valid page. I changed the page to another one, just to test, and it did not go there either.
This link is in a grid which has another link set to go to the same page. Could that be the problem? The reason I have 2 links in the same grid going to the same page is, it is a listing of names. If the name the user wants is in the list, they can click on the LastName (which is a link) and open that record. If no names are in the list, they could click the "AddNew" link to open the same page to an empty record to add the new person.
Thank you.
|
 |
 |
peterr
Posts: 5971
|
| Posted: 01/13/2006, 10:59 AM |
|
Well, when I wrote that "link is pointing to a wrong URL" I meant that you probably should verify the URL, not the link in CCS. So basically once you see that error, what is the URL in the Web browser? Is that URL valid?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
defiantclass1
Posts: 24
|
| Posted: 01/13/2006, 11:57 AM |
|
Humm, well, you're right.
When I click the link, I get:
http://localhost/NewProject1/
What I expect to see is:
http://localhost/NewProject1/FinancialHistory5.asp
"FinancialHistory5.asp" being the name of the page which is in the Href property.
But I know "FinancialHistory5.asp" is working page as I have other links that open it.
Thanks again.
|
 |
 |
peterr
Posts: 5971
|
| Posted: 01/13/2006, 1:09 PM |
|
OK, so now it is more clear that the link is partially working, but not going to the right page. So now I would review the link properties in detail. Or maybe even try deleting the link and create a new one, just to make sure everything will be configured "cleanly".
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
defiantclass1
Posts: 24
|
| Posted: 01/16/2006, 7:36 AM |
|
Peter,
I did as you suggested But my results are unchanged. This page is built on a Grid. The link is included in the bottm empty row.
The properties are:
Name: Link1
Control Source Type: Database Column
Control Source: (empty)
Data Type: Text
Format: (empty)
Default Value: (Empty)
Content: Text
Href Type: Page
Href Source: FinancialHistory5.ccp
Convert URL To: None
Remove Parameters: (empty)
Preserve Parameters: GET
DBFormat: (empty)
|
 |
 |
Rene S
|
| Posted: 01/16/2006, 9:00 AM |
|
Hi,
Change Href Source to: FinancialHistory5.asp (codecharge gives you the .ccp but you need to change that to .asp)
Hope this helps,
Rene
|
|
|
 |
defiantclass1
Posts: 24
|
| Posted: 01/16/2006, 10:29 AM |
|
Thanks Rene,
Although that didn't change it. All the other links I have are set to go to .ccp pages and they all work fine.
When I hit the ... button in that field it bring me to the Href window in which can only select a .ccp type page. So I manually typed .asp. But none the less, I'm still getting the same reult:
http://localhost/NewProject1/
in the address
|
 |
 |
defiantclass1
Posts: 24
|
| Posted: 01/16/2006, 10:39 AM |
|
I created a new page with nothing on it but a link to the same page I've been trying to get to. It works just fine from a regular blank page. This leads me to think there is something about a Grid Form that I am not aware of. Or perhaps the specific area of the Grid Form that I don't know about.
Is there anything about a Grid Form that would prohibit me from creating a link to another page?
Thanks again
|
 |
 |
peterr
Posts: 5971
|
| Posted: 01/16/2006, 1:40 PM |
|
The "FinancialHistory5.ccp" should work as well. But in your case something strange is going on. I suspect that maybe you are placing the link in some "special" section of the grid, for example the section displayed only when no records are found. Maybe try moving the link to any other place in the grid, for example next to some label, just to see if it will work there. If it does then you may have to be careful about where you are placing the link. You can also look at the HTML and check if you are not placing it within the "<!-- BEGIN NoRecords -->"- "<!-- END NoRecords --> section. It may not work in there.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |