i'm designing as commercial website, in that i want to display ads in each pages what i want do to display the ads, if i use adrotator means i can display only one ad, i want to display more than one ad at a time also i want to collect different for different position , that too ads may be in different sizes i don know how to do, how i want to achieve this,
if users press the browser's back button to reach the prior page..then page should display a message like "web page expired" in asp.net can i use javascript for this?
for example..
there are 4 pages in web sites. 1,2 and 3 can be back. but when the 4th page run then 4th page can not be back... when the user press browser's back button , diaplay ma message "weg page expired".
I have seen numerous posts with this problem, however none of the solutions have worked for me. I am using asp.net 4.0 forms authentication. I have the following set in my config file.
The login.aspx page uses a master page and styles in a stylesheet located in a folder off the root directory called 'Styles'. I have also add the following to my config file.
When the page displays, the login page displays with the master page content, however all of the styles are missing. When I embed styles into the master page the styles show properly, so I know the problem is that the styles are not being accessed from the file. how I can authorize access to the stylesheet?
I have a master page with a partial view. I want the partial view to display only when viewing a specific page/action. Is there any conditional I can wrap around the partial view that checks for the page/action I'm viewing?
there's a label control on the master page..if its value is "Value1" ,I want this CSS Sprite to display on my webform..if the Value is "Value2"..the CSS sprite should use some different image..just the image needs to be changed ..nothing else in that Sprite..
I found out that I can use "FindControl" method to find out what value that Label Control of Master Page's currently got..
Now how do I change that image on the banner ?? How do I go about it ? Also that CSS Sprite now is a user control named "myBanner.ascx"(earlier was an aspx file)..Now do I need to make 2 diff usercontrols or I can implement some logic in one usercontrol itself ?
Should I make 2 copies of this "myBanner.ascx" with JUST the "image name" changed in its CSS ?
What I want is ONE banner which has been made using CSS Sprite ..Now if the "Label Control's "value in the master page is "Value1" then the image to be used on that banner is "IMAGE1" else if "Label Control's" value is "Value2" then "IMAGE2" should be used in that sprite..
The master page lies in Root/MasterPages/masterpage.master
Now this image is displayed in a content page which is in Root/SomeDir/ContentPage.aspx, but it doesn't work in a content page which is in Root/SomeDir1/SomeDir2/ContentPage.aspx. Why?
I set my web.config with a custom error for 404 and 403 response but when I try to navigate my page (not exist page). It displays the default IIS6 404 page instead of my custom page...
What is the cleanest way to display a web page inside another web page. Currently I am using an I-Frame. But are there any current controls in ASP.NET to do this efficiently?
I wanted to know peoples thoughts on ways of achieving the following:
1.I have a products page which is in a datalist.When i click the page how can i get the page data to display in a new page with all product details so customers can see everything about the product
2.Also i currently have an upload facility which allows admin users to upload products with descriptions and other info.But i have to add a colours option.My problem is how can i store this information for the product as there may be several colours available for the product.Would i have to create fields for different colours in the products table?
also how could i attach images for each colours when selected from dropdown? e.g when customer selects blue colour it will display the image attached to the blue product?
I want to display a page (in some cases) without displaying the contents of that page's master page. This is for AJAX related purposes. How can I do that?
I need to read data in DataGridView from page1.aspx, then these datas are display using label in another page as page2.aspx. I think here QueryString concept may be used in DataGridView.But i cant remember that coding now. i am new for asp.net how to get these data in another web page.
I have a web user control with DataList control in it. In my .aspx page, I have a report header, an empty panel as a place holder, a report footer.In my .aspx.vb file, I'll loop through a list of departments. Within each department, I'll load a label to display the department name and the user control for the data, and add both the label and user control to the panel. So there are two variables: the number of departments and the number of records in a user control.
Now I need to display the current page number and the total page number in the report footer. Is it doable? How? I'm thinking of this approach: declare a page variable count, count the number of department name labels and the number of records in a user control. When the total count reaches a number, such as 20, I'll break the page. This way, I can get the the page current number and the total number of pages. But how to add a page break to an asp.net page?
I want to have two pages/views(?) A and B. When a user sees page A, I want to display a section of the B page inside the A page. When the user sees page B, he should see the regular B page.
i want to display a page in page.example:i have Student Registration page. when ever i click on save button.that Record should be save ,apart from that another page should be display in the same.
i want to display the pop ups in asp.net page like how the stack over flow show the pop ups on the top of the site (you get the new answer for the question like that in a orange color) how can i write the code is there any free source code or any reference.
I login start time, end time, user name for a certain # of processes which are run in sequence. What is the best way to display this timeline on the web page? For a basic display I can think of displaying them on a grid and color code them for the ones completed etc. Anyone having a better suggestion or any idea of .NET/Telerik control?
I posted this on the vb.net forum and was told I should post it here.
What I'm trying to do should be simple but it hasn't been for me. I have a page that produces several Crystal reports. It has a button for each type. I use the button's onclick feature to process that particular report.
What I would like to do is show an 'in process' page while the report is processing (some of them take a minute or so) and then come back to the choices page once the report is complete.
If I place the code to make the 'in process' page visible in the onclick, then I don't see the 'in process' page until the report is completed. I've tried setting a session variable and redirecting back to the page and haven't been successful.
Here is the html:
[Code]....
I know I can simply call another page (like I did in the old asp app) but I shouldn't have to do that in .net.
I'm uploading images to a folder and I want to display each new image on a web page every time it is saved in the folder.I can display the initial image, which is already in the folder, and I can also detect when a new image is saved into the folder but I don't know how to display the new images.Here's the code:
public partial class _Default : System.Web.UI.Page { string DirectoryPath = "C:\Users\Desktop\PhotoUpload\Uploads\"; [code]....
i have 2 servers one is a 2003 and one is 2008R1. I no longer use 2003 but still do testing on it, my issue is:Have asp files that list a directory on my web page for users to download files and it works great in 2003. But when i try it on 2008 (i can download txt) but i cannot download anything else I get a "cannot not display web page". I'm not sure if its a security issue on the server, the only difference is i have the wwwroot on the D: in 2008 and on the C: on 2003. Again i can download txt files but nothing else(on 2008R1).