13,153 Topics

Member Avatar for
Member Avatar for jbisono

Hello everyone. The problem: I am developing a form that i have to validate some fields against the database. For this particular scenario lets say the Part ID field, I do not want to create a dropdownlist with all part id because is too big. maybe i can let people …

0
81
Member Avatar for mcw317

I have a dataset with a field defined as a system.datetime datatype. In my visual studio 2008 that has crystal reports 12, I have a report that should display this date field. This worked fine in an earlier version of visual studio 2008. However, since I have installed the updates …

0
41
Member Avatar for Karthika_g

I created a Web Service in VS 2005, I tested it by opening in the browser it worked well. I deployed it in the IIS 5.1 I'm getting You are not authorized to view this page. HTTP Error 403 - Forbidden !!! Can anyone help me in finding out where …

Member Avatar for avirag
0
99
Member Avatar for jain4

Hello there, I am facing a problem for a website i am developing. I have a form with some set of text boxes and dropdown list. When click on submit it transfers the data in the fields and goes to a different website. Now i also want to save the …

0
63
Member Avatar for adil.hafiz652

[CODE] Dim i As Integer For i = 0 To 6 e.Row.TabIndex = -1 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onfocus", "javascript:SimpleTEOnFocus(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onblur", "javascript:SimpleTEOnBlur(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeyup", "javascript:keyGridPressed('gridTESimple',this.id,event);SimpleTEHrsOnKeyUp(this,event)") 'AM 12/22/09 Modified CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeypress", "javascript:return NumericOnly(event);") CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onchange", …

Member Avatar for joths
0
208
Member Avatar for shahzadhard

why this code is not working[code]<%@ Page Language="VB" %> <script runat="server"> Private sub Textbox1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Textbox2.backcolor=drawing.color.azure textbox2.focued() End If End sub Sub TextBox1_TextChanged(sender As Object, e As EventArgs) End Sub </script> <html> <head> </head> <body> <form runat="server"> <p> <asp:Label id="Label1" runat="server" text="box1"></asp:Label> <asp:TextBox id="TextBox1" …

Member Avatar for dskumar_85
0
73
Member Avatar for ajitkumar26

I want to reset the textarea cursor position after postback i.e cursor should be on last change or edited text in textarea

Member Avatar for ajijacobm
0
72
Member Avatar for LaSalle5067

I'm new to vb.net and have been asked to add a page that leads to other pages in an application. Basically a landing page that goes to one of three other pages dependent on what user intends. [B]Here is aspx code[/B] (not all of course but what's needed for redirect …

Member Avatar for LaSalle5067
0
159
Member Avatar for silayse

hi ! I am new in c# asp.net,I have 2 user type.When Standard users submit a request ,other user type like admin can see and accept or reject.I created a request and other user see this request but I can not implement accepting or rejecting part.I can not add checkbox …

0
66
Member Avatar for kanuri1

hi, pls help me how to generate crystal reports in asp.net using vb.net database is sql server.. any internet sites..

Member Avatar for pauldani
0
166
Member Avatar for mshravs

have this printing page and i need to display image uploaded in the form..........and here is the code regarding the printing page [CODE] Protected Sub print_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles print.Click Dim fs As New FileStream("file.html", FileMode.Create, FileAccess.Write) Dim s As New StreamWriter(fs) Dim st As …

Member Avatar for pauldani
0
74
Member Avatar for eliza81
0
75
Member Avatar for mshravs

i have an image along with a form, to be saved in the sql database. but how should i do it. here is the code that i used to save the form in the database. [CODE] Protected Sub save_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles save.Click Dim ConnStr …

Member Avatar for pauldani
0
72
Member Avatar for Nfurman

Hello again. Default.aspx [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class contact : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { State.Enabled = false; ShowCaptchaNums(); } protected void Country_SelectedIndexChanged(object sender, EventArgs e) { if (Country.Text == "United States") { State.Enabled = …

0
114
Member Avatar for Nfurman

Hello again I have two drop-down lists on my web application. #1. Country list #2. US states list By default #2 is disabled [CODE] protected void Page_Load(object sender, EventArgs e) { State.Enabled = false; } [/CODE] I need to enable it only if user will choose "United States". My trial …

Member Avatar for Nfurman
0
101
Member Avatar for Naba007

Hi I am creating a web application where i am using .net 1.1 with c# and vs 2003 . when i debugged (pressing F5 )the solution it is buliding successfully with out error but showing " ERROR WHILE TRYING TO RUN PROJECT" in an alert box. While i start without …

0
51
Member Avatar for Diamonddrake

If you drop a picturebox control onto a form and set its SizeMode to zoom you will notice that no matter what you change the padding property to, it won't change the output. The code for drawing the image in zoomed mode doesn't take in account the deflated rectangle it …

0
201
Member Avatar for farooq82

Hello, Everyone. I have receive the above mention error. I don't why this error is occurring. [CODE]using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace TurnkeySolutions.App_Code.DAL { [Serializable] public class DBBridge { public DBBridge() { // …

Member Avatar for farooq82
0
258
Member Avatar for jcb0806

I HAVE PHOTO ATTACHED I'm trying to come up with some code that will make the 'Acct #' label and text box ONLY appear when some text is typed in the text box beside of 'Prime Broker', 'Custodian', etc. Can anyone help? Thanks.

Member Avatar for MeSampath
0
127
Member Avatar for mshravs

i used this code to upload the images from the local path. but when i'm trying to upload the images in the webpage it is not showing. can any one can tell what's wrong in the coding. it will be very helpful......................... [CODE] Protected Sub Button2_Click(ByVal sender As Object, ByVal …

Member Avatar for pauldani
0
97
Member Avatar for kanuri1

hi, i got an problem i wants to update the serialnumber in the database, if i was updating the serial number as (for eg: 3 in place of 4), it was updated. if i was updating the serial number as 3 in place of 4.. here serial number 3 is …

Member Avatar for kanuri1
-1
101
Member Avatar for Pedro93

Hi, I have the fallowing problem: A gridview in panel work fine on some workstation in local area network and at the others the panel appear inactive, the gridview exceed the limit of the panel. The scrollbar appear inactive. What is wrong ?

0
41
Member Avatar for juliagarrett
Member Avatar for dsweb1017
0
71
Member Avatar for jamello

Hello experts! Please how do I display markup text (in html) with a asp.net 3.0 server control? I have a database full of markup text inputted using a richtext control. but I will like to display these text using other asp.net controls that would render the text correctly with the …

Member Avatar for jamello
0
152
Member Avatar for kanuri1

hi, i was got an error, iam using a code to auto increment of serial number, but the problem is selecting the serial number from the database it was insremented from first number itself like as 1,2,3 it was incremented from 1 itself,, i wants to increment the data from …

Member Avatar for pauldani
0
92
Member Avatar for murugavel.b

If you want to restrict the user to go back or forward from the web browser, you can use the below mentioned javascript. Use this javascript in the script tag. It works on all browsers. For further details: [url]http://dotnetbypulikesi.blogspot.com[/url]

1
188
Member Avatar for tryongliph

Maybe I'm the one not doing anything right but i'm trying to cause a page to display a given information as soon as it load. I'm using labels display the said information. The problem here is, in the Page_Load method, i can't seem to call any of the labels or …

Member Avatar for tryongliph
0
106
Member Avatar for unknowndevil41

I am having a problem with modal popup. I used this code an its running fine but the pop appears in black colour. I cant see the text written inside the pop. Pls help me to solve this..... <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <link href="Style.css" rel="stylesheet" type="text/css" /> <title>Untitled Page</title> …

Member Avatar for virang_21
0
144
Member Avatar for capiono

I want to assign a color to my excel column [CODE] currentRow.Interior.ColorIndex = 17; [/CODE] But I don't want to use one of the colors in the excel palette I do I add my own color. for instances: [CODE] currentRow.Interior.Color = Color.LightBlue; [/CODE] Thanks for the help

0
97
Member Avatar for moroshko

Hi, I have an Ellipse on a Canvas and I'm doing a Hit Testing on it. Every time I click the stroke of the Ellipse, the test pass. If I click in the middle of the Ellipse, the test fails. This is good ! After I fill the ellipse like …

0
70
Member Avatar for moroshko

Hi, Consider this code: [CODE]Ellipse myCircle = new Ellipse(); myCircle.Width = 400; myCircle.Height = 400; myCircle.Stroke = Brushes.PeachPuff; myCircle.StrokeThickness = 25; myCircle.ToolTip = "Bold Circle"; Canvas.SetTop(myCircle, 0); Canvas.SetLeft(myCircle, 0); canvas.Children.Add(myCircle); Ellipse myCircle2 = new Ellipse(); myCircle2.Width = 400; myCircle2.Height = 400; myCircle2.Stroke = Brushes.Black; myCircle2.StrokeThickness = 1; Canvas.SetTop(myCircle2, 0); Canvas.SetLeft(myCircle2, …

Member Avatar for moroshko
0
128
Member Avatar for moroshko

Hi, I added a Rectangle to a Canvas like this: [CODE]Canvas.SetTop(myRectangle, 150); Canvas.SetLeft(myRectangle, 80); canvas.Children.Add(myRectangle);[/CODE] Now I want to move the rectangle to other place, say (100, 100). What is the best way to do this ? Thanks !

Member Avatar for moroshko
0
147
Member Avatar for moroshko

Hi, I put several shapes (like Ellipse and Rectangle) on a Canvas. Now, I want user to be able to drag & drop these shapes. Is there some predefined functionality that I can use, or I should implement the drag & drop myself using the mouse events ? Thanks !

0
86
Member Avatar for culebrin

Hi, I've been googling about a simple source code for crystal reports for about 2 weeks now, and no luck. So I wonder if anyone have a source code for a simple report (maybe with subreports and external parameters) on ASP.NET (I'm using VS2008 and the CR emmbeded in it …

0
116
Member Avatar for swathichiran

My task is to add new words to dictionary file. so am using infragistics webspell checker control. With out creating virtual directory to application, i could add new words to dictionary file. But if the virtual directory is created, even though i click on add, new words are not included …

0
46
Member Avatar for kanuri1

hi frnds, i was a get a problem, i want to update the serialnumber by using a text box,,,, suppose i am updating the serial number as 3,,,,it was updated,,,, but if i wants to update the serial number as 4 ,that is already in the database it is also …

Member Avatar for reach_yousuf
0
101
Member Avatar for kanuri1

hi how to insert default year in database by uing a textbox in button click event. here iam asp.ent with vb.net database is sqlserver-2005. pls give me code

Member Avatar for reach_yousuf
0
93
Member Avatar for moorcroft

Hi I'm trying to map some tables using Nhibernate and it generally works apart from when it comes to one-to-many classes. I have a Visits table where each visit has many Inspection records. The mapping file for Visits contains the following: [code=c#]<bag name="Inspections" lazy="false" fetch="select" cascade="none" inverse="true"> <key column="VISIT_COUNTER"/> <one-to-many …

0
89
Member Avatar for mania_comp

Hi ... I am using details view in one of my aspx page. In DetailsView I have set PagingMode to NextPrevious. Now I load some quiz questions in DetailsView and all this works fine in MOZILLA Firefox . But in IE8 ... when I click on Next button in Details …

0
58
Member Avatar for atplerry

Pls i need to know How can i read the content of a word document into a page or what is the alternative way of doing this. because this site is a dynamic and i dont want the site management to be done by typing the page content inside a …

Member Avatar for padtes
0
77
Member Avatar for gess6321

how do you add a hyperlinkcolumn column in a gridview dynamically at runtime? if you can't add one, how do you modify its properties at runtime? i can't seem to figure out a way to do this.

0
54
Member Avatar for edk1986

sir,i am doing a web based application with front end ASP.net and back end microsoft SQL server.i need to know how to start doing a web based application.i need to know does designing is first to start or coding.suggest me some website for guide.

0
55
Member Avatar for Edmondo

Hi All I have a problem where I want to open Outlook from a ASP button click which then pass data into the Outlook form from information that has been entered into textboxes by the user. Could anyone point me in the direction of how I might go about passing …

Member Avatar for Edmondo
0
231
Member Avatar for Katherine87

I have problem With My Calculator in ASP.NET C# in Microsoft Visual Web Developer 2008 Express Edition : web application not windows application the code: [CODE] protected void Button2_Click(object sender, EventArgs e) { //Double F1; //Double S1; // Double Re; // F1 = Convert.ToDouble(TextBox1.Text); // S1 = Convert.ToDouble(TextBox2.Text); // Re …

Member Avatar for Nick Evan
-1
123
Member Avatar for Katherine87

I have problem With My Calculator in ASP.NET C# in Microsoft Visual Web Developer 2008 Express Edition : web application not windows application the code: [CODE]protected void Button2_Click(object sender, EventArgs e) { //Double F1; //Double S1; // Double Re; // F1 = Convert.ToDouble(TextBox1.Text); // S1 = Convert.ToDouble(TextBox2.Text); // Re = …

Member Avatar for Katherine87
-2
282
Member Avatar for ajijacobm

hi, I have been doing my ASP.net project in C#.I am a beginner to a programming world.i have Performed executed some sql queries by writing some Connection strings..But i am looking for finding another method,which i could get simpler by calling some function like "studadapter.fill(dataset,"src table")" which is to fill …

Member Avatar for ajijacobm
0
158
Member Avatar for moroshko

Hello ! Could you please point me to a good C# tutorial for drawing 2d graphics like Ellipse and Rectangle (that inherit from Shape) on a Canvas using WPF ? I'm also interested later to click on shapes and identify which shape was clicked, and also to drag and drop …

Member Avatar for jamesonh20
-1
152
Member Avatar for ajitkumar26

HI, I want to Display Confirm box after certain condition using c# code. is there any tool avaolable for that. and also, while using Javascript alert the page getting blank. [code] if (!Page.IsClientScriptBlockRegistered("mytest")) Page.RegisterClientScriptBlock("myrest", "<script> window.alert('Hello')</script>"); [/code]

Member Avatar for reach_yousuf
0
76
Member Avatar for jpegny

Hi, I'm using visual studio 2008 and it's built in development webserver, with C# as the codebehind language. I'm trying to make a simple webapp in which you click a button which sets a session var (that part is working) and in the pageload i'm checking to see if it's …

Member Avatar for Ramesh S
0
81
Member Avatar for mohittripathi

how to add a circle,square on an image on an imagemap?i want to create a new circle smalll one wid text on an existing image and create tat circle whenever i get tat coordinate position.also how to find coordinates of image point in runtime...in asp.net..i used drawing,graphics class but no …

Member Avatar for Ramesh S
0
25

The End.