13,153 Topics

Member Avatar for
Member Avatar for bryanhiehle

So my group and i have been working on a ASP.net website for a tech prep showcase. We currently have connected the MS Sql Database that comes with Visual Web Developer. We are currently having a problem gathering data from the SQL Database and seeing if it is equivalent to …

Member Avatar for SolutionExpert
0
86
Member Avatar for rekhad

I would like to thank the moderator for helping me with the code while reading row by row data using datatable and sqldata adapter. I am worried about the speed and performance of my code since I am making round trips to the server,every time I am increment the index …

Member Avatar for kvprajapati
0
114
Member Avatar for morris2k2

It all started like this I created a sub directory in my hosting account, for blog engine 1.5. I then copied all the file from the source to the target sub directory folder which is under my root application. when I lauched this is the error I was getting [B]To …

Member Avatar for kvprajapati
0
105
Member Avatar for sniigg

[code] foreach (string id in str1) { string logoImage = ""; string BundleID = id; BundleSearchResultStruct BundleSearchResult = nbsi.GetProductDetails(guid, "marketingPartnerPassword", Convert.ToInt32(BundleID)); string y = builder1.Append(BundleSearchResult).Append(",").ToString(); y = y.TrimEnd(','); Session["BundleSearchResult"] = y; //some code relevent only to this block } while (reader1.Read()) { //do something foreach (string id in str1) { …

Member Avatar for sniigg
0
95
Member Avatar for nccsbim071

Hi i want implement a windows services scheduled task. I already created windows service. In a service i have implemented a timer.The timer is initialized at class interval. The timers interval is set in the start method of service and also it is enabled in the start method of the …

Member Avatar for zid8ne
0
130
Member Avatar for khan17

hi, im new here. i ve a project to automate a process. for which i ve to navigate to a asp.net web page automatically and then to click a link on that navigated page. im in need of asp.net code to do this. i ve tried like this [code] <html> …

Member Avatar for Geekitygeek
-1
186
Member Avatar for gptArun

Hey All, How to get current user login values ? There is any Session variable or somethings like that ?

Member Avatar for Ramesh S
0
94
Member Avatar for gdp_87

Hi, Is there a way to set a default query string if query string is null? Something like: [CODE] if (Request.QueryString["ID"] == null) { //set default here } [/CODE] Many Thanks Grant

Member Avatar for Ramesh S
0
239
Member Avatar for itslucky

Dear Friends, im receiving a XML file which contain a HTML code in the value of a node.. i have fetched the html code, but now i have to show that on my ASP .NET page. please tell me how can i do that... is it possible to assign that …

Member Avatar for itslucky
0
203
Member Avatar for aniljadhav15

Hi! I'm trying to use ABCpdf.NET to render an HTML page as a PDF. I'm using the AddImageUrl function which works fine on my local machine, but when I run it on the host server I get the following error:Unable to render HTML. Page load timed out. Unable to load …

Member Avatar for AffineMesh
0
149
Member Avatar for kanuri1

hi how to give hyper link to inside of the gridview columns......... here my code is given below but it was not working properly..... please give me the correct code......... [CODE] Private Sub fillgrid() Dim Hyper_Column adp1 = New SqlDataAdapter(" select vendorcode , vendorname as 'Vendor_Name' from vendor_master", con) adp1.Fill(ds, …

Member Avatar for jbisono
0
118
Member Avatar for sluck

[CODE] <asp:TemplateField HeaderText="Grabbelpas"> <ItemTemplate> <asp:CheckBox id="lblGrabbelpas" Enabled="false" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' ></asp:CheckBox> </ItemTemplate> <EditItemTemplate> <asp:CheckBox id="txtEditGrabbelpas" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' /> </EditItemTemplate> </asp:TemplateField>[/CODE] [CODE]CheckBox txtGrabbelpas = (CheckBox)(myDetailsView.FindControl("txtEditGrabbelpas")); strSQL = "UPDATE leden SET LidID = "Grabbelpas = '" + txtGrabbelpas.Checked + "' " + " WHERE LidID = '" …

Member Avatar for Ossehaas
0
174
Member Avatar for shankbond

Hi, I am facing a strange problem here, I am using a webservice to send emails through my website. Strangly when I run the application through VS2008 web development server only one email is sent which is normal, but when I publish the website on IIS then two copies of …

Member Avatar for surenkumar
0
148
Member Avatar for showket

hi,can any one tell me in stepwise how to setup my asp website on LAN. thnks in advance

Member Avatar for nikaso
0
72
Member Avatar for sniigg

Hi, In my application, The user compares few products and clicks on the save button. 1. The comparison should get saved in the db with unique Id. 2. It should generate an URL and present it to the user which shows the saved comparison . I have finished the first …

Member Avatar for reach_yousuf
0
58
Member Avatar for rohitmanhas_12

cud any one tell me how to search particular data from database using data grid..... i had three text boxes for firstname,lastname and age.. and a search button... when i enter anything in any of the first two text boxes i.e either firstname or lastname or both, and enter search …

Member Avatar for rohitmanhas_12
0
349
Member Avatar for ricksvoid

I need some help here. I have a page which I am using the ToolkitScriptManager for the use of some AJAX Calendar Control Extenders, and that works fine. Where I am running into a problem is using the UpdatePanel. I am not getting a partial or any postback on a …

Member Avatar for amitshrivas
0
178
Member Avatar for dawsonz

Hi, I've currently got a gridView which selects data from my table, it also has the URL of an image in one of the columns. I want an imageField which can then display the image from the URL thats provided in the image column. My datagrid: [img]http://i41.tinypic.com/25ivst2.jpg[/img] My code for …

Member Avatar for dawsonz
0
90
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
55
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
106
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
882
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
62
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
74
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
98
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
69
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
107
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
96
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

The End.