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 monday april 16

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

Reading config file other than web.config
Posted by M Irfan at 4/16/2007 11:58:06 PM
Recently I have started working in .NET 2.0. I am developing a web service application that references a DLL component written in C# 2.0. The component has its own config file which contains settings related to business logic coded in that component. I can reference and load the component but un...more >>

problem with custom membership provider
Posted by Ben at 4/16/2007 11:12:22 PM
Hi, i have already posted a more or less similar thread but it's gone unsolved with the flow of the other threads .. When an anonymous user has created an new account (with the CreateUserWizard control), i want to let asp.net generate a password and to send it (AutoGeneratePassword="true...more >>

trouble executing SP, SqlDbType.Bit...
Posted by Jeff at 4/16/2007 10:46:47 PM
ASP.NET 2.0 This stored procedure fails because the variable type contains a number. I've debugged the SP in VS2005 and it works if I change the 0/1 value of type to true/false... How should I fix this?? I cannot just replace type with the phrase "false" or "true"... maybe using SqlDbType.B...more >>

database datatype bit what is the C# datatype?
Posted by Jeff at 4/16/2007 9:32:47 PM
ASP.NET 2.0 I'm wondering what datatype in C# is the same as bit in SQL Server 2005?? Jeff ...more >>

which passwordformat is used by default?
Posted by Ben at 4/16/2007 8:54:18 PM
Hi, when creating a membership with CreateUserWizard, which passwordformat is then used for the password inputted by the user or autogenerated by asp.net (encrypted, clear or hashed)? Thanks Ben ...more >>

ASP.NET Datagrid
Posted by Steven Van Eyck at 4/16/2007 8:34:30 PM
Hi there There are probably lots of questions being posted about datagrids, but I can't resist... ;-) Here's my issue: I have an aspx page with a datagrid in which I manually declare the columns like this: <asp:DataGrid ID="grdCampaigns" runat="server" BorderColor="#73C6EF" GridLines...more >>

Deployment/publish issues
Posted by GaryDean at 4/16/2007 6:12:59 PM
Regardless if I use the Publish feature of vs2005 or the addin Web Deployment Project I can't seem to get the necessary files deployed. For instance my bin directory has several .licx files but neither tool is smart enough to deploy those files so I have to copy them manually after deployme...more >>

Covert string to System.Guid, how??
Posted by Jeff at 4/16/2007 6:01:29 PM
ASP.NET 2.0 I'm wondering how to convert a string into a System.Guid! I have this code where I want to use the convert: Message.DeleteMessage(hidden.Value);. Here DeleteMessage wants an argument of type System.Guid, but the hidden.Value (HiddenField) has stored it as a string. I need to c...more >>



Converting System.Guid to string!
Posted by Jeff at 4/16/2007 5:10:57 PM
ASP.NET 2.0 I have a GridView on my webpage. As one of its columns I've put a HiddenField into a TemplateField. The porpose of this HiddenField is to hold the ID of the row. Each row in the GridView shows a purchase order. This ID column shows the ID of the purchase order. So if the user wa...more >>

Gridview
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/16/2007 4:53:06 PM
Hi, I have a question. I have a gridview in my aspx page. I grabed the data from table. But I want that when I see the aspx page initialy the gridview should be sorted by a column name FirstName in asscending order by default. How can I do that. Thanks ...more >>

DB Value in Label
Posted by rn5a NO[at]SPAM rediffmail.com at 4/16/2007 4:47:08 PM
A ASPX Form has a DataGrid & a Label. The Label resides outside the DataGrid. The DataGrid displays records from a SQL Server database table. The Label should display the value of a column named *CustName* which will be common to all the records that the SQL query will retrieve. This is the cod...more >>

This Membership Provider has not been configured to support password retrieval.
Posted by Ben at 4/16/2007 2:34:48 PM
Hi, When an anonymous user has created an new account (with the CreateUserWizard control), i want to let asp.net generate a password and to send it to the address of the email provided by the new membershipuser in the CreateUserWizard control. i think i need to define a custom provider f...more >>

