Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~8K People Reached
Favorite Forums
Member Avatar for Siberian

How come the last condition is executing, instead of the first ? Why isn't the while loop working ? document.prompt("hello there") if (i==2 || i==4 ) { document.write("smart"); while(i>6){ } if(i=8){ document.prompt("can you ask me again"); }}else (i>=9){ document.write("you are a lemon"); } //document.write(" I want to buy an apple …

Member Avatar for Siberian
0
189
Member Avatar for MaddTechwf

When I run the code below it fails. I've run the exact same code without the ID appended to the url and it worked just fine. Am I appending it incorrectly? // CALLS THE PHPSLQAJAX_GENXML2 PAGE AND RETURNS VALUES function downloadUrl(url, callback){ var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : …

Member Avatar for MaddTechwf
0
207
Member Avatar for MaddTechwf

I've got a list of hyperlinks that have a specific class assigned to them of "single-location". I need to add an EventListener to my Google Map that when a hyperlink is clicked, it will call the correct function. Can anyone help me?

Member Avatar for MaddTechwf
0
161
Member Avatar for Michaeloco

Hey, As you can see i have a function to retrieve the product description based on product code. For some reason this is refusing to return a value even though the value im entering into test is there in the table, i can see the value of the input enters …

Member Avatar for Freon22
0
97
Member Avatar for soft_coder

Hi! I am a .NET developer. I have two consecutive web parts. Each webpart is inside an update panel. So the scenario is like there are two update panels one after the other. The problem I am facing is when one is fired the other is also firing. The code …

Member Avatar for soft_coder
0
107
Member Avatar for primagic

I need some help with parsing information from a query string to a database. There is a company that wants to send me information to a page on my server as a query string (http post) e.g. [url]www.mydomain.com/info.aspx?Name=Smith&LastName=Taylor[/url] They will send probably about 15 different strings of information a day. …

Member Avatar for Freon22
0
85
Member Avatar for rameshreddyg

Hi, I am trying to hide a table based on its id on clicking a button. function showTable() { var reasonTable = document.getElementById("reasonTable"); if(reasonTable.style.display == "none") { reasonTable.style.display = "block"; reasonTable.style.visibility = "visible"; } } <form id="MyForm" method="post" name="MyForm"> <TABLE id="reasonTable" style="visibility: hidden; display: none;" WIDTH="612" CELLPADDING="0" CELLSPACING="0" ALIGN="center"> <TR> …

Member Avatar for Freon22
0
329
Member Avatar for cavpollo

Hi there, I got this annoying problem... I have to create dynamically an image control that has got to be accesses later through javascript. In other words, I got an image that was created in the page code, and using javascript I got to be able to work with it …

Member Avatar for cavpollo
0
670
Member Avatar for abrarHuniedi

If I have tow textbox and 2 button first button ok and secon is clear or reset how i can clear the input and input another values??

Member Avatar for harrypinto11
0
129
Member Avatar for sachintha81

I have a simple ASP.NET page where after the initial page load the user enters a username and a password to two text boxes. Note that I can not use the built-in login control in ASP.NET, as my purpose of using this username and password is slightly different. Now, I …

Member Avatar for vuyiswamb
0
235
Member Avatar for subhankar02dey

I have a listbox in which there are 100 items. The items of the listbox is being populated from database. Now after selecting an item, if I click any button(sending request to server), then though the selected listbox items is kept selected, but if I had selected say 70th Item, …

Member Avatar for Freon22
0
107
Member Avatar for opspl_programme

Hi Everyone ! I have 2 DropDownList controls inside an UpdatePanel. The first is a dropdown for [B]Country[/B] while the second is for [B]State[/B]. I have set the properties of Country as AutoPostBack="True", OnSelectedIndexChanged ="PopulateState". Selecting a different Country fires the [I][U]PopulateState[/U][/I] function causing the the State to populate itself …

Member Avatar for Freon22
0
2K
Member Avatar for Geek-Master

Hi Everyone, I've got an online form that is broken up into several different sections and some of these sections will ask questions where multiple values can be supplied. For instance someone's address or information about their education. Just for simplicity I'll focus on someone's address and I want to …

Member Avatar for Geek-Master
0
108
Member Avatar for k1robert

I have a DropDownList that is populated from an ObjectDataSource [CODE] <asp:DropDownList ID="ddlDepartment" runat="server" AutoPostBack="True" DataSourceID="odsGetDeptByFaculty" DataTextField="Dept" DataValueField="FID" onselectedindexchanged="ddlDepartment_SelectedIndexChanged"> </asp:DropDownList> <asp:ObjectDataSource ID="odsGetDeptByFaculty" runat="server" SelectMethod="usp_GetDeptByFaculty" TypeName="DataLayer.StoredProcs"> <SelectParameters> <asp:ControlParameter ControlID="ddlFaulty" Name="fCode" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:ObjectDataSource> [/CODE] My problem is when I run the program and select the option from the dropdownlist …

