13,936 Topics

Member Avatar for
Member Avatar for manavsm

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

Member Avatar for hielo
0
136
Member Avatar for TechGen

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 …

0
48
Member Avatar for guptaalok12

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

Member Avatar for catherine sea
0
83
Member Avatar for srvstv.prnc
Member Avatar for SNK111
-1
1K
Member Avatar for RobM_01

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 …

Member Avatar for RobM_01
0
287
Member Avatar for queryme

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

Member Avatar for plusplus
0
71
Member Avatar for Letscode

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 …

Member Avatar for trousers
0
2K
Member Avatar for johnsign11

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

0
80
Member Avatar for pooja_shah

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 …

Member Avatar for rohand
2
83
Member Avatar for selicon.valley

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

0
51
Member Avatar for chickod

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

Member Avatar for chickod
0
123
Member Avatar for sebastian3

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

Member Avatar for xyzsoft
0
700
Member Avatar for nil87

hi i dont know about session so tell m basic things about seeion and how can i handle it in vb.net

Member Avatar for pritesh2010
0
85
Member Avatar for johnsonlim026

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?

Member Avatar for sudheer06mca
0
140
Member Avatar for hericles

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 …

Member Avatar for hericles
0
138
Member Avatar for heavens_cloud

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 …

0
200
Member Avatar for er.somdeep

any body tell me some latest project topics in asp.net i will be very thankful 2 u

Member Avatar for dnanetwork
0
67
Member Avatar for shaqtus

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 …

Member Avatar for dnanetwork
0
87
Member Avatar for 7gakki

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 …

Member Avatar for rohand
0
230
Member Avatar for pw_jamison

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 …

Member Avatar for pw_jamison
0
106
Member Avatar for apachex

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

Member Avatar for blackdragon1027
0
152
Member Avatar for queryme

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 …

Member Avatar for mono_jit23
0
433
Member Avatar for dpreznik

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

Member Avatar for dpreznik
0
75
Member Avatar for Abdul Rouf

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

Member Avatar for abhi1625
0
138
Member Avatar for johpoll

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.

Member Avatar for johpoll
0
131
Member Avatar for chintan_1671

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

Member Avatar for dnanetwork
0
79
Member Avatar for cocoll

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 …

0
50
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
159
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
135
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
103
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
232
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
165
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
78
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
318
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
56
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
48
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
113
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
81
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
75
Member Avatar for shridharmaster

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

Member Avatar for deepshikha.joha
0
826
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
147
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
66
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
226
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
91
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
54
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
82
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
286
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
51
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
212

The End.