I am quite new to the ASP scene. I want to display the results of a
recordset into a third party grid control called VSFlexgrid. I've prepared
one asp page which queries an Access database and holds the object in which
the results should be writte. I've tried two options :
1. The grid active-X component was instantated within the html part as :
classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
The problem is that when I refer to the grid object within the scripting
part, such as' Flex.Rows', the browser reports ' runtime error 424 : object
required'. The object is rendered when browsing the page, however it is not
accessable within any scripting. That's why I decided to configure the
object to run at the server by my second approach :
2. The grid active-X component was instantated within the html part and the
tag RUNAT=SERVER was added.
RUNAT=SERVER
classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
Now the browser doesn't fire an error message. I am able to access the
properties of the control. However, the grid is not shown in the browser at
all!
I guess that I am doing something wrong basically. Any suggestions what to
do ?
regards,
Oscar
Re: Can"t access an Active-X control within ASP page.
am 22.05.2005 23:23:25 von John Blessing
"Oscar" wrote in message
news:ev9PJIxXFHA.2688@TK2MSFTNGP10.phx.gbl...
>I am quite new to the ASP scene. I want to display the results of a
>recordset into a third party grid control called VSFlexgrid. I've prepared
>one asp page which queries an Access database and holds the object in which
>the results should be writte. I've tried two options :
>
> 1. The grid active-X component was instantated within the html part as :
>
> classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
>
> The problem is that when I refer to the grid object within the scripting
> part, such as' Flex.Rows', the browser reports ' runtime error 424 :
> object required'. The object is rendered when browsing the page, however
> it is not accessable within any scripting. That's why I decided to
> configure the object to run at the server by my second approach :
>
> 2. The grid active-X component was instantated within the html part and
> the tag RUNAT=SERVER was added.
>
> RUNAT=SERVER
> classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
>
> Now the browser doesn't fire an error message. I am able to access the
> properties of the control. However, the grid is not shown in the browser
> at all!
>
> I guess that I am doing something wrong basically. Any suggestions what to
> do ?
>
> regards,
> Oscar
>
I've not used this grid control myself, but ...
Situation 1. The grid is being instantiated in html on the client. Asp is
processed at the server then sends html to the client. So, you won't be able
to access it in .asp as it doesn't exist yet.
Situation 2. You have instantiated it in asp, but the component is not
designed to be run in .asp . For this to work, there would have to be some
method of the grid control that you could call to write out the results to
html .
--
John Blessing
http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
Re: Can"t access an Active-X control within ASP page.
am 23.05.2005 01:00:50 von Oscar
Hi John, thanks for your reply.
Does this mean that method 1 never would be a solution or is there a way to
solve that ?
Regarding method two, I only know that the grid has a feature to save the
whole grid in html format.
Oscar
"John Blessing" schreef in bericht
news:hL6ke.11514$X86.8925@newsfe2-gui.ntli.net...
> "Oscar" wrote in message
> news:ev9PJIxXFHA.2688@TK2MSFTNGP10.phx.gbl...
>>I am quite new to the ASP scene. I want to display the results of a
>>recordset into a third party grid control called VSFlexgrid. I've prepared
>>one asp page which queries an Access database and holds the object in
>>which the results should be writte. I've tried two options :
>>
>> 1. The grid active-X component was instantated within the html part as :
>>
>> classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
>>
>> The problem is that when I refer to the grid object within the scripting
>> part, such as' Flex.Rows', the browser reports ' runtime error 424 :
>> object required'. The object is rendered when browsing the page, however
>> it is not accessable within any scripting. That's why I decided to
>> configure the object to run at the server by my second approach :
>>
>> 2. The grid active-X component was instantated within the html part and
>> the tag RUNAT=SERVER was added.
>>
>> RUNAT=SERVER
>> classid=clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1>
>>
>> Now the browser doesn't fire an error message. I am able to access the
>> properties of the control. However, the grid is not shown in the browser
>> at all!
>>
>> I guess that I am doing something wrong basically. Any suggestions what
>> to do ?
>>
>> regards,
>> Oscar
>>
> I've not used this grid control myself, but ...
>
> Situation 1. The grid is being instantiated in html on the client. Asp is
> processed at the server then sends html to the client. So, you won't be
> able to access it in .asp as it doesn't exist yet.
>
> Situation 2. You have instantiated it in asp, but the component is not
> designed to be run in .asp . For this to work, there would have to be some
> method of the grid control that you could call to write out the results to
> html .
>
>
> --
> John Blessing
>
> http://www.LbeHelpdesk.com - Help Desk software priced to suit all
> businesses
> http://www.room-booking-software.com - Schedule rooms & equipment bookings
> for your meeting/class over the web.
> http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
>
Re: Can"t access an Active-X control within ASP page.
am 23.05.2005 09:09:00 von John Blessing
"Oscar" wrote in message
news:eR%23HYIyXFHA.712@TK2MSFTNGP14.phx.gbl...
> Hi John, thanks for your reply.
>
> Does this mean that method 1 never would be a solution or is there a way
> to solve that ?
> Regarding method two, I only know that the grid has a feature to save the
> whole grid in html format.
>
> Oscar
>
Method 1 runs in the browser. Most (sensible) people won't allow activex
controls to run in their browser. Either way, you can't get at it with .asp
by then.
Method 2 - I guess it depends if you can call a method something like
response.write grid.outputhtml()
I suspect this grid is meant to be used by VB programmers. Do a googlel for
..asp grid control instead
--
John Blessing
http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
Re: Can"t access an Active-X control within ASP page.
am 23.05.2005 10:28:39 von Oscar
Hi John,
since the website is build for restricted users (for entering of weekly
timesheets) there is no problem in such that people won't allow the Active-X
controls to run in their browser.
I've been able to do the implementation within a not-ASP configuration, but
I am afraid for time-consuming disadvantages. Meanwhile I'll look for an ASP
grid.
regards,
Oscar
"John Blessing" schreef in bericht
news:gkfke.13661$f5.3166@newsfe6-win.ntli.net...
>
>
> "Oscar" wrote in message
> news:eR%23HYIyXFHA.712@TK2MSFTNGP14.phx.gbl...
>> Hi John, thanks for your reply.
>>
>> Does this mean that method 1 never would be a solution or is there a way
>> to solve that ?
>> Regarding method two, I only know that the grid has a feature to save the
>> whole grid in html format.
>>
>> Oscar
>>
> Method 1 runs in the browser. Most (sensible) people won't allow activex
> controls to run in their browser. Either way, you can't get at it with
> .asp by then.
>
> Method 2 - I guess it depends if you can call a method something like
>
> response.write grid.outputhtml()
>
> I suspect this grid is meant to be used by VB programmers. Do a googlel
> for .asp grid control instead
>
> --
> John Blessing
>
> http://www.LbeHelpdesk.com - Help Desk software priced to suit all
> businesses
> http://www.room-booking-software.com - Schedule rooms & equipment bookings
> for your meeting/class over the web.
> http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
>