Web Forms :: Dynamically Manage Pages Text And Images?

Jan 29, 2011

any code or control used to allow clients to manage their own articles/news (text + images) on their asp.net websites? I mean only text and images with exact structure, not modifying the whole layout.

View 4 Replies


Similar Messages:

Manage Parameters On Pages?

May 25, 2010

I've 2 pages and I've to send some ID from first to second page

I don't like to use sessione variables and cookies, now I've:

<asp:TemplateField ShowHeader="False" ItemStyle-Width="30">
<ItemTemplate>
<asp:Button ID="btnDetail" OnClick="btnDetail_Click" id1='<%# Eval("id1") %>' id2='<%# Eval("id2") %>' runat="Server" CausesValidation="False" Text="Dettaglio" Width="60px" />
</ItemTemplate>

[Code]....

Is there a solution for don't show parameters un browser URL and don't allow users to changes the ID and view other records?

View 2 Replies

Configuration :: How To Manage A Site With Lot Of Pages

Mar 25, 2011

looking for a better way to manage a web site project with a hundreds pages and controls. ¿Is it possible to put pages in separate .dll's? ¿Subdivide the project somehow? ¿Can IIS help in this purpose? ¿Is it possible to update part of the project without install the whole package?

View 2 Replies

State Management :: Best Way To Manage Session In An Application Which Has 100 Pages?

Aug 11, 2010

We have used Session heavily in our application, we have created core classes (which have many properties) and store objects of core class in the session.

1) What could be the best solution for reflector activity?

2) What could be the best way to manage session in an application which has 100 pages?

View 9 Replies

Web Forms ::enable Paging In The Text Box And Force It To Split The Text Between Multiple Pages?

Oct 22, 2010

i have a text box with a large amount of text is it possible to enable paging in the text box and force it to split the text between multiple pages

View 5 Replies

C# - Possible With ASP.NET Master Pages To Create Content Pages Dynamically?

Jan 22, 2010

Is it possible with ASP.NET Master Pages to create content pages dynamically?That is, I know we can create content dynamically, but the content pages themselves,can those be created programmatically? I want to give my users the ability to define new content pages (i.e. Categories: Sofas, Tables, Lamps, and add/delete as they see fit) through a management panel. The resulting content pages should have proper URL naming, so that they index properly.An example: http://www.example.com/products/Lamps/contentpage.aspx.Is there a demonstration of this somewhere I can view?

View 4 Replies

Web Forms :: Images Not Appearing On Secure Pages?

Feb 1, 2010

I'm using a masterpage on my website and the images appear correctly on all pages except the secure pages. The login page is formatted correctly, its just the page that is held in the secure folder. Both the header and footer images are either not appearing or are formatted incorrectly.

Code from the masterpage is below:

[Code]....

View 3 Replies

Web Forms :: Adding JS, CSS And Images In Master Pages?

Dec 2, 2010

I want to understand the concept of relative paths as I have been tired of trying out my luck with adding JS files in the master pages and making them to work consistently.The scenario I have studied is as follows.1. Master page is present in subfolder under root, script file is present under a separate subfolder under root.

+Root
+MasterPageFolder
+ContentPageFolder

[code]...

View 3 Replies

Security :: Forms Authentication On HTML Pages And Images?

Dec 23, 2010

I read that with IIS 7, ASP.NET has become an intrinsic part of IIS instead of an external ISAPI DLL. They say that the main reason for this change is that it's now possible to secure files that previously have not been handled by ASP.NET.

I want to check this out, so I have created a Forms authentication web site and added the following files to it:

Default.aspxLogin.aspxHtmlPage.html

Moreover, I have set the web.config to deny anonymous users and I have enabled Forms authentication in IIS.

Here's my problem:

While the ASPX page perfectly requires me to log in, the HTML page does not. It just yields error 401.2.

So my question is:

What did I do wrong? What is necessary to have HTML files (or images) secured using Forms authentication?

View 13 Replies

