13,153 Topics
| |
[B]I have a Form Code Like this[/B] [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SalesDetails.aspx.cs" Inherits="SalesDetails" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <table align="center"> <tr style ="border-width: 1px"> <td> Sales Details </td> </tr> <tr> <td> <asp:Label ID="LblCompanyName" … | |
I want to run a function just for specific time (say 10 min). After specific time it will return successful if it is able to execute the function successfully or unsuccessful. The function does a large amount of data processing and updating the tables. I want to stop executing that … | |
I'm trying to embed the login form for the webmail for a customer portal I'm developing, I've tried copying all the html and putting it inside my .NET page but instead of using the form action that I have in the form tag it simply re-posts the current .aspx page … | |
I need help for connecting my 'Access' database to asp.net website. Coding is in C# . I was working on making a registration page, but since i was unable to connect, I tried a test code for login and it ain't working :icon_cry: I am using the following code for … | |
I am unable to open the page in a new window when i click on the image button CAn u tell me how to make the current page open in new window [CODE] <ItemTemplate> <asp:ImageButton runat="server" ID="ImgPreviewBtn" Height="18px" Width="18px" OnCommand="onSelectAttachment" CommandName="Preview" CommandArgument='<%#Eval("QUOTATION_CODE") +","+ Eval("SUPPLIER") %>' ImageUrl="~/images/preview.gif" CausesValidation="false"></asp:ImageButton> </ItemTemplate> [/CODE] [CODE] … | |
Hi, now i'm working to export the gridview in asp.net to xml.. anyone have any idea.. just now,this is my code but there is some error that i can't figure out.. [CODE] Response.ContentType = "text/x-json"; XmlDocument xmlToExport = new XmlDocument(); string toExport = MethodToReturnXMLString(id); xmlToExport.LoadXml(toExport); Response.Write(xmlToExport); xmlToExport.Save("Filename.xml"); Response.End(); [/CODE] | |
hello! if we sign up at a hotmail account or other account we see before submit our information that we must enter a words and that is for prevent "robots" to sign up with hundreds of accounts. so this characters is an image,so what i want is your help in … | |
Hello Friends, In my Menu i have several Menu items one of which is Change Password. When i click on it my modal popup should appear on the screen. However as we know that individual menu items do not have ID assigned to them, i am having a problem assigning … | |
Hi all i have a radio button list with two values 1.public 2.private. I want certain rows of my table to be visible, when radio button value is changed to public whose visibility is set to false. I can easily accomplish it through SelectedIndexChanged event but that will cause page … | |
[CODE] I want to add search functionality to a website. i want to use the following controls: TextBox Dropdownlist1 DropDownlist2 SearchButton (Title) (Book OR DVD) (Category/Genre) I want the items of DropDownList2 change when a specific item is selected in DropDownlist1, and based on that search results are displayed. And … | |
I have a table in it i placed a lable which show the route map problem is that if data is two long it go out side the table cell as shown below. [IMG]http://i35.tinypic.com/2nlcwzs.jpg[/IMG] code of cell here [code]</tr> <tr> <td colspan="3"> <asp:Label ID="div1" runat="server" Width="100%"></asp:Label> <%--<div id="div1" runat="server" style=" … | |
Hi, Do anyone knows how to send personalized emails to everyone.? I mean if i send to my distribution list theni it should look like I have send to that person only Thank you | |
hello all i have two drop down list in form and binding it on form load event problem is when i run the application it shows the first value in dropdownlists index no 0 insted of that i want to show blank on run and on click of dropdown it … | |
I have a web form and a class called Base. In the Base class, I have a method that checks whether or not the user is logged in, and if the user is logged in, he or she is redirected to a certain page. I want to run this method … | |
I have a GridView inside an UpdatePanel set to conditional update mode and ChildrenAsTrigger to false, now the gridview got bind successfully, we are talking about 500 rows, i have others gridview but in different UpdatePanel. Everything works except when i try to clear everything, it hangs saying this: "A … | |
hi i have a HiddenField control that i have to create at run time. it's populated by javascript on the client end, but each postback it's created again and loses its value. where do i have to create it, or what do i have to do to make it keep … | |
I am using memebership provider in my app. I ADDED MEMBERSHIP SCHEMA TO AN EXISTING DATABASE. HOW DO I GENERATE THE T-SQL SCRIPTS FOR SQLMEMBERSHIP?? | |
I´m working in a very important project and I need to find out as fast as it´s possible how to do this. Please, anybody there send me something. I can´t buy the very expensive PDFRRasterizer lib from tallcomponent. Thanks. | |
Hi, I have two datatables with studentId field and I am trying to join them using LINQ. The code is working fine in development environment but in production environment it is not giving the expected result. It is not filtering the data that I am trying to filter through LINQ … | |
This code is in the Page_Load method of my web page. [CODE][COLOR="Red"]if (Request.UrlReferrer.AbsolutePath == "/Home/Default.aspx")[/COLOR] { Label1.Text = "You are coming from the home page."; }[/CODE] When I try to open the page, I get this error: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. … | |
I was wondering whether I could somehow create a universal error page for my website. For instance, if a user tries to navigate manually to a certain page of the website that requires you to be logged in, that user gets redirected to an error page that says something like, … | |
Hi all, I am working on a project in which when I clicked a hyperlink a pop up window has to be displayed for 2 pages. But at first when i did this in javascript it worked, later after i finished the whole coding suddenly an error box displayed that … | |
I'm creating a website which has a login function. Once the user logs in, they are shown a button that allows them to log out. When the user logs in, a boolean variable on the server is changed to "true", because the user has logged in. When the user clicks … | |
Hi everyone, I have Javascript function (say hello()) in page (abc.aspx) I want to call this function from (abc.aspx.cs) In .cs file I have a function say fun1() { - -- if (var==1) call javascript function here } how can I call javascript function from IF condition?? I dont want … | |
I have an ASP.Net 2.0 application (VS.Net 2008/C#). I want to populate the Treeview on my page using javascript. So far I have heard not so positive views about populating using javascript. Still I want to give it a shot. Any help is greatly appreciated. | |
Hi, I have installed Visual Studio 2010 Express in my local system. Steps 1. File->New Website 2.Open datbase explorer, right click on dataconnection 3.Select Create new connection 4.use Microsoft SQL Server Database file 5. Type new databse filename 6. Now i want to use SQL authentication which is not working … | |
Actually i am currently developing a website. Which involves oracle database access.... And my problem is that i am not able to access the variable from the home page or the login page from another page. please help in doing so,,, thank you,, | |
Dear c# Community, I am seeking general advice from those with more experience. My problem is this: I have written c# code that computes several X,Y data sets. I now wish to plot these as a scatter graph. Nothing fancy, just simple plots that pop up at the end of … | |
HI, Here is what the requirement is like.There are few cctv's placed at a construction site,I want to view whats happening out there by sitting at some other place..i.e watch the action live on my website.How can this be done....can this be done using asp.net. Please some one help me … | |
Hi everybody, This is Muktiranjan Nayak working as a software Developer . I want to display a popup calendar showing 2 months at a time. Description - Displaying the calendar on click event of the text box and clicking on any date should render the value into the text box. … |
The End.