DataView case sensitive
Posted by Tomo at 4/16/2007 1:41:51 PM
I need to search data in DataView with RowFilter property but I need that searching is case sensitive. How can I do that? ...more >>

EnableViewProperty
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/16/2007 1:15:59 PM
hi, I have a web page and it has three textboxes. It has already some text. When I edit the text boxes and click on Edit button the button supposed to epdate the data in the database. But when I debug it the value of textboxes gives me the previous value not the edited value may be in postbac...more >>

ASP.NET 2.0 <base target=_self />
Posted by mgdev at 4/16/2007 1:02:01 PM
I've got a lot of modal dialog boxes in my web application that do postbacks. Originally my application was developed in VS 2003 and everything worked fine. Now I'm upgrading to VS 2005 and all of the pages that were upgraded by VS appear to be working fine. But any new pages I create to ...more >>

Re: Login failed for user (null). Not associated with a trusted S
Posted by SAL at 4/16/2007 12:49:12 PM
I am having the same problem here as Sherri and am having a difficult time resolving the issue. For security, I've set up the aspnetdb database on a remote server in SQL Server 2000. I have IIS 5.1 running on my machine. My development environment is VS2005 VB. When I run the app in VS, it ...more >>

urgent please help
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/16/2007 11:58:49 AM
I have the following code but when I build this it gives me errors that username, userpass, userfname does not exist in current context. I don't know where is the problem and how can I fix this. SqlConnection objConn = new SqlConnection("Data Source=sql1300.mssqlservers.com;Initial C...more >>

Overridden Control and IntelliSense
Posted by Andrew Robinson at 4/16/2007 11:42:53 AM
I have an overridden control: public class DJGridView : GridView { } All works great except that I loose IntelliSense for all of the child elements while editing the HTML file from within VS2005. Any suggestions on what I could include within my control to enable this functionality? Tha...more >>

Session Error
Posted by DosPrompt at 4/16/2007 11:32:00 AM
SelectCommand="SELECT A.RowID, A.Account AS [Account], A.Relationship AS [Relationship], B.City AS [City], B.State AS [State], B.Zip AS [Zip], A.MainPhone AS [MainPhone], A.ProspectStatus AS [ProspectStatus] FROM CRM_Accounts AS A INNER JOIN CRM_AddressLookup AS B ON A.AccountID = B.AccountI...more >>

enum and dropdownlist
Posted by rodchar at 4/16/2007 11:16:02 AM
he yall, does anyone know the best way to populate a dropdownlist from an enum list? thanks, rodchar...more >>

Send value from child window to parent
Posted by Joe at 4/16/2007 10:57:26 AM
I need to popup a window, allow the user to select an image, update the parent window with this new value (requires a refresh) and then close the child window. Are there any examples of something similar to this? Thanks, Joe ...more >>

Mixing .Net v1.1 and 2.0 on the same website.
Posted by Mufasa at 4/16/2007 8:46:14 AM
I have a website written in .Net 1.1. As part of it it has a virtual directory that points so some web services. Currently the web services are written in .Net 1.1 I want to convert the web services to 2.0. Can I do this - have a virtual directory pointing to a different version of .Net than ...more >>

Disappearing GridView - Newsgroup???
Posted by Don Miller at 4/16/2007 8:46:05 AM
This is a repost of a reproducible problem/bug with GridView with dynamic SQL and binding. Is there a better ASP.NET newsgroup I should post to where MS techs or MVPs take an interest in such problems? Thanks. Here is an example of what I believe is a bug in ASP.NET 2.0 GridView paging ...more >>

Help making a site work with Firefox
Posted by Mufasa at 4/16/2007 8:44:00 AM
Can anybody suggest websites that talk about what you need to do to make an IE site also work under Firefox. What things are allowed and what aren't - that type of thing. TIA - Jeff. ...more >>

passing clientid t javascript from aspx declaration
Posted by Aamir Ghanchi at 4/16/2007 8:33:13 AM
Hi, I am wondering why the <%= % is not working when I use it to pass the clientid to a javascrip function from the aspx declaration code. Say, I have a listbox webcontrol and from its client-side javascript eventhandler attribute, I try to pass on the client id as follows <asp:ListBox ID="m...more >>