Web Forms :: Nested Master Pages / Images In The Master1 Disappeared

Mar 1, 2011

I am developinga site whichI want to contacin 2 'sub sites' - one for business clients and one for Home clients.

I therefore want to base each 'sub site' on a slightly different master page.

I have a base master calleed master1.master:

[Code]....

I then created a home.master using master1.master as its master:

[Code]....

BUT... on the web page all the contentplace holders are flagged as in error eg 'Could not fine "head" in the current master page or pages' where head is replaced by each placeholderIf I change the MasterPageFile= to point at master1.master the errors go away - but of course I dont have the differences in the page (at the moment just the menu)

I have tried the suggestions in http://forums.asp.net/t/1218788.aspx/2/10 but although the errors go away, the images in the Master1 left column don't get displayed and some of the css seems to disappear

View 2 Replies

Web Forms :: Master Page Having Images Design Is Not Applying To The Sub Pages?

Nov 3, 2010

I created a .master page having images,.css file. If i created I .aspx page then it displays normally (with master pages content) but if I create .aspx page inside some folder then design is not applying to the sub pages (Only for pages which are inside the folders)

View 7 Replies

Web Forms :: Get Text From Dynamically Created Number Of Text Boxes?

Jul 26, 2010

I am trying to figure out how to get the text value from each textbox on a page that has a dynamically created number of text boxes. I need to store that value in a database row. I guess what i need is to be able to store the text box values in a collection or arrary of some sort and then be able to use textbox(i).value or something of that nature. Not really sure where to begin.

View 5 Replies

Web Forms :: Textbox.text And Label.text Won't Change Dynamically?

Oct 20, 2010

I have an asp page with a textboxes, labels and other controls. I cannot get the .text to change in any of these controls. I click on button which I execute code that I expect to update the text but it doesn't work. Something like Textbox1.text = "Hello" Are there page level properties/settings I should look at? I am perplexed an looking for a place to start. I will provide more information as needed. I just don't know where to start.

View 3 Replies

Web Forms :: Idisplay The Images From Folders Dynamically?

Mar 17, 2010

how can i display the images from folders dynamically,i mean when i add it ,this code generated

<img id="1" src=//retreive from folder>

some one told me to write server.MapPath in the src

it is worked for the first image only,i want to display all the iamges from the folder

in the html tag <img.....>

View 5 Replies

Web Forms :: Showing Images In Menu Dynamically?

Jan 5, 2011

I have a menue which is being generated from a DB table by help of the following XSLT :

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="utf-8"/>

[Code]....

View 2 Replies

Pages Both Forms And MVC Dynamically Compiled?

Feb 17, 2011

There is a pattern in ASP.NET - whenever there is a piece of markup that generates code (like the .aspx/.ascx files in WebForms or .cshtml files in MVC3), these files are dynamically compiled at runtime. aspnet_compiler will produce another assembly for them, which references your code-behind assembly. This approach seems awkward to me and I don't understand why it hasn't been discontinued already. A much better approach (in my opinion) is like in Winforms or resource files - you have your .whatever file, and then there is .whatever.desginer.cs file. This designer file is created at runtime as you type. When you compile, the compiler doesn't care about your .whatever file, it just takes the .whatever.designer.cs file and produces a single solid assembly. This provides several benefits:

You can inherit your forms from each other, similar to windows forms;
You can always see the code that is being generated, possibly adjusting your markup to generate better code;
You can easily instantiate strongly typed instances of your forms;

The only benefit I can see from dynamic compilation is that You can change the markup file anytime and don't need to recompile the app.To be honest, I've often wanted for one of the first three benefits, but never for the last one. Recompiling the app to see your changes isn't that big of a deal. Especially since you have to do it anyway when working with code-behind, where the most of your time will be. And when you deliver your app to the client, you deliver it as a monolithic, precompiled block. When you update, you update everything, not just individual .aspx files - there's no point to. why is it like this? What am I missing?

View 2 Replies

