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 > august 2007 > threads for tuesday august 7

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 31

Accesss User Control Class From Containing Page
Posted by Fred Chateau at 8/7/2007 11:21:34 PM
I am trying to access a user control class, for a user control that is loaded dynamically, from the containing page. I have been able to access Web controls in the user control, but so far I have been unable to expose the user control class itself. I'm guessing that I need to set up an interfa...more >>

Unable to serialize the session state.
Posted by Ross Culver at 8/7/2007 11:12:00 PM
Ok, how do I fix this c$#^? I get this whenever I attempt to run the ASPNet Configuration from within my solution. The stack [SerializationException: Type 'System.Web.Administration.WebAdminRemotingManager' in Assembly 'App_Code.qenbbviu, Version=0.0.0.0, Culture=neutral, PublicKeyToken=nu...more >>

Latest patch parses 1.1 pages with 2.0
Posted by David Cameron at 8/7/2007 10:20:02 PM
Hi, I have a .net 1.1 app. With the latest patch, some pages are being consistently parsed with the .Net 2.0 framework. There is a particular class of page that is being consistently parsed as 2.0. All other pages are fine. 1.1 is the registered framework. Uninstalling the 2.0 framework ...more >>

Row Height
Posted by dancer at 8/7/2007 9:32:05 PM
Using ASP.net 1.1 I have sliced an image in Photoshop, saved it as html code, pasted the code into my asp.net file, then added onmouseover and onmouse out code. All the slices line up horizontally perfectly. Some of the slices line up vertically perfectly. But some have too much space bet...more >>

