13,153 Topics

Member Avatar for
Member Avatar for queryme

[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" …

Member Avatar for dnanetwork
0
157
Member Avatar for chintan_1671

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 …

Member Avatar for chintan_1671
0
132
Member Avatar for lgriess

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 …

Member Avatar for dnanetwork
0
101
Member Avatar for apachex

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 …

Member Avatar for dnanetwork
0
228
Member Avatar for manavsm

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] …

Member Avatar for dnanetwork
0
163
Member Avatar for new SE

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]

Member Avatar for dnanetwork
0
75
Member Avatar for cocoll

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 …

Member Avatar for dnanetwork
0
282
Member Avatar for laghaterohan

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 …

0
53
Member Avatar for fawadkhalil

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 …

0
46
Member Avatar for quest4best69

[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 …

Member Avatar for plusplus
0
111
Member Avatar for ans2007kumar

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=" …

Member Avatar for plusplus
0
78
Member Avatar for moied

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

Member Avatar for plusplus
0
72
Member Avatar for hirenpatel53

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 …

Member Avatar for azarudeenmca
0
145
Member Avatar for shaqtus

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 …

0
62
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
223
Member Avatar for scranton

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 …

Member Avatar for scranton
0
88
Member Avatar for PRINCE01

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??

0
53
Member Avatar for luiso

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.

Member Avatar for CloneXpert
0
4K
Member Avatar for virang_21

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 …

0
79
Member Avatar for shaqtus

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. …

Member Avatar for PsychoCoder
0
278
Member Avatar for shaqtus

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, …

0
49
Member Avatar for kiranbvsn

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 …

Member Avatar for dnanetwork
0
210
Member Avatar for shaqtus

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 …

Member Avatar for dnanetwork
0
126
Member Avatar for hitro456

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 …

Member Avatar for dnanetwork
0
123
Member Avatar for LotusShiv

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.

Member Avatar for LotusShiv
0
189
Member Avatar for mvkotekar

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 …

0
121
Member Avatar for infivivek

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,,

Member Avatar for Lusiphur
0
111
Member Avatar for poolz50

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 …

0
112
Member Avatar for santoo

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 …

Member Avatar for rahul225
0
91
Member Avatar for muktiranjan

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. …

Member Avatar for muktiranjan
0
134

The End.