13,153 Topics

Member Avatar for
Member Avatar for bhavna_816

I want to add some custom properties as well as the existing properties should remain same in the controls. Some of the controls can have the extended properties, but some controls like Textblock are sealed so can not be able to inherit other controls from the existing control. Anybody have …

0
70
Member Avatar for chakkilam

Hi All I am getting below error. basically I want to loop through all controls in a page and make sure they have not changed the values. if they have i want to prompt a message asking to save. while looping the controls I am not able to send it …

Member Avatar for serkan sendur
0
811
Member Avatar for chriscross86

hi, there...im trying to figure out where to use these authentication codes as im trying to come up with a login page. these codes are used over the <head> tag, but is it used within the <html> tag? [code=xml]<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- enable forms authentication --> <system.web> <authentication …

Member Avatar for johnny.g
0
75
Member Avatar for johnny.g

hii alll,... i have a feedback form whr the user enters the data and it gets stored in the database.i have also given validations for submitting the form,,(for e.g. the user wil have to enter his name,,he cant leave tht field blank)...the prob is whn i click on the signout …

Member Avatar for serkan sendur
0
143
Member Avatar for kischi

Hi I have a scrollbar on my page with a lot of text. And sometimes when I start scrolling, it jumps up again. You can see what I mean on: [url]http://radiojazz.dk/udsendelser.aspx[/url] I have tried to write: [CODE] MaintainScrollPositionOnPostback="true" [/CODE] on the top of my aspx page but it won't work, …

Member Avatar for serkan sendur
0
129
Member Avatar for nokomoli

Hi guy, i'm newbie of .net language. Last week i found a new method at the .net with vb.net language. That is in the Global.asax, you are enable to store a global variable. The common at below: [ICODE]Application("ABC")="CDE"[/ICODE] i doubt that this method with cookies or session. Besides this, i …

Member Avatar for nokomoli
0
123
Member Avatar for saquib189

Hi, I'm create a console application for extracting system drives through driveinfo class & i also extract files and folder for there usage class but in website how can i display drives in treeview control. plz give the example in vb. thank you

Member Avatar for serkan sendur
0
79
Member Avatar for luckyads

hi, do I have to have a datakeyfield as [B]integer [/B]for a datagrid in order to delete rows from the datagrid? thanks, aditi

Member Avatar for serkan sendur
0
51
Member Avatar for neo.maverick

hi guys... Can anyone gime some points on the drawbacks of using layered architecture...?? or when to go with layered arch. (BLL, DAL etc). Suppose we got a project .. say 150 hrs in total... do we need to go with layered one or go with conventional method of writing …

Member Avatar for serkan sendur
0
116
Member Avatar for hardikpatel

hi i have made one website in VS 2008 (Asp.net 3.5) using back end SqlServer 2008 and when i configure my website on my local pc so it will generate the error "Login failed for user" when i will going to run the website .

Member Avatar for serkan sendur
0
82
Member Avatar for ssreevidya.m

