Web Forms :: How To Start A Content Management Server For My BackOffice In ASPX
Mar 7, 2010I would like to start a Content Management Server and i need sites, tutorials.
View 5 RepliesI would like to start a Content Management Server and i need sites, tutorials.
View 5 RepliesThis below code i have used in my aspx page for file download.
Response.AppendHeader("content-disposition", "attachment; filename="" + emailAttachment.FileName + "";");
Response.ContentType = "application/octet-stream";
Response.OutputStream.Write(emailAttachment.Data, 0, emailAttachment.Data.Length);
Response.End();
This block of code display Download file Dialog for Open or Save the attached file.It's working fine in Mozila Firefox and IE8 but doesn't display Download file Dialog box in IE 7
I'm using this Ajax script [URL] to load content from an aspx page on another server than the page calling the content. So far I've learned that this is a no go. The problem seems to be that when using an absolute link to content the script fails as apposed to using a relative link.
I've searched the web for about 10 hours now, and I still haven't found what I'm looking for.
I have hosted a site on server. Problem is, content of a particular .aspx file (index.aspx/content.aspx) is periodically replaced by clinet side HTML code(the source we see in browser by right click>view source). What can be reason behind this?
View 2 RepliesWhat is the right approach when users (authenticated domain admins) should be able to start batch jobs (usually exe files) from an IIS (7.x) aspx (c#) page? This is an intranet site. The batch jobs have to run on the web server as Domain Admins. The website pool is executed by network service or some similar restricted account in AD.
Approaches I can think of (and their disadvantages):
1. Start exe file with System.Diagnostics.Process.Start with another account. This feature is disabled in IIS 7.x, how do I allow it?
2. Create a sheduled task and call scheduled task-api. This unmanaged dll is giving VS compiler warnings because it's unsafe to call from managed code.
3. I suppose there's a better approach, because the previous suggestions doesn't appear safe or robust.
I want to write own control which can contain other. And I want to define content of the control in the .aspx file where the control is defined. I have written such control. But now I have issue with ViewState of inner controls of my control. The following samle illustrates the issue: I defined two asp:DropDownList ID="ddl1" and ID="ddl2" One of them is inside of my control and other is outside. When posback is occurred asp:DropDownList ID="ddl1 loses state and becomes empty. How to say ASP.net to store state of inner controls defined by this way?
MyControl.ascx:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyControl.ascx.cs" Inherits="DynamicControls.Controls.MyControl" %>
<div class="box"> [code]....
If i am using Session management in my asp.net website, when does the session start, i.e. will the session start as soon as any user hits the website or does the session start only when we put some data into the Session?
View 3 RepliesAs per i know session start when application start and i want to session should be start when any user login that application but it not happening.
I want to get date and time both when user login and logout that application in Asp.net. please help me how can i manage this.
I am running Visual Studio 2010 (as Admin), IIS 7 on Windows 7 x64. I am able to run the ASP.NET web site in IIS 7 without debugging just fine, but when I press F5 to debug it, I get: Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging. Unfortunately the help link is not helping me much and leads down a heck of a large tree of things. I checked the following:
Security requirements — I don't recall having to do anything special before. The worker process in IIS7 is w3wp.exe. It says that if it's running as ASPNET or NETWORK SERVICE I must have Administrator privileges to debug it. How do I find out if I need to change something here? Web site Property Pages > Start Options > Debuggers > ASP.NET is checked. Use custom server is set to the URL of the site (which works fine without debugging). Debugging is enabled in web.config. Application is using ASP.NET 3.5 (I want to move to 4.0 eventually but I have some migration to deal with). Application pool: Classing .NET AppPool (also tried DefaultAppPool). Surely it shouldn't be that hard to install IIS, VS, create a web site, and start testing it?
I want to be able to detect from C# code how long ago a user logged into the site. I need to take a particular action if it is their first time logging in. IsNewSession does not work, unfortunately.
View 2 RepliesI've scoured through the Forums about how 2 windows can interact with each other. There had been a lot of solutions involving parent-child windows, or modal pop-up wiows. However, my problem involves 2 aspx windows that show data from the same datasource, but should be able to update the data from either window, and after saving in either window shows the updated data
View 2 RepliesI have done a web appllication and when run simultaneously from different locations, the one that is started first would use the one that is started late's session variable and datatable contents. This is an exams web app and pageone.aspx results should never be used for pagetwo.aspx's results, because they are not the same questions.
What can I do to prevent this from happening. I am desperate, people are standing by to do exams and time is not on my side.
Here is example of what I need:
default.aspx.vb on load:
Dim strA as String = "good title"
default.aspx
<a class='colorboxLogin_aspx' href="zamjenaslike.aspx" title="*****here should be value of strA******">
in old fashion .asp i jused <% =strA%> and it was great, what is alternative here?
I need to run a exe file in server. I use proccess.start to do this. When the process.start finish then the session is lose and I lose the user with I login.
View 1 RepliesSessionStateModule raises a Start event with a new seesion. Is there a pointer to "deep dive" information?
In particular,
(1) I want to preserve Session state information across a postback to external (web-based) services in my VS 2008 development environment, but am finding that my code is triggering the creation of a new session.
(2) I am using IIS to host WCF Service calls, and it appears that many of those calls trigger the creation of a session. I would like to dive deeper into this, and try to manage (reduce) the number of sessions that are created and their behavior.
I have to develop a web application (planning to do it with asp).The customer want to have the access to manage the website content without need to contact the developper for that easy task (adding text and pictures essentially based on user authentication).Is there any mean to do it rapidly ?
I have considered to use CMS (Sitefinity , DNN ..) to have the content managemnet capbility and to have the out of box modules , but I still fear the fact I will not have total control to see the all code done by the CMS. For exemple , you cannot (I am may be wrong ) add a .aspx form with a code behind in Sitefinity 4.0,
Is there any modules that could be used in .net (may be web parts : I am still reading about it) ?
I want to insitate a class instance in the session start of the application. code below
if (Session["user"] != null)
Session["user"] = new user();
I have created the "user" class as a separte dll and referenced and imported the namespace.But still i get 'are u missing assembly reference' it is not problem in 1.1 but seems has a problem in 2.0
can every body send me project or code of content management system built in asp.netlease send me project or link for free download with source code
View 1 RepliesIm using vb.net, sql2005, ajax, .net3.5. Ok first off, yes i know there are some great CMS applications available already, dot.net nuke, kentico, umbraco, etc etc. However my problem is that i cant bring an external open source app into our organisation but i could develop one.
Im doing this to allow us to move all our HTML content, (Static pages) into a system that provides some sort of basic workflow and content management, im confident on doing this, my problem however is that ive been asked to store the data in XML.
Whilst i know that i can store the XML inside my database, and then read it out and transform im not sure how to do this when it comes to how authors create the pages - What i mean is normally i would give the author an HTML editor to add content, but this isnt going to work if im writing to XML, and also, what happens if they add an table inside the HTML editor
Has anyone every seen this done, is it even possible, or should we just look to use HTML stored inside the DB?
I have a deployed version of a website(published one) that was made in Framework 2.0.
currently I am working with .net framework 3.5.
Now the problem is that, I need the contents of all the .ASPX page of the whole website.
From the study through the stuffs on internet, I got to know that the website was published with "Allow this precompiled site to be updatable" unselected.
So in all .aspx page i get the message "This is a marker file generated by the precompilation tool, and should not be deleted! "
What is the easiest way to make a tooltip with an aspx content form?
View 3 RepliesBelow I have some code that I am using to give the user the option to save or open a file. However, for whatever reason, when it does this it appends everything that is in my .aspx page to the end of my file. I've no clue why this is happening or how to fix.
[Code]....
I am designing a content aspx page in dreamweaver but when when I run it in Visual Studio, the codes inserted by DW makes error. I used a AP Div then all errors appear. What should I do.:Here's me aspx:
[Code]....
I've tried to put the style tag inside the content tag but it is also not allowed. Can someone help me?. I need to design my created aspx page.
How to set the startup page in asp.net, asp.net taking default.aspx as first page but I want to set the index.aspx instead of default.aspx in server ...
View 1 RepliesBelow are an XML file, as the DataSource, and an aspx code with the TreeView and Menu controls.
Why the TreeView and Menu controls can not display the "1999" and "2000" for the <StarWars>
tag and <JurassicPark> tag?
XML file
<movies>
<Adventure
>
<StarWars>1999</StarWars>
<JurassicPark>2000</JurassicPark>
<IndependenceDay/></Adventure
>
<Animation
>
<IceAge/><Shrek/></Animation>
<Drama>
<Titanic/><Ghost/><ForrestGump/></Drama>
<Horrer>
<Jawa/><TheRing/></Horrer><movies>
aspx
code
<asp:TreeView
id="CheckBoxList1"
DataSourceId="srcMovies"
Runat="server"
/>
<asp:Menu
id="BulletedList1"
DataSourceId="srcMovies"
Runat="server"
/>