Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > april 2007 > threads for tuesday april 10

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

New Browser Window = New SessionID?
Posted by Jerad Rose at 4/10/2007 11:57:47 PM
I have searched high and low, and I can't find anybody having this problem, so I'm sure it's something really simple I'm overlooking. In fact, I've seen many posts of people trying to set up the exact problem I'm having. My ASP.NET (2.0) SessionID is being reset every time I start a new brow...more >>


Deployment issue: The submit button event doesnt fire on server.
Posted by Sparky 7177 at 4/10/2007 11:02:01 PM
Hi, I am facing one deployment issue, I have 3 aspx pages one for Login, other for search request form and the third for displaying the results. After it was working fine locally I deployed it on a local server. But after deploying the Submit button event of search request page doesnt get f...more >>

ASP.NET Web Application (Licencing and Copy Protection Methods)
Posted by Sylvia A. at 4/10/2007 10:52:10 PM
Vs.Net 2005 + IIS 6.0 + Framework 2.0 + Asp.Net Web Site After Installing my peoject to my Customer's server, How can I prevent my web application being copied by other people, How can I prevent my webb app. being decompiled by decompilers ? Can I use Obsufactor for my webb App. ? If ...more >>

why isn't this css applyed?
Posted by Jeff at 4/10/2007 10:14:35 PM
ASP.NET 2.0 Below is a css, skin and a markup part. I wonder why the #compose .desc class isn't applyed to the TableCell object (cssClass=desc). This works if I only use .desc (remove the #compose word from the css class definition)... In the markup below the css class is defined in the ski...more >>