Member Avatar for Freon22
0
165
Member Avatar for riahc3

Hello I want to use a CustomValidator using ASP.NET/C# to make sure a textbox isnt empty (no spaces, no blanks, no nulls, etc) How do I do it? Thanks

Member Avatar for Freon22
0
825
Member Avatar for alokas88

I want to learn ASP.net and VB.net . Can anybody reccommend a proper site or some resource so that i can start from scratch . Something like w3 schools .

Member Avatar for mjhurdle
0
113
Member Avatar for subhankar02dey

I want to populate a drop down list fetching data from database along with a "select" listitem at the top of the srop down list. I am using dropdownlistname.items.add("select","0") and dropdownlistname.items.insert("select","0") and then i am fetching data from database in a dataset and then binding the data into the drop …

Member Avatar for Freon22
0
133
Member Avatar for ajwei810192

Hi, I wonder if anyone has tried to have multiple subroutines in ASP.NET and have one call the other. For example, if the first one is called message(), and second is login(), if login() tries to call message(), how do you do that? Or, is this not a common practice …

Member Avatar for Freon22
0
118
Member Avatar for born star

can somebody tell me how does data reader work in following list and what will the result of............if(dr.Read()).. [CODE] public List<clsproductprp> RetFind_rec(clsproductprp prp1) { SqlDataReader dr=null; List<clsproductprp> obj = new List<clsproductprp>(); SqlCommand discmd = new SqlCommand(); try { if (con.State == ConnectionState.Closed) { con.Open(); } discmd.CommandText = "spFindFromProduct"; discmd.CommandType = …

Member Avatar for sebastian3
0
75
Member Avatar for fiaolle

Hi I am worthless in CSS. My boss doesn't want me to use <br> or table. I have a datalist and a div which is relative, like he said I should have. Then I placed spans which are absolute and with top and left. It works fine when there is …

Member Avatar for fiaolle
0
124
Member Avatar for dpreznik

Dear experts, I have a GridView with an invisible CancelEdit button. I want to use this button to get out of Edit mode. When I make this button visible for testing purposes and press it with the mouse, it works fine, getting me out of Edit mode. But I need …

Member Avatar for dpreznik
0
99
Member Avatar for KingVampire

Hello, I am making a web page and I want to make it 100% fluid, which means that I want to resize the images when the browser window is resized. I just need to know how to get the Panel width in px with c#. I am using master page …

Member Avatar for Freon22
0
86
Member Avatar for born star

hey.........i m new in asp.net ....and following is the class library.... ........can somebody tell me the working of the following code like why catch{} is used why finally is used and all this [CODE] public abstract class clscon { protected SqlConnection con = new SqlConnection(); public clscon() { con.ConnectionString = …

Member Avatar for Freon22
0
73
Member Avatar for born star

whats the difference between [code] while(dr.Read()) { } [/code] and [code] if(dr.Read()) { } [/code]

Member Avatar for Freon22
0
48
Member Avatar for BC3

I am using Visual Basic 2008. I am trying to create a web page. I can't seem to get the labels, controls, etc. to let me place them where I want them on the page. I found several articles that suggest to make sure document shows in property window then …

Member Avatar for mitulmodi.rcc
0
84
Member Avatar for Omar123

Hello, I added a button from code and with it i added onclick event. here is the code [CODE] Button button = new Button(); button.ID = link; button.Text = "1"; button.Click += new System.EventHandler(this.button_Click); private void button_Click(object sender, EventArgs e) { System.Web.UI.WebControls.Image im = new System.Web.UI.WebControls.Image(); im.ImageUrl = ((Button)sender).ID; //ID …

Member Avatar for Freon22
0
140
Member Avatar for bharattripathi
Member Avatar for kvprajapati
0
111
Member Avatar for rohitmanhas_12

Need to delete the selected item from the dropdown from the database with the button click.Also when user clicks the delete button i need to show the alert or confirm dialog box for confirmatiuon that user realy want to delete that item....plz help me ...

Member Avatar for Freon22
0
1K
Member Avatar for sumansaha1

Hi, i am using a flag in the database to detect if the user is logged in or not. But this flag is updated only if the user logs in or logs out.If the user closes the browser or somehow gets out of the site without logging out he has …

Member Avatar for Freon22
0
95
Member Avatar for adobe71

I want to generate non-repeated random number. I tried the following code but it generates repeated random number. [code] protected void Button1_Click(object sender, EventArgs e) { Random rnd = new Random(); int n = rnd.Next(1, 100); Label1.Text = n.ToString (); } [/code]

Member Avatar for Freon22
0
191