For security reason ,
How to encrypt , aspx page code in application ?
Any Other suggestion where we can encrypt in our application, encryption can be done in application like con
View Complete Post
I have a classic asp web application. I am trying to add an aspx(C#) page to the existing asp application.
The existing asp pages have include pages for header and footer. How to add the classic asp include files in aspx page.
Also, How to deploy the aspx page in the existing classic asp web application.
I have an aspx page for a user to fire off a mail merge. I'd like them to choose a .html file from a document library in Sharepoint, then choose a contact list, and then have it fire off the mail merge.
The mail merge part is done and works from a console application with the .html file location hardcoded, and the contact list hard coded.
What I need is a way to add a documents browser onto the .aspx page. I can't see any obvious control I can drop on to achieve this though.
Ideally I would drop on a <Sharepoint:DocumentsBrowser> control, point it at a given ListId in sharepoint, and at runtime Sharepoint would display a nice shared documents type documents browser. Is this possible?
We are migrating ASP application into ASP.Net. We are migrating module by module.
In our application we are using Application variable in global.asax. like below,
Application("ABC") = "Not Avail."
Application("DEF") = "Not Avail."
One of the existing ASP page assigning the value for this Application variable like below,
Application("ABC") = "ABC"
Application("DEF") = "DEF"
The newly assigned value for this Application variables only coming in .asp pages not in .aspx pages.
Is there any limitation in Application variables like .asp code application assignment will not reflect in .aspx pages?
My organization uses a CMD file to install updated files for a major enterprise application. Currently, we send out an email to users with a link to the file and instructions to run it, BUT inevitably users don't update their machines until their in field and try to start the app.
We're now liking the idea of using an ASPX page to prompt the users to run the updates and to capture the fact that the updates have been run. I realize that we can't capture the success or failure of the update. But we'd like to capture the user accessed the page.
Is it possible to embed into the markup for the page a link to the file on the local intranet that the users can click on to run the file?
The user accessing the page would capture that they did just that. We'd deal with wether or not the update was actually installed or if it failed later with them directly.
I've a problem with my Visual Studio.
On the 13th of August 2010 i installed a Windows update on my vista sp2 pc. For this date my Visual Studio 2008 sp 1 always has closed itself by opening an aspx-page in designer view. There is no error message just closing the window. I restored a backup of my windows from the time before updating it and it helped, i could open aspx pages in the design view till the update has been installed again automatically after rebooting the pc. I can't disable windows updates, cause it's my pc at work and safety is very important. I hope you could help me out of this disaster.
I'm developing a web-site, that uses SWFUpload for
multiple files upload to the server. Page, that uploades files, is
accessable only to registered user. Authentication is done via
web-forms (authentication mode="Forms" in Web.config). Flash uploades
files to special web page - upload.aspx. In IE everything works great,
but Flash player in non-IE browser (in Firefox, for example) does not
send any cookies to upload.aspx. Because of it no sesion and no
authentication information is available in this page.
I can pass
all the information, necessary for uploading, in GET-parameters, which
upload.aspx recieve. But this is a serious security hole and I don't
want to expose session information. I can pass session identifier in
GET-request. But the question is the following: how can I restore
session information from the session identifier? How can I make
HttpContext.Current.User point to currently logged in user in this case?
I have classes in App_Code:Connection.cs, ClientData.cs ....I have a folder Authenticated within it have an aspx page Client.aspxHow do I access the page through Client.aspx ClientData.cs the class, because there is a mistake for me to define the class as I do, please help me!
I have a dynamic accordion on a page. Set its datasource to an
object of paged data source.The user control is in the accordions
content template. When i was writing code the properties were showing
but after giving the values of databases as
but the values shows null, these properties are shown as textboxes text property by user control.
MoreOver when I checked the values of database Items.So i made a textbox instead of usercontrol here as
<asp:TextBox ID="txtTest" runat="server"
It is showing the correct value. And if i pass the value directly it is also showing correctly like
<uc:UserControl1 runat="server" Property1="XYZ")%>' Property2="ABC")%>' ></uc:UserControl1>
. where I am wrong
the problem is eval is not passing the value to usercont
Strange but true. Any ideas what might be causing this?
I have a button which starts processing.
I want that when ever a button is click from page1.aspx .. a count down timer should start and displayed on page2.aspx.
I am thinking of using iframe to join 2 pages.
Please let me know your suggestions.
I use the following code in a Buttons onClick handler.
Is it possible to open the EIQuotationReport.aspx web form in a new window or a new tab? I could change the button to a hyperlink if required.
I am having a problem with space around a div. The page looks perfect in the VS internal browser, but there is space at the top between the body and the div for the page layout in IE and FireFox. I tried everything I know by setting margins to 0 and padding to 0 for the body, div, form, almost everything and there is still space. The wierd thing is that the space shows the background color when I set the padding for the div#page to 0, and the space is the div#page background color when the padding is set to a value.I must be missing something. I looked at the page's HTML after it is rendered from the server and it inserts a dive with a hidden control for the viewstate. I thought this might be causing the problem so I set the margin and padding for all divs to 0, but it did nothing.
The code for the simple page and CSS is provided below.It appears the problem disappears and the page looks as I intended when I use the Compatibility View in IE8.
Thanks for the help in advance,-- Chris
ASPX HTML Code:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSSDemo1.aspx.vb" Inherits="Web.CSSDemo1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/