Use Of Impression In AdRotator?
Sep 7, 2010How can I use impression tag which is within advertisement
How it affects for different images...
How can I use impression tag which is within advertisement
How it affects for different images...
I have a directory of images that I can't allow to be accessed by a user guessing and directly typing in a correct image URL. This image must be available to my ASP.NET application if it decides the user is okay to see the image. My first thought on how to do this is to block a regular user from the directory but allow the user that ASP.NET uses to have access. I'm using IIS on a Windows 2003 server and developing in ASP.NET 2.0. I was under the impression that this setup would use the NetworkService account. We set permissions to only allow the NetworkService access to the directory. When we first tested this it seemed to work... the ASP.NET app could load the images into a page and direct URL typins of an image's location just prompted the user for a password. Later we noticed even the ASP.NET app pages were prompting for a password. We checked and the account being used was no longer the network service account but an anonymous user instead. I tried using impersonation and setting up another account with read access. The impersonation worked but access was not granted (maybe impersonation isn't good for this sort of thing?). I am stuck at this point with no clue why the account being used changed and everything we try failing. Does anyone know what might be going on or have a better solution to my original problem?
View 2 Replies I need to validate a digital signature which consists of thumb impression,signature and tokenid which is in pendrive with a columns of a table in sqlserver2008 database. I am using capicom.dll in asp.net 3.5 using c#.
I tried but I am unable to do it.
I have a problem using the AdRotator control with Internet Explorer 8. It works fine with Mozilla Firefox but with IE8 neither the Ad image appear nor the NavigateURL work.Here's an example of the Ad code:
<Ad>
<ImageUrl>
/Images2/googleAd.gif
</ImageUrl>
<NavigateUrl>
[Code] ....
But again it works fine with Mozilla Firefox. I can't use the Mozilla Firefox instead, I have to use IE8 for certain reasons.
I'm using Visual Studio 2008, VB Web application.
NavigateUrlField does not work as expected! Althrough it is assigned properly MyAdRotator.NavigateUrlField = "AdvertURL" the rendered code is missing href attribute of the link e.g. <a id="blahblah" target="_blank">etc. I tried with absolute paths/urls and relative as well but, it still shows up only the images properly while link is missing.
View 5 RepliesI'm new to asp.net and got stuck on page 124-126(Build ur own asp.net web site.). I just cannot link the Ads.xml to the AdRotator file.
View 16 RepliesMy adrotator binded to xml file cannot flash banners without refreshing aspx page Can u provide me some help please(code snippet)
View 1 RepliesI would need an ad rotator that shows different banners but that changes banner every 5 sec or so. Is it possible?The list of urlīs for the images comes from a database with linq2sql. Is there any other method, for example JQuery that someone could explain to me in case the ad rotator dont work?
View 2 RepliesI can plug a http url into the adrotator fine but everytime I plug an https url in it give me a "cannot find advertisement file or file is invalid. I know these https urls are fine - I've checked them out. .
[Code]....
I have a table in a sql db that is storing some images that will be display on a header of page.How can I display the images using the adrotator? I am working with C#. DB Table:HeadImgs
hID - ID
headImage - Image
published - varchar(5)
I am trying to load an AdRotator into my mast page. I have been able to get rid of the errors for it,
loaded the images into the images folder,
created the xml file which I just copied from microsoft website,
added the links for the images in the xml file.
Enabled it
set visibility to true
gave it height and width
Still nothing shows up when I run the site on the localhost. The page source doesnt mention anything of it either.Here is my code for the AdRotator: [Code]....
Here is my xml file: [Code]....
I want to implement the functionality like below.
1) Use AdRotator to view the Ads.
2) Change Ads on every 15 sec.
3) When user is on page where Ads are displayed now user clicks Back-Forward and come back to that page. This time if user come back within 15 sec. Same image will be displayed and no money will be diducted for that. So here I will need to show Image from cach.
4) Only once load images from server. For each other cycle to display images fetch it from cach.
I have difficulty in implementing Steps 3 & 4.
I am using asp.net with C#.
I have a adrotator which I am binding through the database. I have following column in database table
AdId
AdTitle
AlternateText
ImageUrl
NavigateUrl
[Code]....
displaying the text data on the right side of the adrotator, as it is only showing the data of the first record. might be because i have used Rows[0].
I was wondering, wether it is possible to use the Asp.net AdRotator to rotate through a List of links.
This would be my business class.
public class AdRotatorData
{
public String Name {get;set;}
public String NavigateURL {get;set;}
public String Description {get;set;}
}
I would like to bind a List to the AdRotator control and modify the output of the AdRotator control to display the Link rendering with the Name and NavigateUrl and some text from the Description property below.
Is such thing possible? The ComponentArt AdRotator component http://aspnetajax.componentart.com/control-specific/rotator/design/product_scroller/WebForm1.aspx provides such features, but I can't afford the entire control package.
I am using an AdRotator Control which bind with SQLDatasource and it working fine My query is how to assign a CompanyName which is field in my SQL Table on the Tooltip property of the AdRotator Control.
Below is code i have applied just wanted for tooltip
<asp:Timer ID="Timer1" Interval="3000" runat="server" />
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:AdRotator ID="AdRotator2"
runat="server"
DataSourceID="SqlAdsRightImage"
ImageUrlField="ImageUrl"
NavigateUrlField = "NavigateUrl"
AlternateTextField = "AlternateText"
ToolTip = ? />
</contenttemplate>
<triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick"></asp:AsyncPostBackTrigger>
</triggers>
</asp:UpdatePanel>
<asp:SqlDataSource ID="SqlAdsRightImage" runat="server" ConnectionString="<%$ ConnectionStrings:sportcal2007ConnectionString %>"
SelectCommand="sp_AdsRightImage" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
If I am going to use the AdRotator with Database and set the properties from the table fields, how can I set the impression?
View 5 RepliesI am making a news portal ,there i want to display the different ad of different size using adrotator ,dynamically from database.
View 1 RepliesI'm making a website that requires ads being repeated down the length of a page with dynamic length. I want the ads to be displayed down the entire length of the page, but I won't know that length until after the data has been displayed. Is there built in functionality for this in .NET? If not, does anyone see any workarounds I could employ to do this for me?
View 1 RepliesIs there a way to use two adrotators controls on one page and stop the same advert appearing at the same time in both controls?
I have the following but it doesn't work:
protected void AdRotator1_DataBound(object sender, EventArgs e)
{
if (AdRotator1 == AdRotator)
AdRotator1.DataBind();
}
I am using ASP.NET 2.0 and C#. I am not using AJAX.
I have added an Adrotator in my page. I want to refresh the adrotator after every ten seconds. Currently when the adrotator refreshes, the page is also getting refreshed.
How to refresh the adrotator without refreshing the complete page and not using Ajax?
I have implemented a adrotator to display random images using ajax. I also need to display another image at left side corner on the adrotator image continously.
View 4 RepliesHow do I implement partial page caching with an AdRotator control? I know it's supposed to do it automatically, but I'm using the AdCreated event to handle stats, and this seems to cause the ad to be cached along with the rest of the page.
View 4 RepliesI want the AdRotator control functionality where content pages on page load but instead of using images I want to use html and other controls like textboxes and buttons. Is this possible?
View 1 Replieshow to use adrotaror on a page the pictures reside on Database
View 1 Repliescan the images displayed through the AdRotator control be changed automatically without using refresh button?
View 2 Replies