13,936 Topics
![]() | |
i want to change the default value of dropdown list to 0 i.e selected index value shud become 0 when press the cancel button so that watever i selected previously is removed here is the javsacript [CODE] function CloseDiv() { var control = document.getElementById("divReqStages"); control.style.visibility = "hidden"; var control1 = … | |
Hi Coders I have an application where I use an ImageHandler to display pictures added using the fileupload control to sql2005 server database as Binarydata. The pictures upload fine and are shown in the table however when I attempt to then display these pics all I get is red x … | |
Hi All, I need to use different login forms for different folders with forms authentication. So i am using different web.config for each folder. Now if i write authentication tag in any sub folder's web.config it shows this error. (It is an error to use a section registered as allowDefinition='MachineToApplication' … | |
can any one tell me the code of inserting data in sql server 2005 through asp.net pages using c#. | |
Hi, I have created an MS Access table to store Usernames and Passwords plus other information. I have just started to play around with ASP.NET and am trying to have a situation where a user is required to login to view an image gallery that is run in Flash. At … | |
Hi can any one help me on this I have a text box in asp.net.and code behind C#. i have a table in sqlserver 2005 as custname. i have stored few data in that table. in asp.net i have created textbox control. when i press the first letter (EX: S)(EX:A) … | |
I'm struck in a problem here.I have server side code that has to collect values from the client side code(Javascript).The Javascript code basically gets the frame height and width and the server side code(VB) has to collect the values and resize the control(lets say Image).I used Query string and it … | |
How we can use stored procedure to save data into the database and then display it on other page and i am using repeater to display on another page. I am a beginner for this language please help me.. | |
I have a images in my local pc. That is located in "D:\projects\abc\systemimages\123.jpg" Now i upload image in my template from above location.So it should be shown in my thank u template but when i sent mail with thank you template to another person he/she can't see this images. Bubbly … | |
saving images into access but the problem is that i will not give the ftp to my client so they can save path into field of access (database)into their webpage which is asp.net but how my client will upload all this pictures without ftp | |
I am hoping someone can help me...I am totally frustrated! I am using Visual C# 2010 Express (which might be the problem right there, but I wouldn't think so). I have added a .dbml (LINQ to SQL) file to my project and I am about to create a new connection. … | |
Can anybody tell me why the Application_Start in global.asax in not firing under any conditions.Can any1 still tell me the conditions to fire it | |
hi i dont know about session so tell m basic things about seeion and how can i handle it in vb.net | |
I need to expire previous page so that my users cannot go back to the previous and change the data inside it.Can anyone give me some idea or example on doing this? | |
Hi, I'm having trouble getting the Ajax Toolkit autocomplete extender to work. I have the web service set up as its own file in the same project and calling that alone works - the correct list of results is output as xml. But when entering text into the textbox nothing … | |
Ever since my team upgraded to Infragistics NetAdvantage starting with ASP.NET 2010 vol 2 from 2010 vol 1, I've been having nothing but troubles. Since there is a no backward compatibility between versions of NetAdvantage (2009 vol 1 controls cannot just be left in place if a different part of … | |
any body tell me some latest project topics in asp.net i will be very thankful 2 u | |
I'm using a gridview that is working off an object data source. The object data source is connected to my class library, which has a function that delivers a data table to the gridview. This is the function: [CODE] public DataTable populateGrid(string command) { DB db = new DB(); SqlDataAdapter … | |
Hi, I got error when I tried to join two files mp3 in ASP.NET C# 'System.IO.Stream' does not contain a definition for 'WriteTo' How to fix that error? please help Here is my codes: [icode] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using … | |
i know this partially asp.net as well... if i create an custom control like this protected void Page_Load(object sender, EventArgs e) { Control myUserControl = (Control)LoadControl("MyControl.ascx"); PanelX.Controls.Add(myUserControl); is there a way of responding to an event within that control... private void Button1_Click(object sender, System.EventArgs e) { Response.Write("WebUserControl1 :: I am … | |
[COLOR="Green"]ERROR : [/COLOR] [COLOR="Red"] System.Data.SqlClient.SqlException: Implicit conversion from data type sql_variant to uniqueidentifier is not allowed. Use the CONVERT function to run this query. [/COLOR] I made a admin side for editing roles and user passwords if necessary.. But since the default ASPNETDB,mdf have UserID and Password in 'Unique Identifier' … | |
Hi I have an Excel file with two columns. name and number and having some data in that excel file. Name Number kumar 9090090909 XYZ 900909099 ABC 1234512345 Now i want to get the data in to asp.net textbox controls. Can any one help me doing this in Asp.Net Thanks … | |
Dear Experts, I have a modal popup and a GridView in it. The GridView is populated programmatically, i.e. I use .DataBind(). I can enter data into some of the GridView's controls. After I press Submit, I expect to do something with the entered data. But in the button press handler, … | |
Hello all Experts, I have following Code to get Image from dataBase and Show it in the Gridview Control on my web page but I am succeded to get data but when I bound the DataSet with GridView it doesnot show me Image. You can View error on Attached Image. … | |
I am using Visual Web Developer Express 2010 with VB scripting to create my web site. I would like to put a Back Button on each page but cannot find any instructions on how to do this - any help would be appreciated. | |
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. Thanks | |
hello! i need your help about links that may help me. so i want to create like a frame that opened automatically when the site opened,for examples in this website and others,for this website if we are log out so at the next time we open this site a frame … | |
[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 | |
hi friends, I m new to javascript and asp.net . Is anyone knows what is the exact problem? [CODE] // This is asp.net snippet <marquee id="marqueeLeft" class="marqueestyle" direction="up" onmouseout="this.start();" onmouseover="this.stop();" scrolldelay="500" style="height: 99px; width: 100%;" > <asp:PlaceHolder ID="LeftPlaceHolder" runat="server"></asp:PlaceHolder> </marquee> [/CODE] When I moved the pointer to this <marquee> tag. … | |
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 … |
The End.