Calling a javascript function from .aspx.cs file
Posted by moni at 4/10/2007 9:59:05 PM
Hi, I wanted to call a javascript function function showAddress(address) { ..... } from the aspx.cs file from the Gridview_RowCommand function protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { ...... //got a string value a //showAddress(a); } Ho...more >>

understanding XSLT
Posted by MichaelRKramer NO[at]SPAM gmail.com at 4/10/2007 7:18:20 PM
Hi, I'm new to dotnet 2.0, but I'm an expert in asp 3 or classic asp. Most of my sites are all done with XSLT and ASP which basically writes XMLs. Now I'm reading about the new cool stuff in visual studio 2005. How does VS 2005 or .net 2.0 work with XSLT's? Is what I've been doing the best p...more >>

Multiple Content Panes / Forms Tags
Posted by MikeB at 4/10/2007 7:17:28 PM
Hello, I have a content page that is from a Master page which has 2 content panes. How do I add my forms to the content page? Each pane needs a form but you can not have multiple form tags nor can the form tages be outside of the content tags? Does this make since? Below is my source t...more >>

Login
Posted by Mukesh at 4/10/2007 6:52:47 PM
HI I am working on a webproject in .net2.0 I have to logged out the user programitally not by using inbuilt login ctrls How can i do this ...more >>



The current configuration system does not support user-scoped settings.
Posted by Steve Kershaw at 4/10/2007 5:30:28 PM
Hi, I keep on getting this error: "The current configuration system does not support user-scoped settings." I'm trying to use a DLL that I have developed previously. When I try to access a public method in that DLL I get this error. I know it's probably a configuration setting somewhere, bu...more >>

build fails with ModalPopupExtender when controls have event handlers
Posted by BillE at 4/10/2007 4:30:47 PM
I have an asp button and an asp listbox control in a panel which is the PopupControlID for an Ajax ModalPopupExtender. It all works great until I create an event handler for the button control, and then the build fails - before I even put any code into the event handler. When the build f...more >>

SOAP requests
Posted by Jay at 4/10/2007 3:52:45 PM
Hi, I would like to develop peice of code, which will send the SOAP requests directly to the web services. Which namespace or class in dotnet will enable me to post direct SOAP requests to the web services server? Thanks in advance for the help. --Jay ...more >>

Asynchronous Programming in ASP.NET
Posted by senfo at 4/10/2007 3:05:19 PM
I recently read an MSDN article by Jeff Prosise titled, Scalable Apps with Asynchronous Programming in ASP.NET (http://msdn.microsoft.com/msdnmag/issues/07/03/WickedCode/). In the article, Jeff discusses scaling problems that some users experience with ASP.NET applications. The problem, Je...more >>

Help getting at value of HiddenField in a UserControl (.Net 1.1)
Posted by RSH at 4/10/2007 2:59:00 PM
I have a situation where I have a user control (Called TopOrangeMenu) that has an Hidden HTML Field called "txtU" I am trying to get at the value of that hidden field control from within the User Control. Hidden Field Control as it apears in the HTML of the User Control: <INPUT id="txtU" ...more >>

Problem with Focus method with iehp.exe on thin client
Posted by John Austin at 4/10/2007 2:32:03 PM
The HP t5520 Windows CE based thin client comes with a browser called 'Internet Explorer' - iehp.exe. It appears to have Java script (Request.Browser.JavaScript = True). I want to use this browser in conjunction with a 'keyboard wedge' magnetic card reader (and no keyboard) to record the arr...more >>

Adding HTTPMODULE for certain pages
Posted by Bac2Day1 at 4/10/2007 2:31:28 PM
I've got a HTTPMODULE that I need to be included on some pages within my site, but not others. This will allow security (the purpose of the module) on most parts of my site, but I need to bypass loading the httpmodule on web services within my site. I do not have direct access to manipulate th...more >>

Using Master pages....
Posted by Steve Kershaw at 4/10/2007 1:59:11 PM
Hi, An easy question but I'm a newby. I have a master page (.master) that has buttons on it. When clicked I need these buttons to start up a web page (OnLoad()) method. How can this be done? ...more >>

Session Timeout problems-web.confg session state and IIS session s
Posted by RobHK at 4/10/2007 1:54:01 PM
I have two websites setup on an IIS Server. In the web.config files i have <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="120" /> <!-- GLOBALIZATION This...more >>

VS 2005 <Body> and <Div> tag scroll properties
Posted by Dedge at 4/10/2007 1:42:01 PM
Unlike 2003, VS 2005 issues errors when the <body> tag includes the scroll= attribute and when asp:Panel or <div> tags specify the onscroll event. What is the preferred 2005 technique to implement this functionality? TIA ...more >>

System.Web.Security.ActiveDirectoryMembershipProvider not installed
Posted by rroden NO[at]SPAM gmail.com at 4/10/2007 1:04:08 PM
C:\WINDOWS\assembly \WindowsSystem.Web.Security.ActiveDirectoryMembershipProvider isn't being installed with .net 2.0 or 3.0 on any of my systems. What am I doing wrong? ...more >>

Casting to System.Guid
Posted by Jeff at 4/10/2007 12:37:35 PM
ASP.NET 2.0 In the code below, the reader has a column named "Id". The MsgInfo class needs that value sent into its constructor. But MsgInfo need it as a System.Guid datatype. How do I convert this "Id" value to System.Guid datatype?? protected virtual MsgInfo ReadMessage(IDataReader rea...more >>

ASP.NET and Executables
Posted by (ken.beaudry NO[at]SPAM wpg.faneuil.com) at 4/10/2007 12:31:37 PM
I hope that someone can answer this. I work in a call center, and we are upgrading some of our systems. I need to find out if there is a way for an ASP.NET page to call and execute an EXE file on the local machine. Our new dialing platform is web-based and no longer client-side. Some of ...more >>

master pages
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/10/2007 12:25:45 PM
I have created a master page and I have contentplaceholder on that master page. I have a aspx page and I select that aspx page with master page. Later on I add one more contentplaceholder in master page but my aspx page doesn't show that second contentpageholder in html because I already attac...more >>

GridView overriding InitializePager
Posted by Andrew Robinson at 4/10/2007 11:41:41 AM
I am overriding the InitializePager method on a grid view and displaying a customized pager. Is there any way to insure that the method is always called even if the number of rows is less than the page size? One of the functions that I am adding is the ability to change the page size but once ...more >>

GET/POST in ASP.Net
Posted by MikeB at 4/10/2007 11:13:30 AM
Hi, for an assignment I have to write a function that can write to a database and then also update the data. I would like to use the same web form (page?) to write the data as the one to update the data. All I want to have different is to display some fields as protected and hide the password ...more >>

Reference required to assembly App_Code.
Posted by cgambino at 4/10/2007 10:58:03 AM
Hello, Sometimes on our production servers using the WSP ASPX/VB deployment model, we will run into a problem where we get a message simlar to the following: Compiler Error Message: BC30007: Reference required to assembly 'App_Code.a3xnatsf, Version=1.0.2453.33287, Culture=neutral, PublicK...more >>

databinding for datetime datatype
Posted by Pen Juan at 4/10/2007 10:52:05 AM
How to define databinding for 'datetime' data type ? ( Xxx = '<%# Bind("Datetime") %>' ) Thank you. Pen...more >>

URL rewrite - anchor issue
Posted by sri_san NO[at]SPAM mailcity.com at 4/10/2007 10:43:34 AM
Hello, I am using the URL Rewrite module from - http://msdn2.microsoft.com/en-us/library/ms972974.aspx I am trying to figure out how to pass on the anchor information to the rewritten URL. For example, The URL http://domain.com?id=12323#header should be rewritten to http://domain....more >>

Asp and Application.lock
Posted by Jennifer.Berube NO[at]SPAM gmail.com at 4/10/2007 9:00:32 AM
What is it exactly that makes application.lock such a bad thing? I just need a better explanation or link to a resource desribing it's downfall. ...more >>

ASP.NET 2.0 control into classic asp?
Posted by doomsday123 NO[at]SPAM gmail.com at 4/10/2007 8:46:27 AM
Is it possibly to develop a control, for example a search textbox with a search button, and adding it into a classic asp page? ...more >>

scaling my chart
Posted by rodchar at 4/10/2007 8:42:03 AM
hey all, first of all, i'm not sure if this is the best forum for the Office Web Components so if there are suggestion please advise. now, my question is i have a bar chart that only has 2 bars and one bar's value is thousands more than the other so the chart shows one really tall bar and ...more >>

Databinding to a listbox and a textbox
Posted by zdrakec at 4/10/2007 8:37:46 AM
Hello all: Clearly, I'm not getting it! Here is the scenario: On a web page, I have two list boxen and a text box. The first listbox is populated at page load time (if it is not a postback). This listbox has AutoPostback = True. When the user selects an item from this list, the second listb...more >>

How to move development site to new server
Posted by ssg31415926 at 4/10/2007 8:29:55 AM
I have a few sites which I'm developing on a remote dev server using VS2005 on my local machine. I have to move them to a new server. Is there an easy way to move them? Can I just copy the virtual directory from one server to another and do Open Web Site or do I need to do more? ...more >>

How to Assign JavaScript variable to Jsp Variable
Posted by Ranjan at 4/10/2007 8:27:08 AM
Hi, I want to assign javaScript variable to JSP variable. <Script> var conf=Confirm("Mess"); if(conf) { <% String str=conf; /// line 1 %> } else { } i know line no 1 is wrong. i did this way also. <% String str ="<script>document.writeln(conf)</script>...more >>

Problems deploying membership on a hosted environment
Posted by Iván Sainz at 4/10/2007 7:28:03 AM
I ran the aspnet_regsql.exe tool with the -sqlexportonly option to create the script. I searched and replace the string [dbo] by [mySchema] and had the dba's run the script. When I do anything like Membership.CreateUser or click on the 'security' tab in the website admin tool I get... Could no...more >>

Strange problem - page output contains output from another request
Posted by Paul at 4/10/2007 7:21:06 AM
Hi all, I've hit a strange problem with my ASP .NET site - occasionally when I go to a page, it will have part of another request's output mixed in with my output. This breaks the HTML on the page, and potentially exposes the personal information of other users. I'm using ASP .NET 2.0 with ...more >>

COM Interop Via Web
Posted by Tyler Allbritton at 4/10/2007 6:20:04 AM
I have a basic web app that is using Word (I know, big no no) to fill out a Word Template based on form input and save the resulting document to SharePoint. When I'm running the application locally (logged onto Windows Server) it works great. Remotely, it hangs when opening the Word applicatio...more >>

Page Linking
Posted by Pradeep at 4/10/2007 6:08:38 AM
Hi All, I have search results page( with search keyword) with links to that particular pages and small description . When you click on the one of the link the control has to go to specific part of the page where the search keyword is present (first instance only). I cant use <a href =""> sim...more >>

Generating a word document
Posted by yasodhai NO[at]SPAM gmail.com at 4/10/2007 6:05:02 AM
Hi, I developed a web application which contains a text box and a command button. Once if i enter some text and then if i click the command button, the contents in the textbox should be displayed in the header and the footer of the word document. But this is to be done without using the word ...more >>

System.Data.OleDb.OleDbException: Data type mismatch in criteria expression.
Posted by psychomad at 4/10/2007 5:37:01 AM
Please, can someone help me out to solve this error, i've been searching throughout my codes and yet i didnt succeed in finding the error!!!! The Error is: Server Error in '/' Application. -------------------------------------------------------------------------------- Data type mismatch...more >>

Accepting blankspace in regular expression
Posted by sivagururaja NO[at]SPAM gmail.com at 4/10/2007 4:45:33 AM
Hi All, Im using a regular expression to validate user input. This is my expression ([a-zA-Z0-9]{0,50}). This works fine. But 'm using multiline TextBox. It can't accept blank space and a new line character. How can i get it? Help me if you know about it. Thanks, Raja ...more >>

read a ms word doc
Posted by sajithkahawatta at 4/10/2007 4:23:17 AM
i wrote a code to read a doc and display that data on web page. in asp.net i woked properly in my iis ms word is installed in this pc. but when i published in another sever in which there is no ms word instslled it give error in it i used com reference. i want to know is there is a way to read...more >>

Write procedure at the browse closing
Posted by Riky at 4/10/2007 4:14:46 AM
hi, i have a web application. I just want whenever any user close the browser then that time application check whether that user properly logged out or not. If the user does not logout property then browser should not be closed. For this what should i do. ...more >>

ItemCreated Event of datagrid is firing twice.
Posted by archana at 4/10/2007 2:27:35 AM
Hi all, I am having one datagrid whose datasource i set as array. On itemcreated event i am having one counter which i have used to find out how many times item created event is fired. What i observerd is itemcreated event is fired twice than total items present in array. why is it so?...more >>

LOGON_USER & Anonymous Access
Posted by bhavin30 NO[at]SPAM gmail.com at 4/10/2007 1:37:56 AM
Is there a way to obtain user information (using LOGON_USER server variables) when you have set up the security to Anonymous Access? I have tried setting the security to both Anonymous + Window Integrated, without any luck. I'm using IIS 6.0 on Windows Server 2003 Thanks in advance! >bhavi...more >>

How can I implement Incremental find of TextBox by ASP.NET AJAX ?
Posted by it NO[at]SPAM htf.highway.ne.jp at 4/10/2007 12:40:29 AM
Hello. I want to implement Incremental find of TextBox by ASP.NET AJAX . Could you please teach me how to get it ? Thank you. ...more >>

How do I start writing a table to the browser berfore all rows are rendered?
Posted by mortb at 4/10/2007 12:00:00 AM
Hi! I have a really large and complex table. The table may consist of several thousand rows. When I render the table with asp.net web controls the control won't stream out to the browser before the appending of rows is completed. The table is created in a custom web control. I know I can use...more >>

Menu Template Problem
Posted by Kenneth Chan at 4/10/2007 12:00:00 AM
I have created a menu with the following code: <asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" Font-Names="Verdana" Font-Size="X-Small" Orientation="Horizontal" ...more >>


DevelopmentNow Blog