I am using eGRC Archer tool which is developed in Asp.net.
In this tool we are having already developed applications.
There is a em-build feature of exporting records to PDF and RTF format. Whenever we export any record which contains images, Images are not being displayed on PDF or RTF while images are visible on webpage. Can anybody suggest that is there any setting in IIS or in WebConfig file so that images can be exported. Your suggestions are appreciated.
Well that's because images are embedded inside pdf files.
I think when you create a pdf, you have to use the physical location of the file, and not the virtual location, in order to embed the image. That should of been in the instructions for your pdf generator.
Perhaps it's me, but I can't really make head-nor-tails of your question: it doesn't seem to make any sense. Do you mean that you want to add Google analytics to an asp.net website? If so, it is fairly easy: there is lots of help on the web. Search here for articles or on Google.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum
In the page, you build it like a regular webpage with the header and footer, and in the middle, you place a content placeholder object, a container that will hold that space in the seperate file you created.
<%@ Master Language="VB" CodeFile="en-us_store.master.vb" Inherits="masterpages_store" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head id="Head1" runat="server">
<link rel="shortcut icon" href="/favIcon.ico" />
<form id="form1" runat="server">
<asp:ContentPlaceHolder ID="SiteMap" runat="server">
<!- This is a blank container - leave it emtpy -->
default.aspx - reference the container in the master page in your content page, and content below will be injected into the master page.
<asp:Content ID="Content3" ContentPlaceHolderID="SiteMap" runat="server">
<!-- Encode the Sitemap Content of the Page -->
Some content such as words or pictures in your seperate file
I have to develop my Final Year project which is Email Moderation Engine. It will be fully functional Email Domain like Yahoo, Gmail or Hotmail but it will be with my desired domain name, it also contains a SMS alert functionality so users can get alerts on there cell phones against emails received. Kindly help me out and let me know how should i start the project. I will be developing this project is ASP.NET so i need some start-up tips.
I've tried several other approaches, and nothing I do seems to work, the object passed into my controlled is always null.
Does anyone have any ideas? For what it is worth I am (stuck) using IE8.
I'm going to go drown myself now. The problem was the name of my parameter "link". It must be reserved or something even though the code never complained. At any rate I changed my Controller to this and it works now:
public JsonResult SaveLink(ApplicationLinkViewModel linkViewModel
I am looking to incorporate the Excel Like Grouping on the columns of my grid view, Can this be done using the standard .net functionalities, if not can anyone recommend a 3rd party component library with features like this.
this is my error
i change textbox at gridview to dropdownlist (tempaltefield)
string connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DB.mdb";
OleDbConnection con = new OleDbConnection(connString);
OleDbCommand cmd = new OleDbCommand();
cmd.CommandText = "UPDATE Pay SET pay_sup_name=@pay_sup_name,pay_value=@pay_value,pay_check_No=@pay_check_No WHERE pay_id=@pay_id";
Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox
Error in itself is quite straight forward.
You are directly casting controls from Grid cells into a defined type. One of the conversion is not correct. There is a Literal control instead of a textbox. A simple use of Visual Studio debugger will tell the line of code. Once you know, just handle it properly.
If you are using ASP.NET AJAX and have UpdatePanel then you can use UpdateProgress for the same.
In case you are not using UpdatePanel then you can raise a onClientClick event of the submit button. In this client side event, show a div over the page with higher z-index. Once the update is done, hide back the div.
I had similar problem with storing very long numbers in excel. I solved it by putting a single quote (') in front of the number. This way it was able to display the number properly and could also take this number in account in formulas and computations. Perhaps this trick could work on dates too. try putting '01 Jan 2012 in the excel and see if excel could recognize it as date.
Sadly, I don't have excel on this computer otherwise i would have tried it before posting.
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.