asp:RadioButtonList
Posted by C at 4/16/2007 7:50:01 AM
I have below. <asp:RadioButtonList ID="rblConfirm" runat="server"> <asp:listitem value="Yes">Yes</asp:listitem> <asp:listitem value="No">No</asp:listitem> </asp:RadioButtonList> In my codebehind I have rblConfirm.Attributes["onclick"] = "javascript:EnableIndependentValues(this...more >>

Access Page's local resource from user control
Posted by schneider NO[at]SPAM rehm.de at 4/16/2007 7:20:37 AM
Is it possible to get access to the local resource (App_LocalResources) of an aspx page from within a user control located somewhere else? I have created a user control which I want to add to a page and read values from the page's local resource. But within the code of the user control, I can on...more >>

The networkpath was not found
Posted by rcoco at 4/16/2007 4:53:48 AM
Hi, I'm facing a problem I'm trying to use my website while on client but When I try to insert data I get an error [COMException (0x80070035): The network path was not found] yet on server it works properly why is it so? Thanks ...more >>

Web/HTML Controls Possible Bug?
Posted by Dessip at 4/16/2007 3:24:34 AM
Hey, im sorry but i dont know if this is the correct group, I have got some Dynamic Controls on a page. and some static controls on there as well, but the problem im having, which i think might be a bug is this. I have 6 list box Web Controls, all showing different information. (as well as num...more >>

custom errors not behaving as expected
Posted by ilyasdhin NO[at]SPAM googlemail.com at 4/16/2007 3:03:58 AM
Hi all In my web application I have the following present for customErrors <customErrors mode="On"> <error statusCode="404" redirect="PageNotFound.aspx" /> </customErrors> My application has 2 pages, Page1.aspx and PageNotFound.aspx I have published this application so that its now und...more >>

WebRequestEvent not firing
Posted by David at 4/16/2007 2:20:01 AM
I am trying to configure health monitoring to but I seem to be missing some events, specifically the request processing events. I am using the following configuration. <healthMonitoring enabled="true"> <rules> <clear/> <add name="All Events" ...more >>

assigning 'class' tag using C# function
Posted by divya_rathore_ NO[at]SPAM gmail.com at 4/16/2007 1:42:20 AM
Why doesn't the following code work for a [asp.net + C#] project? How else can I assign the 'class' keyword a value from outside (not embedded within the asp.net code, say as in: class=class_red)? //some C# function String GetCSSClass() { return "class_red"; } //code in asp.net ...more >>

Q: combining Javascript and ASP-function?
Posted by haakern NO[at]SPAM gmail.com at 4/16/2007 1:31:34 AM
Hi, In an aspx page, I've got a TreeView and a detail form and a print button. When the user clicks on the print button, I'd like to collapse the TreeView and send the page to the printer. Using Javascript, the print is easy: <asp:ImageButton ID="btnPrint" runat="server" AlternateText="Print"...more >>

getting the url of a webpage
Posted by bushi at 4/16/2007 12:42:15 AM
hi! i'm designing a web application,basically it have two pages,"client_browser.apsx" & "adserver.aspx"."client_browser.aspx" contains an iframe,and in the iframe i have displayed my "adserver.aspx".now i want to get the URL path of the client browser on my "adserver.aspx".but the code ...more >>

How to transfer the contents of aspx page to a PDF file Programmat
Posted by How to embed a Browser............... at 4/16/2007 12:32:01 AM
I have developed an aspx page that dynamically renders the HTML content ..I want to export the contents now into a pdf file for printing? Can anyone help me in doing this?Is there any free dll available for doing this conversion?If not may i know which softwares are suitable and flexible to...more >>

Database Driven Pages
Posted by JJ at 4/16/2007 12:00:00 AM
[I'm fairly new to asp.net] I want to create a web site with the page content being driven by my sql database. This would form the basis of a simple content management system. i.e. a particular page may be accessed by the url www.xyz.com/default.aspx?pageid=34 I can achieve this when each...more >>


DevelopmentNow Blog