Hi, I have a need to insert images to the database. I tried it using the following code: [code]if ((file1.PostedFile != null) && (file1.PostedFile.ContentLength > 0)) { // Get the filename. byte[] fileData = null; string fn = System.IO.Path.GetFileName(file1.PostedFile.FileName); try { // Access the file stream and begin the upload. …

Member Avatar for ssreevidya.m
0
139
Member Avatar for ricksvoid

I cant seem to find anything wrong with this code. However, I get an error message from my catch block everytime. [code=vb.net] Imports System Imports System.net.mail Imports system.web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.HtmlControls Imports System.IO Partial Class contact2 Inherits System.Web.UI.Page Protected Sub submit_Click(ByVal sender As Object, ByVal e As …

Member Avatar for Jamie Shedley
0
136
Member Avatar for orionize

First,It feels good being here guys in such a great community that offers loads of help & support to most kinds of problems facing users who use their PCs. Anyway,my problem is that I used to use some of kind of a website,a private torrent tracker that recently banned a …

0
49
Member Avatar for luckyads

Hi, I have a datagrid with 2 checkbox columns [Code] <Columns> <asp:TemplateColumn HeaderText="Part A" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:checkbox runat="server" ID="[COLOR="Red"]partOne_Edit[/COLOR]" checked='<%# DataBinder.Eval(Container, "DataItem.partOne") %>' [COLOR="Red"]Enabled = '<%# IIf(DataBinder.Eval(Container, "DataItem.partOne"), "True" ,"False" )%>'[/COLOR]></asp:checkbox> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Part B" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:checkbox runat="server" ID="[COLOR="Red"]partTwo_Edit[/COLOR]" checked= '<%# DataBinder.Eval(Container, "DataItem.partTwo") %>'></asp:checkbox> </ItemTemplate> </asp:TemplateColumn> </Columns> [/Code] …

0
82
Member Avatar for Kian99

Hi all, im new in this forum ;) I have a problem here with crystal report. I have building report in web (asp.net 2.0) using crystalreportviewer control. I used crystal report 10 for the report. I have succeed to view the report. But, if i press the print button, it …

Member Avatar for perumalla1215
0
164
Member Avatar for chriscross86

hi, to all ...im trying to code on a login page...im suppose to have a userid and a password textbox. i dont know how to code . i was only able to code as below and i dont know how to proceed. [code=asp.net]<asp:Label ID="lblUserID" runat="server" Text="USER ID"></asp:Label> <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>[/code] …

Member Avatar for dian69
0
82
Member Avatar for chriscross86

hi, there...i need help.im not sure if my codes are appropriate.. [code=asp.net]<asp'Label id:"lblreport" runat="server" text"type of report"></asp:Label> <asp:dropdownlist selected="true" value="annually"></asp:ListItem> <asp:dropdownlist selected="true" value="Monthly"></asp:ListItem> <asp:dropdownlist selected="true" value="weekly"></asp:ListItem> <asp:dropdownlist selected="true" value="Daily"></asp:ListItem> </asp:dropdownlist>[/code] im getting error telling 'cannot have multiple selection'.

Member Avatar for sonakrish
0
139
Member Avatar for nokomoli

Hi Guys, i'm newbie in .net area. now i confuse one things is : i have a variabel is use at all pages in my web site. so how i set this variable in one page, so that every time when i need this variable, i can use this and …

Member Avatar for nokomoli
0
128
Member Avatar for chriscross86

hi, there...im coming with these codes...and i am not sure whether these codes should be after <head> or after <head>. [code]<script runat="server"> Sub Check(sender As Object, e As EventArgs) dim i mess.Text="<p>Selected Item(s):</p>" for i=0 to check1.Items.Count-1 if check1.Items(i).Selected then mess.Text+=check1.Items(i).Text + "<br />" end if next End Sub </script>[/code]

Member Avatar for frank@furnes.nu
0
54
Member Avatar for C#Novice

I have an application where i need to show 2 frames. the top frame shows 2 windows media players, one that shows the video of a lecture and the other shows the video of images for the same lecture. In the lower frame i want to show all the imagesassociated …

0
107
Member Avatar for ishan joshi

frnds, can anyone know how to build dynamic page in asp .net with CSS ? actually I am using C# and I made a Page with CSS.now I face the problem that when ever i change my project to another Computer it's resolution has been changed. thanks

0
37
Member Avatar for chriscross86

to, all....ive come up with this codes on coming up with a registration form.. i debuged it and have not been able to get the output. [code=asp.net]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!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>Courier Management</title> </head> <body> <form …

Member Avatar for chriscross86
0
95
Member Avatar for chriscross86

imcoming up with icons such as home, customer, login, logout...i dont know how the codes using asp.net looks like? please help...

Member Avatar for sknake
0
55
Member Avatar for bhavna_816

I am very new to SharePoint... I need to know two things: 1. How to work on a single website with multiple developers? 2. How to deploy the SharePoint website or webapplication on production server or client machine? Do anybody know some answer or some links which can help me? …

Member Avatar for Fred Mackie
0
85
Member Avatar for nada fouad
Member Avatar for sknake
0
236
Member Avatar for chriscross86

hi, to all...im having problem with the codes below: [icode]<form id="form2" method="post" name="lOGIN" action="Default.aspx" runat="server">[/icode] im not sure the purpose of the method 'post'. why can't i use action instead? when it comes with action, can i use some other names than default.aspx? please help.

Member Avatar for frank@furnes.nu
0
67
Member Avatar for Ramy Mahrous

I want to speed ChechBoxList's getting the selected items, the normal approach is [code=c#] foreach (ListItem li in checkListBox.Items) { if (li.Selected) { } } [/code] but if I've 6000 items in the CheckListBox, that's mean I should go through the 6000 items to know which is selected. Performance POOOOOOR!!! …

Member Avatar for Ramy Mahrous
0
132
Member Avatar for chriscross86

hi, to all..im coming up with these codes below: [code=html]<html> <body> <h1>Welcome to my Homepage!</h1> <form runat="server"> What is your name? <asp:TextBox runat="server" ID="txtName"></asp:TextBox> <br />What is your gender? <asp:DropDownList runat="server" ID="ddlGender"> <asp:ListItem Select="True" Value="M">Male</asp:ListItem> <asp:ListItem Value="F">Female</asp:ListItem> <asp:ListItem Value="U">Undecided</asp:ListItem> </asp:DropDownList> <br /> <asp:Button runat="server" Text="Submit!"></asp:Button> </form> </body> </html>[/code] at the …

0
77
Member Avatar for dilake
Member Avatar for Aneesh_Argent
0
102
Member Avatar for yorock

The following is my login code for my project.. [code]Function ValidateUser(ByVal uid As String, ByVal pwd As String) As Boolean 'Dim sName As String Dim sUser As String Dim sPwd As String Dim blnValidUser As Boolean blnValidUser = True Dim strConn As String = "server=YOGESH\SQLEXPRESS;Trusted_Connection=yes;database=jobbunch.mdf" 'Dim MySQL As String = …

Member Avatar for Aneesh_Argent
0
111
Member Avatar for livehed

Hi, In my aspx page,when a user clicks on a asp.net Location "LinkButton", a new textbox should be dynamically added without refreshing the whole page.A user can add maximum of 5 textboxes. Also,I need to programmatically attach Ajax AutoCompleteExtender to this textbox. How do I achieve this functionality? Thanks

0
59
Member Avatar for Xessa

Hi. I tried dragged and dropped an SqlDataSource and then click "Configure Data Source". From there i start a new connection and select my server. Under "Select and enter a database name" listbox i can not see anything. So i try to attach a database file "NORTHWND.MDF". When i try …

Member Avatar for Xessa
0
191
Member Avatar for FerrousRex

I'm relatively new to ASP .NET and I was wondering if anybody knows about any good reference books? Thanks in advance for your help.

Member Avatar for FerrousRex
0
106
Member Avatar for naura

Any one knws hw to upload rtf file in webserver in asp.net.Can any send code of it

Member Avatar for serkan sendur
0
109
Member Avatar for manii

I want to know dat is it possible to create and run .asp file in microsoft visual web developer 2008 ? The problem is dat there is no inbuilt .asp extension file given in vwd 2008....if anyone knows how to create and run....den plz help me out.... thanks.........

Member Avatar for serkan sendur
0
42
Member Avatar for brightline

I want to restrict the data types that FileUpload control show on some types. i.e. whaen the user clicks on the Browse button the window that comes up show only for example the word files(.doc and .docx). I'm using VS.Net 2005. Thanks in advance.

Member Avatar for serkan sendur
0
85
Member Avatar for gbpatil16

I want following code using C# and ASP.NET 2.0? 1. How to read log file which is located in directory(C:\WINDOWS\system32\Logfiles\W3SVC1) using C# and ASP.NET 2.0? 2. How to store the content of that log file in database using SQL Server 2000? Log file contain following information. I want to store …

Member Avatar for sknake
0
71
Member Avatar for Digvijaysinh

Hii everybody, i want to make connection of my window application in c# and asp.net with remote sql server 2005 then how can i make connectionstring and connection with remote database? please help me on this topic. also if suppose connection is established, then how we can show the data …

Member Avatar for techniner
0
98
Member Avatar for nil

[COLOR=blue][B]Hello all,[/B][/COLOR] [COLOR=blue][B]I want autocomplete textbox facility like google in my application and i searched on the net and i found some articles that shows i've to use ajax(combination of javascript and xml) but they are using .dll file component but i don't want to use any kind of .dll …

Member Avatar for kanuja01
0
152
Member Avatar for chriscross86

hi, im doing a project on 'courier management systems' . i am using asp.net as the application and mysql as the database. im not clear on how to integrate mysql with asp.net... i would appreaciate if some description plus some examples are posted on...thank you

Member Avatar for freshfitz
0
136
Member Avatar for shobitha

i hav created an application in asp.net, i wan to create a virtual directory so tat i can run my application on LAN....how can i do so... Thanks in advance...

Member Avatar for freshfitz
0
48
Member Avatar for luckyads

Hey guys! I have been told to demonstrate 1 or 2 good examples of silverlight2 which has applications similar to flash? Could anyone give me useful links where I can find such examples? Thanks in advance, Aditi

0
67
Member Avatar for -mk-

Hi all, Please take a look on this page [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] and this [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] They are basically 2 templates for Business Card printing. Notice that the text fields will be updated to the Image on the right dynamically with different style and position from one template to another. Does anyone has …

Member Avatar for bcasp
0
99
Member Avatar for cr_abhilash

Hi, I am Abhilash a web developer from bangalore. Currently for my work I am exploring formbuilder kind of stuff, which will enable the end user to create a form, save it, and use it any of the web page.I am following the Microsoft.Web.Preview.dll and Ajax Script manager to implement …

Member Avatar for brunda
0
87
Member Avatar for chriscross86

i am doing a prioject on 'courier management system. im planning to use asp.net and mysql...is it appropriate? if i do choose these languages...will i sustain?

Member Avatar for ithelp
0
64
Member Avatar for SelArom

i wasn't quite sure where to put this, since this is more of an html/encoding question, but since I'm working in .net I figured this is the best place to start... I have a site, and the content-type meta tag is utf-8. I am receiving an rss feed, and am …

0
67
Member Avatar for ishan joshi

Well I need ur help as i want to give shortcut link to the button in my asp .net proj like for save button [U]S[/U]AVE (Ctrl + S) . how can i do in my code to get this type of functionality. Thanks...

Member Avatar for nelis
0
79
Member Avatar for satmadhu

Check the enclosed doc file and help me to solve the following problem. Thanks in advance. [B]"As per my knowledge we can put Allow IP configuration in the webserver either apache or IIS. This would work for browser IP (Client IP). But I would like it to capture the server …

Member Avatar for almostbob
0
45
Member Avatar for vuyiswamb

Good Afternoon All In all my Application, i used to write my login screen and i will not have a problem. i have inherited the ASP.NET Application that uses a login control. Below are the pics of how it looks here is a code for Forget Password link [CODE] protected …

0
71
Member Avatar for naura

I send mail in asp.net using kerio .It work fine when i use string variable to get id But i use textboxes to get id it gives following err: [code]Read from Stream threw an System.Exception: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the …

0
75

The End.