I am using ASP.NET MVC 2 & C#.
I want to include/embed an html page (raw text & styling; no forms) in one of my views as is without my own css styling (read: The site.css styles for the ASP.NET MVC 2 application itself) affecting it. I can access the page statically and open it in a new window and it retains it's styling; however, if I ...
Hello ,
i have this ASP Jquery grid at http://tourscript.com/jqueryasp/default2.asp
In my last question i fixed the pager add to the grid like in tourscript.com/jqueryasp/default.asp .
My problem now is in no pager version if you ad a new row you could see it directly there in the grid no manual page refresh needed in the pager version o...
We have an old asp application that instantiates a .NET com visible class. In this class, we do some serialization to store our object in the session.
When I call the following line of code in my test class, it works fine.
var cereal = new XmlSerializer(couponApplicator.GetType());
However, when it gets called in the website and...
I've been sarching for a solution for this for a couple of days now...
I've got this web site writen in asp/c#, and when I display images through asp code like:
<img src="images/someImg.png" id="Img1" alt="" align="top" border="0" width="295" height="35" style="position:absolute;left:327px; top:545px; width:295px;height:35px;z-index:11"...
I don't mind if it is a print screen or export proccess of the page to jpg or even to pdf... how can it be done?
...
My problem is I am comparing two records from different tables and deleting those that match.
I have found this bit of code :
DELETE emails
FROM emails
INNER JOIN CustRecords ON CustRecords.Email = emails.email
Which works well, but i would also like to have a return value of how many records have been deleted.
Now if I do an ...
hi guys...
asp classic and iis 6
i need to build a page that the user login and if he paid for the service he will be able to view the pdf he paided for... all of the pdfs are going to be in the same folder so how can i restrict the user from trying to change the pdf filename to test and see what will comeup?
can i have something in t...
Ok - long story short.
Have an e-comm site hosted on Windows VPS using SQL Server 2005, site been up for years and works just fine.
I am now trying to set up a new site hosted on another Windows VPS Server that will share the same database.
Both sites are using classic asp and I have put up a duplicate page to each server that has a s...
I am experiencing an interesting issue. We are running a website using masterpage and in one of the pages, I need to create an update panel that will display group SSID on completion.
So, in one of the content placesholders, I put this in:
<asp:ScriptManager ID="scManagerConfirm" runat="server" />
<asp:Timer ID="tmrStatus" OnTick="tmr...
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<br />
<% if(User.IsInRole("Administrator")) { %>
<br />
<%= Html.A...
I need when a click in my Chart in some row redirect to another web in my site but I don't know can I do that. Now I am trying to use the event click with only a label and it doesn't work. I need Help
I did that with a Chart, ASP.net, Visual S 2008, C#
Thanks
...
I have a newly created asp.net MVC 2.0 application that is in a completely separate solution from an existing asp.net webforms application.
Because I didn't want the user to have to log in again, I deployed the MVC application in the same site as the existing Webforms app - everything works great.
One thing has me completely perplexed ...
Do we need to add any references or import any namespace for
Roles.IsUserInRole(username,role) - > is it not giving the right result.
<% if(Model.Count < 1)
{%>
No User's Add Under You!
<% } else {
foreach (var item in Model) { %>
<tr class="tblheader">
<th> User Name </th>
<th> Last Activity...
I have a website writen in ASP.NET and C#.
The site works when run locally, however I don't have any experience with uploading. Recently I got a free hosting package from somee.com and am currently trying to upload it.
Basically, the pages that don't require database connection work, the ones that do don't. So, I've created a database ...
I recently started a job knowing that the company's practices needed help: no source control, no bug tracking, definitely no automated testing. They told me that their application code wasn’t good.
What an understatement.
Their code is an unholy mess of classic asp, non object oriented vb.net (hello recordsets!), embedded styles...
I have asp file with code below:
<html>
<head>
<link rel="stylesheet" href="<%=bb_style%>"/>
<title>asdf</title>
</head>
I need to include title from this file into another asp file formed by xslt transformation. I use this code:
<xsl:value-of select="document(content)/html/head/title"/>
But I have nothing ret...
Hi,
I'm using ASP code and AspEmail component to send emails to our clinets, but I have some problmes...
I have more then 1000 email address that I need to send them an email, becuase of my SMTP provider limitation, I can't add them all as BCC in one email but I need to send each email seperatly, therefor looping on +1000 times witch t...
hi,
I am developing web application using asp.net, but i want to work on asp i have to install asp or can we write the code using asp.net, what is the main difference between these two asp,asp.net. Thank you
...
I know that such question was has been many times already but I couldn't find any right solution for my problem.
I have MasterPage1 with ScriptManager. There is MasterPage2 in it. In 2-nd MasterPage I placed Control with UpdatePanel. In this UP I placed FileUpload and SubmitButton:
Master1(with SM) <= Master2 <= Control(with FU and But...
is it possible to call asp function inside java script function?
eg
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Import Namespace="System.Xml" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script ...