13,936 Topics

Member Avatar for
Member Avatar for woodsrr

An application I developed has its session variables reset within 5 minutes. My session variables were timing out when I was connected to a asp state server so I switch session state mode to SQL with the hope that it would fix my problem. Now I'm getting a different error. …

0
56
Member Avatar for ace_almario
Member Avatar for PierlucSS

I've been working on something with alot of iteration (foreach) and now that everything is working I'd like to optimize it by changing it to link. Currently I am trying to translate this foreach code to LINQ [CODE] int count = 0; foreach( string file in Directory.GetFiles( path )) { …

Member Avatar for PierlucSS
0
145
Member Avatar for jellybeannn

Hi everyone, I've got a shopping cart with a total amount label, this works perfect with the products, if a product quantity is changed the label also changes. I have a shipping type drop down list determined by which region the user is, I would like the total amount label …

Member Avatar for vuyiswamb
0
107
Member Avatar for amitshrivas

Hi to all.. i have some doubts in my mind that what should i remember when i uploaded a asp.net website to live server and also if i use database then what precautions should i take so that my website will not hamper with these issuess..

0
66
Member Avatar for gptArun

Hey all, In sharepoint , where "personal/administrator" folder exists ? [url]http://xxxxx/personal/administrator/default.aspx[/url] I searched out whole Microsoft Shared folder, but didn't found either "personal /administrator" folder or default.aspx (other than control folder, which is predefined ASP controls ) Regards, gptArun

0
77
Member Avatar for gptArun

Hello there, I am developing sharepoint web site with ASP.NET . Stucked in home page design [didn't found home page]. I found default.master.aspx file but it changes all pages design. You have any idea ? googled out but didn't find nearby result. :( regards

Member Avatar for gptArun
0
215
Member Avatar for dpreznik

Dear friends, I have a tab container with many tab panels in it. In each tab panel, I have a GridView which has an Edit button in each row. When Edit button is pressed, it turns into an Update button, and all fields become editable. When the Update button is …

Member Avatar for dpreznik
0
884
Member Avatar for Connavar

Hi guys and gals I am new to the forums and was referred here by some friends. I am creating a site for a Xerox partner, and I am trying to pull content (a certain div) through, from the Xerox site, to mine, without pulling through the entire site. I …

Member Avatar for Connavar
0
116
Member Avatar for mIssy_ricco

I've been trying to pass the url from previous page that i was at. But lets say from a different web to my web. i've tried [CODE]Page.Request.UrlReferrer.ToString[/CODE] but it seems like it only works within the same web project only. any ideas?

0
63
Member Avatar for brotherlc61

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" 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 id="Head1" runat="server" > <script type = "text/javascript" src = ""> function click() { new Ajax.Request('Handler.ashx', { method: 'get', onSucess: function transport() { var response = transport.responseText(); var Obj = response.evalJSON(true); for (i …

0
90
Member Avatar for fiaolle

Hi I have trouble understanding, when I have to override and why I have to override. I'm using a WebUserControl I tried to use [CODE]Protected Sub Overrides OnPreRender(ByVal writer As System.Web.UI.HtmlTextWriter)[/CODE] but then I get the error [QUOTE]sub 'OnPreRender' cannot be declared 'Overrides' because it does not override a sub …

Member Avatar for kvprajapati
0
182
Member Avatar for FidoNZ

Hi, I have set the content of a listbox through databinding. [CODE] myListBox.DataSource = myDataSource myListBox.DataTextField = "column01" myListBox.DataValueField = "column02" myListBox.DataBind() [/CODE] I have then set the selected index of the listbox using a loop [CODE] Dim myValue As Integer = [I]someValue[/I] Dim myListItem As ListItem = New ListItem …

Member Avatar for kvprajapati
0
75
Member Avatar for jascook

Hi all, I've uploaded my asp.net site to my ISP. It works fine locally on VWDE 2005, in that I can create users, assign them to roles, and control role access to website folders etc. Obviously this is all with SQL 2005 Express on my PC. When I upload it …

0
87
Member Avatar for woodsrr

I’m stumped! I have an application I developed which has its session variables reset at odd times with no perceivable reason. I have a dedicated server; I have the .net session state service running. I have the following code in my web.config file [code=VB] <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="45"/> [/code] …

Member Avatar for woodsrr
0
90
Member Avatar for Lagnajeet Sahu

When to use WCF and when to use Web Service? Would it be possible to call a WCF service from Javascript ??

Member Avatar for Ossehaas
0
74
Member Avatar for b1izzard

Hi to all, I have installed VS2008 pro in Xp sp2 pro. I have a problem with positioning of the controls while in the Design mode during a webpage development. Whenever I Add a "BUTTON" or any control in the form and want to drag it anywhere within the form …

Member Avatar for amitshrivas
0
99
Member Avatar for amalashibu

Hi, I had a problem when display the total amt from sql to textbox ------------------------------ create table get(Currentdate varchar(200),Expenses varchar(200),Amount decimal(38,2))-this a table ------------------------------ asp.net codings -------------------------- mycomm.CommandText = "SELECT sum(Amount) from get" dr = mycomm.ExecuteReader While dr.Read() TextBox6.Text = dr.GetDecimal(2) End While dr.Close() -------------------------------------------------------------- Error: Index was outside the …

Member Avatar for amitshrivas
0
175
Member Avatar for Pankaj18

Hi, I am using RegularExpressionValidator to validate EmailID where ValidateExpresion is:: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Actually i want to validate EmailID that can also contain spaces. example:: < [email]raman@gmail.com[/email] >,<raman@gmail.com>,< [email]raman@gmail.com[/email]> I want to validate all of the above Email IDs as Valid. Please help me Thanks in advance

Member Avatar for woodsrr
0
113
Member Avatar for ja3_bhende

I am usind ajax modal popup extender control.I used following code. </cc1:ModalPopupExtender> <asp:Panel ID="pnlConfirm" runat="server" Width="328px" Visible="False" CssClass="modalBackground" > <asp:Label ID="lblConfirm" runat="server" Text="No employee is marked as absent,do you want to continue?" Width="409px"></asp:Label><br /> <br /> <asp:Button ID="btnYes" runat="server" Text="Yes" CausesValidation="false" UseSubmitBehavior="false" CssClass="button" Width="34px" /> <asp:Button ID="btnNo" runat="server" Text="No" CssClass="button" …

0
78
Member Avatar for loverose420

[B]Please help me with this problem i need a tab control on a web page , pls guide me how to design it and if possible with a short example , thanks in advance to everyone [/B]

Member Avatar for vijaykathir
0
135
Member Avatar for shabanab

[QUOTE=reach_yousuf;727359]Master Page [CODE] <%@ Master Language="VB" AutoEventWireup="false" Codebehind="MainMaster.master.vb" Inherits="Focus.MainMaster" %> <%@ Register Src="WebUserControl1.ascx" TagName="WebUserControl1" TagPrefix="uc1" %> <!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"> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <uc1:WebUserControl1 ID="WebUserControl1_1" runat="server"></uc1:WebUserControl1> <div> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Button ID="btnMasterPageButton" runat="server" Text="MasterPageButton" /> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> …

0
68
Member Avatar for Lagnajeet Sahu

I have come across a requirement to dynamically show or hide asp.net web controls , html server controls. I want to do this through a configuration XML. So each page /aspx will have a configuration xml. Would it be possible to create a control (may be a custom control , …

0
106
Member Avatar for aravinda reddy

I am getting this error when i am accessing my pages from virual directory. The virtual path '~/Masterpage.master' maps to another application, which is not allowed. Could anyone resolve this problem.

Member Avatar for Renukavani
0
103
Member Avatar for yaninea

Hi! Does anyone knows how to add a radiobutton to a dynamic gridview that will be mutually exclusive? "In the GridView, the radio buttons cannot be grouped and therefore are not mutually exclusive. That is, an end user is able to select multiple radio buttons simultaneously from the GridView." One …

0
70
Member Avatar for HernanBogantes

Hi, I really need your help. And I really will appreciate it also. By using ASP.NET I need to show in a Label or in a gridview control the output parameter of an “Stored Procedure” ERROR: Parameter 'RESULTADO' not found in the collection. PLEASE Help ‘**************************************************************************************** DELIMITER $$ DROP PROCEDURE …

0
111
Member Avatar for user1980

Hello there... can somebody guide me on this… I have a panel (say, panel1) inside another panel (say, outer-panel)….The panel1 is visible only when a checkbox is checked in the outer-panel. I have many text boxes in the panel1. I have to put a validation on all the boxes. I …

Member Avatar for user1980
0
188
Member Avatar for Eleqtriq

Well I'm currently creating an application that will subscribe to youtube channels that you are interested in. I run a check to first see if you are already subscribed to the channel, but I sometimes receive an alert box saying you are already subscribed. I couldn't leave this bot on …

0
55
Member Avatar for Ali.M.Habib

Hi All, I have data repeater , I want depending on value of one of its contained label , highlight the row , how can I do that Unffortunatelly in asp.net 1.1 there's no e.item.css = "" what shall I do

0
57
Member Avatar for lukeduke

Hi there, I have an application with a large number of pages, often with forms, and on the master page I have a search box. When a user fills out a form, then presses enter, rather than submit the form, it submits the search. Is there any way I can …

Member Avatar for llarose
0
97
Member Avatar for casmir.dominic

Is it possible to add a user in a specific domain through coding in asp.net.My code behind is vb.Please give me syntax. As of now, i ll give u a reference coding Sub AddUser(ByVal folderPath, ByVal userName) 'creating a account in the active directory so that the particular account can …

0
58
Member Avatar for bha11

i am completly new to this programming language,but i know the features of the .net that wht is c#,asp.net and sql server.and presently working with s/w company where i need to work on ajax plzzzzzzzzzzzzzz suggets me how will i do

Member Avatar for amitshrivas
-1
83
Member Avatar for gcoleman0828

I am looking to DYNAMICALLY use the Edit button under the SqlDatasource to update a GridView. The reason for this is that the data that will be upddated to dynamic table names and tables that are different sizes dependent on what month it is (since different months have different days …

Member Avatar for amitshrivas
0
89
Member Avatar for sprock

hi friends.. i am doing asp.net project.. in that project in login page if any one enter wrongly more than 4 times username or password means i want to show dummy page that time i need to save that person IP Address and his details...my Question is how can i …

Member Avatar for amitshrivas
0
181
Member Avatar for sniigg

I have a piece of code which is used by several aspx.cs pages and I want to put that code in a separate page so that all these pages access that separate page. I dont think i can use classes for this....

Member Avatar for amitshrivas
0
102
Member Avatar for farooq82

Hello Everyone, I want to know a few thing. How we emended javascript in ASP.net. Please write example code. How would I that you open a pop windows and when i close this pop windows is automatically refresh parent window

0
52
Member Avatar for amitshrivas

i have created some tables in XML which perform all DML operations perfectly. now my question is how can i give security to these tables as we get in databases(sqlserver,oracle).. Please help me out in this..and try to give anwser in simple way

0
56
Member Avatar for carlakawill

Hi All I am currently creating a website usng asp.net and C#. I have written code to make a simple user login. This just checks my database to match an inputed user name and password and if it returns any rows redirects to the home page. Ive now extended my …

Member Avatar for hamer.mike
0
109
Member Avatar for rambok4

guys, is it possible to connect a VB6 app to a asp.net page. My friends are making a vb6 app and now they realised they need some web connect as well. I want to know if it is possible to connect vb6 apps and asp.net page. They would use Visual …

Member Avatar for vb5prgrmr
0
156
Member Avatar for Hina saham

plz help me ..hw can i add my page.aspx with BBL class? means hw can i insert record in database plz hepl me.

0
55
Member Avatar for Ana D.

Hi, In my asp.net page, I have the following line inside an UpdatePanel: <input type="text" id="userInput" onblur="DisplayWord()" onkeyup="SearchWord(event, this.value)" /> Is there a way to retrieve the input value in the code behind (VB.NET)? Thanks, Ana

Member Avatar for emmbec
0
71
Member Avatar for Mych

Hi I'm trying to format a datetime field to just show the date. The datetime is bound to an asp:label and for the Text attribute I have tried the following.... [code] Text= String.Format("{0:D}", '<%# Bind("CReviewDate") %>') and Text= String.Format("{0:D}", <%# Bind("CReviewDate") %>) and Text= String.Format("{0:D}", <%# Bind('CReviewDate') %>) and Text= …

Member Avatar for Oxiegen
0
103
Member Avatar for jcb0806

I just did a simple practice project to learn more about querystrings... I have three check boxes and a button. Checkbox1 is titled red, Checkbox2...white, Checkbox 3...blue. When I click the button 1, I just want the page to redirect and pass the values of the checked boxes to the …

Member Avatar for Ossehaas
0
92
Member Avatar for unknowndevil41

Hi friends, i have made an website and running it through iis after publishing. But is showing an error: [COLOR="Red"]Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and …

Member Avatar for Ossehaas
0
170
Member Avatar for kavithaje

i need help to create website for online test using asp.net with c# coding.. it shld consists of question with multiple answer choices

Member Avatar for _V_
0
1K
Member Avatar for dotnetvally

how to give print in asp.net page for a specific area only that is in a webform only certain div area should be printed in a webform

Member Avatar for Ossehaas
0
58
Member Avatar for Haich

I have set up a datagrid on my vb.net form for a MS access database. I have a listbox where i want to show only 1 column of data from the datagrid, which should be updated when the contents of the database changes. Please help ASAP. Dataset = Minicab_DatabaseDataSet Datagrid …

Member Avatar for Ossehaas
0
59
Member Avatar for Ajith S Kulgod

Hi , I am running a windows setup file . I have included an exe file within an installer . The following error is coming "Error 1500.Another installation is in progress. You must complete that installation before contiuing this one." Regards Ajith S Kulgod

Member Avatar for Renukavani
0
63
Member Avatar for Archana.K

I have written a program to insert the values into datbase and a field named SNO which should be auto incremented whenever an insert happens. I have aready created a table but did not set SNO as increment!! Kindly help to set this constraint in SQL !! Query: Alter table …

Member Avatar for Renukavani
-1
85
Member Avatar for nrsh_ram

hi to all.... actually i m facing a problem..i had convert the vb to c# code using [url]http://www.carlosag.net/Tools/CodeTranslator/[/url] wen i try run it ..i get the error... here i copied the small part of VB code...that i face the error [CODE] Private Sub GenerateImage() ' Create a Bitmap Object Dim …

Member Avatar for Renukavani
0
124

The End.