Web Forms :: List View To Show Images Dynamically

Feb 15, 2010

I am working on List View to show Images dynamically. But my image folder is out side my Application folder(means on other drive or in same drive but not included in project ). Now if folder is inside project I know how to give Path , but outside Project it gives me problem in showing images.How to do that.in aspx

<asp:Image ID="ImgPic" runat="server" AlternateText='<%# Eval("CRGIMG_CARGO_IMAGE_PATH") %>'

View 6 Replies

Web Forms :: Dynamically Resize Images Using Image Handler

Feb 26, 2012

How it is possible to dynamically resize an image using an image handler nd web.config file?like i want each image uploaded by user to be resized to a specific size(aspect ratio) before being upload to server from database i also want that the resized image must not loose its Aspect ratio.

View 1 Replies

Web Forms :: Create Page Dynamically And Upload Images To Server?

Apr 11, 2010

I want to permit the website admin to create new page dynamically.as I want the admin toadd new page for events of company and upload it to the server without asking me to do this.then how to make the enduser (websitea dmin) to create page dynamically and add text to this page ,also upload this page to the hosting company server without asking for username and password of the hosting company server.After that I want to make the admin of website to upload images to the images forler which locaes on hosting company server.

View 1 Replies

Web Forms :: How To Change Images In Website Dynamically Through Admin Panel

Sep 18, 2013

i have designed a website in that i have image tool but the image must change  dynamically the changes is made in admin page.. by which tool we cn obtain that......

View 1 Replies

Forms Data Controls :: Dynamically Create New Tab Pages

Feb 8, 2010

Due to the size of content, I would like to dynamically create tab pages on a page dependant on user action. Also, I would like to have the ability to allow the user to close/dispose of the tab pages. Is there anyFREE user control that can do this?

View 1 Replies

Web Forms :: Setting Selected Theme To All Pages Dynamically?

Nov 15, 2010

i have a setup.aspx page where in i select the theme with buttons so if i click on a button the theme should reflect in all of my pages of project.so how can i write the code do i need to call it in each page.how can i set the initial page to do so.

View 7 Replies

Web Forms :: Add Watermark Text To Images In FormView

Sep 20, 2015

I want use this watermark: [URL] ....
 
But I want used in formview, how i change code in C# ?

and this is my FormView:

Asp.net

<asp:FormView ID="FormView1" runat="server" DataKeyNames="id"
DataSourceID="SqlDataSource1" DefaultMode="Insert" Width="1200px">
<InsertItemTemplate>
<table class="style1"><tr>
<td valign="top" class="style5">ناونیشان:</td>

[Code] ....

C#

protected void Upload(object sender, EventArgs e) {
string watermarkText = "© test.com";
//Get the file name.
string fileName = Path.GetFileNameWithoutExtension(FileUpload1.PostedFile.FileName) + ".png";
//Read the File into a Bitmap.
using (Bitmap bmp = new Bitmap(FileUpload1.PostedFile.InputStream, false))

[Code] .....

View 1 Replies

Web Forms :: Dynamically Create An Event For Button For Aspx Pages

Mar 8, 2011

I have 1 UserControl and 3 aspx pages.3 aspx pages are using this same UserControl.UserControl have button hen i clicked the button of usercontrol i want to save individual aspx form data. that should be dynamic

View 1 Replies

Web Forms :: Embed And Pass Values Dynamically In Aspx Pages?

Feb 8, 2011

I am using flow player for my online tutorial site, which passes values dynamically. i.e. i am passing course id values, each id values having separate videos. Here is my code:

<a href="Content/Video/2-record-ppt-presentation.mp4"
style="display:block;width:520px;height:330px" id="player"></a>
<script type="text/javascript" src="js/flowplayer-3.2.4.min.js"></script>
<script type="text/javascript" language="JavaScript">
flowplayer("player", "flowplayer-3.2.5.swf");
</script>

My requirement is i want to pass url values in 'href' dynamically.And i am using vb code behing in asp.net.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved