Customizing the Data provider

Stimulsoft Reports.WEB discussion
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Can you please send us a sample full project which reproduces the issue for analysis.

Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Hi,

here i have attached a sample page which is with a customized data provider.please have a look and let me knw wt i have done wrong

tnx

chaminda

DataProviderSample
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

Please try to add the following code in Page_Load:

Code: Select all

StiConfig.Services.Add(new WmsDataProvider.StiOracleODPAdapterService());
StiConfig.Services.Add(new WmsDataProvider.StiOracleODPDatabase());
Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Hi,

Tnx for the reply.it was very useful and i manage to use our own provider. :) but now i am getting an another error.I am creating a datasource in code and in designer i am going to edit it and add a new sql query and try to retrieve the columns.then i am getting an error.i have added screen shots and sample code as well.Hope you can help me @ this time too .

tnx in advanced !

chaminda

Source Code

Image

Image

Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Hi,

Hope you guys looking @ our issue.we have kind of stuck here.and desperately looking for your reply.

tnx

chaminda
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

Sorry for the delay with response. We need some additional time to check the issue.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

Please check modified project in attachment.

Thank you.
Attachments
1554.Modified.RAR
(66.67 KiB) Downloaded 246 times
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Hello,

Tnx a ton.it solve my problem.Will contact you if i got any issue as i go forward.My only concern is keeping the Dataprovider name.If we change the provider name('StiOracleODPDatabase') to our custom name it wont work ?

anyways thanks a lot for the help again

rgds,

Chaminda
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

Unfortunately, on current moment, for Web not possible set own name.

Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Hi, with your help we manage to develop our own data provider and tested it with existing dataproviders name.But our customer is not that happy about the name since we cant change it.He want to know that is there any plan of adding this feature to reportdesigner.web ? if yes how long it will take.

and cant we remove existing providers from report designer screen it self? something like user cant select anyother data providers other than one, which we have developed?

Hope to hear from you guys soon

tnx

Chaminda
Post Reply