edit row from datagrid while hiding the record ID
Posted by Dica at 8/7/2007 8:31:22 PM
i need to allow the user to select a row from my dataGrid for editing. as such, i include the record ID in the first column and then extract like so when retrieving the record details: protected void gvLocations_edit(object sender, GridViewEditEventArgs e) { // load the reco...more >>

dividing master pages
Posted by Paulo at 8/7/2007 4:43:10 PM
Hi, how can I divide a master pages in 4 parts? Header, left menu, right side (main) and footer? Just like a frame... On the header will be the a javscript menu, on left a gridview wich the user clicks a item will load the details records on the right (main)... and on the footer something l...more >>

Cache Menu
Posted by MikeB at 8/7/2007 4:29:36 PM
Hello All, I am trying to cache a menu that I dynamically build out and I do not want to have to build it out each time the page loads. Here is how I am doing it however, it doesnt work. Can anyone help? TIA if (Cache["Menu"] == null) { THIS IS WHERE I BUILD OUT THE MENU ITEMS ...more >>

Convert to Web Application
Posted by Rick at 8/7/2007 4:10:47 PM
I'm converting a large web application from VS2003 - VS2005. I right clicked on the web project and selected convert to web application. The conversion created a designer file for each .aspx file. Everywhere in the code behind that we are using me.[controlname]. I'm getting and error: '[Contr...more >>



Buttons and
Posted by TarTar at 8/7/2007 3:11:14 PM
I have two buttons on my ASP.NET 2.0 form: <asp:Button id="btnSubmit" Text="Submit" OnClick="btnSubmit_Click" CausesValidation="true" runat="server"></asp:Button> <asp:Button id="btnCancel" Text="Cancel" OnClick="btnCancel_Click" CausesValidation="false" runat="server"></asp:Button> The f...more >>

How to reset user's password without having to use PasswordRecovery
Posted by Homer at 8/7/2007 2:36:25 PM
Hi, I want to be able to reset a user's password and I do not want to use the PasswordRecovery control to reset and email it to the user. A while back, I thought I'd read an article that mentioned about resetting password using the Website Administration Tool. I could not find such option i...more >>

ASP.NET 2.0 Session State Scope
Posted by Noremac at 8/7/2007 1:48:01 PM
I can't believe I've never noticed this. Is the Session object at the domain level and not at the virtual folder level? I guess I have not done multi-app development at the same time. I am working on two ASP.NET 2.0 web apps that a user will bounce between. I am running these in development...more >>

How to refresh XSD method
Posted by Elmo Watson at 8/7/2007 11:43:59 AM
I have a method in one of my datasets (XSD, in VS.Net 2005) - I have updated the Stored Procedure it uses, but no matter what I do, it only lists the original fields returned, before the stored procedure was updated. How can I update the XSD file, or the Tableadapter, so that it reflects the ...more >>

Test if Object exists
Posted by tshad at 8/7/2007 10:54:44 AM
I have an object that may or may not exist on a page. Therefore, I test for it. But it doesn't seem to work if I do the following: if not HomeLink is nothing then HomeLink.NavigateUrl="http://www.staffingworkshop.com/" I get the error message: ****************************************...more >>

C# open file on windows share
Posted by P4trykx at 8/7/2007 10:15:14 AM
Hello I hace a code that opens a file on a windows share. \\comp1\folder1\file.txt Folder1 has full access for Everyone. I can open it from explorer on my computer (my user isn't on set the server). However when I run this code FileStream file = new FileStream(serverFilePath, FileMode....more >>

How to get DateTime in required format?
Posted by at 8/7/2007 10:14:43 AM
Hello group I am using the now function to obtain the time, however because my server is located in a different locale, I am getting the wrong format - instead of 07/08 etc I am getting 08/07 etc (the American format). Is there a simple way to change this? ...more >>

Interactive utility to help with custom datetime format specifiers
Posted by John Mott at 8/7/2007 9:31:36 AM
Hi all, I've developed an interactive utility that can assist in the development of custom datetime format specifier strings. In addition to enumerating the options it will show how a combined set of options can be rendered. I plan on fleshing out the series to the other format specifier permu...more >>

Doubt Date
Posted by Paulo at 8/7/2007 8:29:28 AM
Hi, how can I return just the date from a DateTime field ? Any C# .net 2.0 / SQL function? Thanks a lot! ...more >>

asp:LinkButton
Posted by Brian at 8/7/2007 8:08:54 AM
I have a page that contains an asp:LinkButton. The purpose of this button is to allow the user to send the current page as an email. My "plan" was to, in the click event handler of the LinkButton, store the html source for the current page in the viewstate and take the user to another page w...more >>

SQLCacheDependency not working - Cache item is always null
Posted by mark4asp at 8/7/2007 7:49:57 AM
Help: SQLCacheDependency not working. When I step through my code with the debugger I notice that the condition below: (cacheItem == null) is always true. I have setup SQLCacheDependency to work with 11 tables in the database. When I update the database without actually changing the "...more >>

How Can Library Code "know" it's hosting application type?
Posted by Smithers at 8/7/2007 7:42:13 AM
I'm writing a code library that needs to be reused between a Windows Forms application and and an ASP.NET Web application. The library needs to do a couple of things differently depending on the type of application the library has been loaded for. What is a reliable and non-hacking way for...more >>

How to get gridview selected row text
Posted by Dinu at 8/7/2007 5:56:06 AM
hi i am having a gridview in aspx page and a usercontrol in master page of that page now what i want is selected row text to be displayed in usercontrol i wrote code as follows: Protected Sub gvwServices_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ...more >>

Help with design of Startup web site
Posted by Startup at 8/7/2007 5:25:43 AM
Hello Guys and Gals I have started web site called indiaclaims.com. I am not happy with the design of the main page. Iam a novice and a non - techie. Can anybody help me with a smart design for my web page: url: indiaclaims.com/index.asp PLEASE HELP and GIVE YOUR INPUTS, HOWEVER SMA...more >>

secure webservice
Posted by patrickdrd at 8/7/2007 1:10:01 AM
Hi everyone! I have built a vb6 app that communicates with a web server to get data from an webservice through the internet (not lan). My question/problem is, 1) how could I make this webservice secure, so that only my vb6 app has access to it and noone else? Should I use WSE or WCF? We...more >>

cyrillic text saved as ?????????
Posted by martin at 8/7/2007 12:56:01 AM
I have asp.net site which needs to sae cyrillic text. I have changed the sql server table column to accept the text and also placed a N in fornt of the sql code to insert it. eg. Insert (text) ( N' some cyrillic text') all works ok from the dev machine and saves ok in database. But w...more >>

Dynamic page updates using XMLHTTP
Posted by Labhesh Shrimali - Bangalore at 8/7/2007 12:30:00 AM
I am using vbscript for calling my webservice. From vbscript I Post XML file/argument to webservice. and i get response from webservice. This is working perfectly when there is no argument. but does not work when my webmethod(In Webserice) takes argument. I repeat: When service give me res...more >>

Html 4.01 strict instead of xhtml?
Posted by Andy Bell at 8/7/2007 12:00:00 AM
Can I stop asp.net from applying self closing tags? I am trying to generate an html 4.01 strict page rather than an xhtml page and the w3 validator is unhappy about asp.net automatically translating this: <link rel="stylesheet" href="SkinStyle.aspx?SkinName=Test" type="text/css"> to this:...more >>

Weird session lost and auto web.config
Posted by SevDer at 8/7/2007 12:00:00 AM
Hi All, I am recently experiencing a weird problem. I don't know what exactly is the cause of the problem but here is my scenario and symptoms. First of all here is my architecture 1. I have a main framework (DNN) build in VB.NET which I try to prevent changing things there (simply not c...more >>


DevelopmentNow Blog