Home All Groups Group Topic Archive Search About

ASP.NET Development

microsoft.public.dotnet.framework.aspnet
Score PostBackUrl and Retrieving Values from User Controls
osh - 18 Feb 2006 11:07 PM - 2 messages
All, I am having trouble using the PostBackUrl feature in .NET 2.0. I have several User Controls that are on a MasterPage. The User Controls contain the form fields for a basic search on available homes and properties in a given area. I put these form fields into User Controls ...
Score ASP.NET 2.0 BAL/DAL???
dm1608 - 18 Feb 2006 9:04 PM - 1 message
Anyone know of any good online resources for doing BAL and DAL programming with ASP.NET 2.0?  I've read the examples on [link] and would like some other examples to wad thru. ...
Score Form Query and GridView for ASP.NET 2.0
dm1608 - 18 Feb 2006 9:03 PM - 2 messages
Hi all -- I'm rapidly learning ASP.NET 2.0 (never really did much .NET before... mainly an ASP and PHP guy until now) and seem to be having some technical challenges that I'm hoping someone can help me with. ...
Score Page Load Phasing
Gary Coutts - 18 Feb 2006 8:09 PM - 1 message
Hi, I am generating a popup window for data entry using the javascript window.open function:         window.open('ViewItem.aspx', Index, WindowSetUp) ; I need to generate some controls dynamically in ViewItem.aspx, the type of ...
Score Formatting vs 2005
Mike - 18 Feb 2006 7:00 PM - 3 messages
Hello,     I drag 2 images next to each other in a vs 2005 web page.There is a white space between them. When I look at the code it is formatted to be on seperate lines.If I remove all the spaces and the tags are next to each ...
Score DataGridItem Collection / DataGrid Paging Question
GD - 18 Feb 2006 6:18 PM - 4 messages
Got a simple ASPX page (.NET v1.1) with a DataGrid displaying a list of widgets. If the page has a QueryString called WidgetId specific, I need to automatically mark the specific DataGridItem as selected. Pretty simple, here's what I did: ...
Score Prevent two users from accessing the same file at the same time
Shawn - 18 Feb 2006 6:14 PM - 3 messages
Well, the subject sais it all.  What is the best approach to prevent this from happening? Thanks, Shawn ...
Score Problem running ASP.NET 1.1 and 2.0 apps on the same server...
Kevin S. Goff - 18 Feb 2006 5:25 PM - 3 messages
I'm coming into a situation where a company has both 1.1 and 2.0 ASP.NET apps on the same server. Each application has been configured (using IIS) for the appropriate framework (on that last ASP.NET tab in configuration management). ...
Score MasterPage setting in web.config - Design Error
Brian Orrell - 18 Feb 2006 4:02 PM - 3 messages
I have set the masterPageFile property in my web.config as follows: <pages masterPageFile="~/Main.master" > When I create a webform and I don't specify a masterPageFile in the aspx (so that it uses the web.config specified master) and I go into design view for ...
Score Make a page to update information, show saved data from database.
Øyvind Isaksen - 18 Feb 2006 2:34 PM - 2 messages
I want to make a page to update articles stored in my SQL Server. Ofcourse, the saved article information needs to be displayed in the form fields when the page is opened. Then the user can update the information, and save it ...
Score Quickstart: 'globalization' using NET2.0
RKT - 18 Feb 2006 1:34 PM - 1 message
I've browsed the docs and posts on this topic. There seems to be a lot of opinions. Can someone point me in the most current best-practices direction, considering the requirements below? - Want to support multiple languages on website, maybe using a combobox at ...
Score ASP.net 2 xml.document
Jon Spivey - 18 Feb 2006 1:27 PM - 2 messages
Hi, Moving from asp.net 1.1 to 2. I have an xml control on a page in the code behind file I pull in some xml from a remote web site and format it with an xsl stylesheet, code is just this ...
Score New Process from aspx page
Wally - 18 Feb 2006 10:56 AM - 1 message
How do you start a new visible process from a asp.net page? I can use: System.Diagnostics.Process.Start ("mspaint.exe"); from Main() in console application and it works fine. When I put it in the Page_Load procedure of an aspx page, the process is ...
Score How to invalidate cache?
the4man - 18 Feb 2006 9:52 AM - 1 message
Hi all! I'm developing a website that uses the cacheoutput directive in some pages and even in some ascx controls. I want to add a link for invalidate all caches in the web site at once. The link is only for admins, to have an easy way to see all new changes ...
Score Adding rows dynamically to a datagrid
Ram - 18 Feb 2006 8:50 AM - 3 messages
Hi,      Pls could anyone tell me  how to do the following task.     I am having a datagrid with certain columns. Now what i need is , I have to include a button in each row and on clicking this button , i ...
Score Converting the time from one timezone to another
Nathan Sokalski - 18 Feb 2006 7:19 AM - 6 messages
I asked a question about a week ago about how to get my local time, since my application is running on a server halfway around the world. I have determined that my code would look something like this: Dim servertime As Date = Date.Now ...
Score Display image on gridview from SQL
Sudha Pune - 18 Feb 2006 6:50 AM - 3 messages
I have not found any simple way for the above in the groups...can any one post...take the scenario of northwind(2005) categories table which have the column of picture as image type...i want to load all images ...
Score HELP: Inherited User Control Loses ViewState
Spam Catcher - 18 Feb 2006 6:41 AM - 1 message
Hi all, I have a CustomUserControl class which inherits from UserControl. I have ASCX which inherits from CustomUserControl (instead of UserControl). Child controls on CustomUserControl lose their viewstate! But when I switch the 'inherit' line back to UserControl, viewstate works as expected. ...
Score DataBinding Static Methods!
Adam J Knight - 18 Feb 2006 6:37 AM - 2 messages
Hi all, I have created a class that contains static method; these method return db data. If i use the following code in my code behind all works fine: ddlMyDropDownList.DataSource = myClass.GetData() If i code it into my page like so: ...
Score Close ModalDialog form after saving data
laks - 18 Feb 2006 5:58 AM - 3 messages
Hi I'm opening an aspx page with javascript: window.showModalDialog("mypage.aspx", "", "status:no"); In mypage.aspx I've got a button which shall first save the displayed record in the C# code behind (this works fine) and if successfull, mypage.aspx ...
Score Image Rollovers with the Hyperlink Control
Nathan Sokalski - 18 Feb 2006 1:28 AM - 9 messages
I have several System.Web.UI.WebControls.HyperLink Controls which I want to display as rollover images. I know how to make these manually using the <a> and <img> tags or the <a> tag and a System.Web.UI.WebControls.Image Control ...
Score accessing datalist in repeater
jjack100 - 18 Feb 2006 1:15 AM - 4 messages
I have a form that is submitted to another page.  The form contains a variable number of dropdownlists within a repeater.  When the form is submitted, I need to access the values of each dropdownlist.  I never ...
Score Why can rename
ad - 18 Feb 2006 12:32 AM - 1 message
I want to rename a control in WebForm of VS2005. But it prompt me : If you have a reference in markup, you can't rename. But I dose refer this control in my program. How can I do? ...
Score Persistent Cookie not working
jrhea2006 - 18 Feb 2006 12:01 AM - 6 messages
I want my site to remember users when they come back without requiring them to login again (assuming they checked "remember me" on the login control). I've tried increasing the timeouts to 3000000+ but it still requires users to login if the session times out (roughly 30 minutes or so). ...
Score Username and Password
Miguel Dias Moura - 17 Feb 2006 11:55 PM - 3 messages
Hello, I need to set a basic format for the usernames and passwords in my web site. Basically, I need to know what should be the minimum requirements for having a good security level. Something like having a password with a minimum of 8 letters (6 letters ...
Score BC30456: 'InitializeCulture' is not a member of 'ASP.default_aspx'.
blackstaronline.net - 17 Feb 2006 11:51 PM - 1 message
Hi, I'm using .NET V2.0 I have been using un-compiled code behind pages for my .net app using "Src" in the @Page. I randomly get an Initialized Culture error when trying to access the page. Many times I can simply refresh and the app ...
Score How to access and bind a label inside a GridView Template Field?
Miguel Dias Moura - 17 Feb 2006 11:43 PM - 2 messages
Hello, I have a GridView in my page with a TemplateField and an Asp Label inside it. I need to access that Label in runtime and change the field to which it is binded. Can someone please tell me how to do this? ...
Score Urgent : Populate a dataset from a stored proc in .NET 2.0
John - 17 Feb 2006 11:40 PM - 6 messages
Hi all, I'm sorry I'm reposting this but the original was urgent and I do need closure on this. I'm calling a stored proc which does 4 "selects" and then I populate a dataset looping through the dr using a dr.NextResult() but the stored proc ...
Score Show RTF document on the page
Just D. - 17 Feb 2006 10:57 PM - 1 message
All, How can I show the RTF string on the ASPX page? I have a RTF file generated by my WebApp and it's loaded in a string, the task is to show this file in the user browser so that the IE should load WinWord on the client side, so ...
Score GridView ASP.NET 2.0 Column Heading Justification
dm1608 - 17 Feb 2006 10:50 PM - 2 messages
I have two columns in a 6 column GridView that I woud like to left-justify. How do I do this...?  I see thwere I can see the alignment for ItemStyle within the properties, but I do not see anything for headers. ...
Score GridView ASP.NET 2.0 Question
dm1608 - 17 Feb 2006 10:46 PM - 3 messages
Hi, I'm using a GridView and an ObjectDataSource to display data. How can I display a "No records found" message if there are no query results? Currently, I'm getting a blank page since the GridView has nothing to ...
Score AJAX Javascript file problem
Terry Smith - 17 Feb 2006 10:45 PM - 1 message
I have individual Javascript files at the component level for components that need to make AJAX calls to the server. The server returns a list of XML elements with the name of the control whose contents will be updated and the ...
Score Question about Class Page and Control
Alfredo Barrientos - 17 Feb 2006 10:44 PM - 1 message
Hi, I would like to have a definition and an example about some properties of Page and Controls class. I dont understand or see the use of ClassName atribute. I dont understand the use of Debug attribute. I dont see in textbox control the use of EnableViewState, i set false ...
Score Generate code documentation xml for ASP.NET 2.0 website
Carl Johansen - 17 Feb 2006 10:40 PM - 2 messages
Hi all, I have an ASP.NET 2.0 website in Visual Studio 2005 (ie I open it with File App_Code directory (with <summary> tags, etc) and I want to turn these into XML files that can then be run through NDoc (along with app_code.dll) to ...
Score Validating Local Users, Passwords, and Groups
krisk - 17 Feb 2006 10:28 PM - 1 message
I have a question or two regarding local users and groups. I have an ASP.NET 2.0 (C#) application (intranet-based, not on the Internet), and, on one of the pages, I have two textboxes for end-users to ...
Score ASP.NET capture login id... LDAP?
Chris - 17 Feb 2006 10:17 PM - 6 messages
I want to capture a users windows login Id and display it in asp.net web page (using VB.net). Any and all suggestions accepted.. A code snippet wud be really appreciated. Read an article in MSDN (LDAP), but cud'nt make it working. ...
Score Run time complitation
Joel Barsotti - 17 Feb 2006 10:00 PM - 2 messages
Sometimes when I ftp up new files the server can't find name spaces or give me errors like Unable to cast object of type 'ASP.mainnav_master' to type 'ASP.mainnav_master'. Most of the time these errors are associated with files that are unrelated ...
Score Show controls criteria specific
Matt - 17 Feb 2006 9:27 PM - 1 message
Have a checkbox to select sports catagory on main page. When checked on sub page i like to populate selected sport specific controls if soccer selected show soccer buttons,labes, etc if basketball selected sub page show baskettball controls and hide others ...
Score Datagrid in User Control
Emmanuel - 17 Feb 2006 9:15 PM - 1 message
Hi, i have a page on which i'm loading a user control dynamically using the LoadControl method. The user control has in it a datagrid control which is being bound to a datatable. The problem i have is that when  clicking on the Edit button to edit the row ...
Score config GridView so row shows in edit mode
John A Grandy - 17 Feb 2006 8:38 PM - 2 messages
I'm not using SqlDataSource or ObjectDataSource.  I'm handling events , similar to approach commonly used in 1.1. DataGrid. My question is : How do I configure a GridView's edit mode row format ? Here is my aspx  : ...
Score Complex Custom Control Conundrum
Iain - 17 Feb 2006 8:38 PM - 1 message
Can I apologise for the lengthy nature of this post.  The scenario is complicated (though I hope the solution is not!) basically, I've got a custom template control which binds itself to a tree structure.  The template items describe how each particular note type of ...
Score health monitoring
russell.lane - 17 Feb 2006 8:17 PM - 2 messages
This is a health monitoring for web applications / web services question. I'm trying to set up health monitoring for web services and a web application.  To start very simply, I want to turn on event logging for web ...
Score howto launch an executable from an aspx page
Abraham Andres Luna - 17 Feb 2006 8:08 PM - 3 messages
hello everyone, i am having a hard time launching an executable from an aspx page. i have already setup impersonation in the web.config file like so: <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> ...
Score + in URL causing problems
Terry Burns - 17 Feb 2006 8:03 PM - 7 messages
Hi i have noticed in my IIS logs that there are 404 errors when crawlers use + signs to delimit search strings, this is only more recently. IE /courses/NET+Framework+Course.htm ' causes errors if they use spaces /courses/NET%20Framework%20Course.htm ...
Score RegisterClientScriptInclude
Tom - 17 Feb 2006 7:39 PM - 2 messages
I am new to ASP.NET.  I am converting a fairly good sized app from classic to .net.  Some of my pages have a lot of controls and javascript functions.  I would like to keep these intact as much as possible.  I have put my ...
Score persist a class over a session - concept
Xavier - 17 Feb 2006 7:28 PM - 2 messages
hello, i have a class, for example :"CustomerClass" , with a set of public properies like CustNr,CustName,CustEmail .... The class is initialised when the session is started. What is the best way to persist the property values? Must each property stored in a separate session, and by each access read the ...
Score Public ASP.NET Web Form Demonstration
John Rivers - 17 Feb 2006 6:57 PM - 2 messages
Hello, I have been looking for a demonstration of "best practice" web application using asp.net web forms, in particular looking at an app that shows a typical database application with multiple users inserting, updating and deleting records in a table, showing concurrency control etc. ...
Score Opening a windows form from an ASP page
Tedy Pranolo - 17 Feb 2006 6:53 PM - 1 message
I'm trying to create an ASP page which creates a windows form and be able to manipulate it. The windows form contains a webbrowser control, which apparently has to be created and manipulated in a Single Threaded Apartment thread. I tried creating a new STA thread and creating the ...
Score Error when creating a new Web Service
SBlain - 17 Feb 2006 6:42 PM - 3 messages
I have an application which runs in our development enviroment which is Windows Server 2003 with the DOT.NET 1.1 framework. OUr production eviroment is W2K Server with SP4. We have other ASP.NET applications and web services running on the same server wich are running perfectly fine, it is only this ...
Score Back Button Problems
TCB - 17 Feb 2006 6:22 PM - 4 messages
I have a problem...I have a classified adds web app. This if what is happening: 1. The user enters the site 2. The user checks one of the adds. This web page has a user control that load similar adds to the one the user has currently selected, in this same ...
Score Is there a way to know if a user is browsing my site?
andrea - 17 Feb 2006 6:19 PM - 3 messages
I should make a page that modify the web.config file, appsettings area. For what I know, every modify to config file mean a reboot of the context application, so if a user is browsing on a web site, it mean losting session and everything ...
Score Populating a dataset from a stored proc in .NET 2.0
John - 17 Feb 2006 5:49 PM - 1 message
Hi all, I'm calling a stored proc which does 4 "selects" and then I populate a dataset looping through the dr using a dr.NextResult() but the stored proc may not return any results for one or more Select stetments. When this ...
Score IT tests. ASP.NET, C#, VB.NET, SQL, XML, HTML, C, C++...
marboti - 17 Feb 2006 5:38 PM - 1 message
[link] IT tests. ASP.NET, C#, VB.NET, SQL, XML, HTML, C, C++... ...
Score Looping Forms Collection Error
greg - 17 Feb 2006 5:31 PM - 6 messages
HI, I have an asp page that loops through the forms collection gathering data from input controls that web surfers have entered in.  The problem I have is when I get to the submit button, I get the follow error "Type mismatch: ...
Score Application_Error wierdness in asp.net development server (VS.Net 2005)
Larry - 17 Feb 2006 5:20 PM - 1 message
Here's an interesting one.  This happens only in the asp.net server that is launched from VS.Net 2005.  In IIS it does not occur. We placed a server.transfer call in our global.asax's Application_Error.  When an unhandled exception occurs, this works ...
Score microsoft access driver problems
somersbar - 17 Feb 2006 5:17 PM - 2 messages
hey, ive been trying to set up a web form in visual basic.net that can access a microsoft access database. i need to use odbc also.  i can get it working using a windows form but not a web form. might be that ive ...
Score wizard control
Remoting - 17 Feb 2006 5:14 PM - 2 messages
I am trying to customize the side navigation template in a wizard control. Is there a way to highlight the sidebar button when a corresponding page is loaded on the wizard? Thanks in advance, Anil ...
Score Control access to Page
Joe - 17 Feb 2006 4:59 PM - 3 messages
Hello, Can a User Control interact with HTML Controls in the calling Page (anything with a runat="server") from the control? So, code in the Control impacts, for instance, the visibility of an HTML Control in the calling page? Any links or pointers would be appreciated. ...
Score Distribution of Migrated Application
mwieder - 17 Feb 2006 4:42 PM - 2 messages
We migrated our ASP.NET 1.1 application to 2.0.  We want to deploy using the fully compiled mode and have made the appropriate selection in teh IDE to publish a non-updatable site.  However, what gets ...
Score Retrieving the profile for a particular username?
Jéjé - 17 Feb 2006 4:41 PM - 4 messages
Hi, I want to access the profile of a particular user to apply / change some parameters. Like a list of authorized projects. (and other properties) The administrator will go on a web page, select the user, change the list of ...
Score What can I capture from web page visitor?
Ronald S. Cook - 17 Feb 2006 4:37 PM - 1 message
I'd like to capture basic data about a visitor to my web page.  I assume I will use the Request object, but which properties should I be looking at? Request.Browser? Request.Url? Request.UrlReferrer? Thanks, Ron ...
Score Need help with Application center test and VB script
PrettySneaky - 17 Feb 2006 3:59 PM - 1 message
I have at the moment written two webservice prototypes and I am trying do some stress testing with Microsoft application center test. My web page communicates with the the webservice like this: 1. Call a register method and receives a string which is a Guid value ...
Score 2.0 GridView .. Sorting Question
sloan - 17 Feb 2006 3:34 PM - 2 messages
Ok, I've gotten somewhat handy with the new GridView. And I have it bound to a business object datasource, via the ObjectDataSource. Lets say I have 3 databound columns EmpID, LastName,FirstName I have it working where.... If I click the Header, that it will sort based ...
Score WebResource and dynamically loaded assemblies problem
Konstantin Gonikman - 17 Feb 2006 2:51 PM - 1 message
Hi, I just played around with WebResource and embeding .js and .css files into my dlls. All works perfectly except following: As I try to embed any WebResources in assemblies that are loaded dynamically from my code (with Assembly.Load() ), WebResource.axd fails ...
Score Using hidden form fields to preserve state
Mark - 17 Feb 2006 2:38 PM - 5 messages
Assume you have a web application with many different web pages, and you'd like to avoid using cookies and storing session state in any form.  Assume further that bandwidth and security are not issues. Could you conceivably store a serialized object containing state information ...
Score Get windows account details from user
McGeeky - 17 Feb 2006 2:29 PM - 2 messages
Hi. We are using Windows authentication and can easily get the Windows login account name through Context.User.Identity.Name. But is there a way to retrieve the First Name and Last Name properties of the login from Active Directory? ...
Score This could be shorter tight? (String to Hex)
Edwin Knoppert - 17 Feb 2006 2:18 PM - 3 messages
public static String StringToHex(String sString) { if (sString.Length == 0) { return ""; } StringBuilder sb = new StringBuilder(sString.Length * 2); Char[] chars = sString.ToCharArray(); String T = ""; foreach (Char c in chars) { T = "0" + Convert.ToString(c, 16).ToUpper(); sb.Append(T.Substring (T.Length -2 )); ...
Score Formating Textbox value as short date...
Alper OZGUR - 17 Feb 2006 2:10 PM - 2 messages
I want to format the text of Textbox by javascript... Any idea? ...
Score TreeView.SelectedNodeStyle.ImageUrl useless?
Michael - 17 Feb 2006 1:22 PM - 1 message
Hi, I have the exact same problem with this post: [link] Any suggestion? Michael ...
Score 'Rebind' a GridView
Miguel Dias Moura - 17 Feb 2006 1:07 PM - 1 message
Hello, I have an Asp.Net 2.0 Grid View on a page. I created the GridView from my ASPX.VB file, i.e., my VB code. The GridView has 2 TemplateFields. The first TemplateField has a Label and the second one has an Image. ...
Score Getting a domain name of a site
Adam Tibi - 17 Feb 2006 12:07 PM - 4 messages
Hi, Is there a way of getting the domain name of tghe currently executing site, I tried using this silly code: public static string GetDomainName() { string serverName = System.Web.HttpContext.Current.Request.ServerVariables["SERVER_NAME"].ToLower(); if(!serverName.Contains(".")) {     return serverName; ...
Score Anyone familiar with the "Timetracker starter kit"?
jens Jensen - 17 Feb 2006 12:02 PM - 1 message
how can i access the page user management page(../asp.netwebadminfiles ) when the site is in production? Many thanks in advance JJ ...
Score DAAB ExecuteReader method causes Exception
Alec MacLean - 17 Feb 2006 11:54 AM - 8 messages
Hi all, I'm trying to deploy an ASP.NET (1.1) app to our production webserver, but having problems with the DAAB (from Ent Lib June 2005). As you might guess, it works just fine and dandy on my dev PC (VS2003). ...
Score Membership Services Problem
Wayne Wengert - 17 Feb 2006 11:29 AM - 3 messages
I am trying to add some profiles to an ASP.NET 2.0 application that uses the membership services login control. I created a Sub for Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As EventArgs) But that event never fires. The new registration information is getting ...
Score asynchronous file upload
Marco Assandri - 17 Feb 2006 10:53 AM - 3 messages
Hi, I saw some web sites where I can upload file asynchronously. May I do the same think with asp.net? ...
Score delete event gridview
Sudha Pune - 17 Feb 2006 10:04 AM - 1 message
gv.RowDeleted += new GridViewDeletedEventHandler(gv_RowDeleted); gv.RowDeleting += new GridViewDeleteEventHandler(gv_RowDeleting); After deleting the record why it is not coming in RowDeleted event handler this is code in RowDeleting event handler blah...blah...//code for deletion and deleting successfully dgBinding(); ...
Score Test if Session Variable Exists!!
Adam J Knight - 17 Feb 2006 9:48 AM - 4 messages
Hi all, I am trying to test to see if a Session variable exists. This was my initial attempt, and doesn't work int intInstructorID = (Session["InstructorID"].ToString() == null ? Convert.ToInt32(Request.QueryString["InstructorID"]): Convert.ToInt32(Session["InstructorID"])); Can anyone give me a head up on the best way to do this?? ...
Score Content Controls Problem in ASP.NET 2.0
Adam Tibi - 17 Feb 2006 9:40 AM - 1 message
Hello, I have this: MasterPage 1: <asp:ContentPlaceHolder ID="cphHead" runat="server"> </asp:ContentPlaceHolder> Some Html... <asp:ContentPlaceHolder ID="cphBody1" runat="server"> </asp:ContentPlaceHolder> MasterPage 2: <asp:ContentPlaceHolder ID="cphHead" runat="server"> ...
Score Please help with regular expression
paulsmith5 - 17 Feb 2006 9:17 AM - 4 messages
Hi, Not sure if this is the correct ng for posting this question but I am using aspx and I couldn't find a more suitable alternative. Anyway I'm developing  a web app and I want to validate a users input on a form. I ...
Score Is there any best tools or methods to trace the web page processing?
ABC - 17 Feb 2006 9:12 AM - 2 messages
Is there any best tools or methods to trace the web page processing?  I want to monitor what methods and functions to be called when I debug the website. ...
Score ASP.NET Dev & Browsers!
Adam J Knight - 17 Feb 2006 8:59 AM - 5 messages
Hi all, What browsers do you all use when developing & testing ASP.NET applications? Are there any recommendations, or just whats on your pc?? Cheers, Adam ...
Score SmtpException with email form
Helter Skelter - 17 Feb 2006 8:39 AM - 5 messages
hi everyone, i'm sorry for bugging you with this email form but i need it done. i have some code that is executes at the press of a button: System.Net.Mail.SmtpClient EmailMessage = new System.Net.Mail.SmtpClient(); ...
Score How to do this in ASP.Net 2.0 ?
Luqman - 17 Feb 2006 8:11 AM - 5 messages
A user should be  able to access the page 2 only via Page 1. If he tries to go to page 2 directly, unauthorised access error should occur. Any idea please ? Best Regards, Luqman ...
Score How to do this???
Jon - 17 Feb 2006 7:07 AM - 3 messages
Does anyone know how, or where i can learn how to make pages like the ones found on msn.com with videos?  I am specifically interested in when you view a video, the content to the right changes depending on which video is playing ...
Score Dynamic Menu
aroraamit81 - 17 Feb 2006 7:07 AM - 7 messages
Is there any way by which I can create a dynamic database driven Menu using ASP.NET/C#...... Thanks Amit Arora ...
Score "Page Cannot be Displayed" problem with aspx on IIS6
Nestor - 17 Feb 2006 6:46 AM - 3 messages
Hi, I have a aspx application running on II6. I've set security to be only Integrated Windows Authenication. When I access the website from the server PC I can access the site. When I try to connect from another PC, I'll first be prompted with a ...
Score How do I?
Mr Ideas Man - 17 Feb 2006 6:25 AM - 2 messages
Trying to use a DataItem value in an if statement.   Cause it isn't a data binding expression..'Container' is not recognised.   Is there some other way i can get at this value???   It is contained within a Datalists item template. ...
Score The request failed with HTTP status 401: Unauthorized
ad - 17 Feb 2006 6:14 AM - 1 message
I have a WebService in localhost,  and the set in the web.config is <add key="WebReference.Service" value="http://localhost/HealthService/Service.asmx"/> and the code to refer the WebService is   WebReference.Service wsHealth = new WebReference.Service(); ...
Score GridView RowDataBound not called after postback
danc - 17 Feb 2006 5:28 AM - 1 message
I am trying to modify the layout of a row based on the value in some data (I am creating a subtotal line). This works fine when the page is first loaded, but when it's reloaded, the wrong column is restored. ...
Score The request failed with HTTP status 401: Unauthorized
ad - 17 Feb 2006 3:55 AM - 3 messages
I have a WebService in localhost,  and the set in the web.config is <add key="WebReference.Service" value="http://localhost/HealthService/Service.asmx"/> and the code to refer the WebService is   WebReference.Service wsHealth = new WebReference.Service(); ...
Score Membership Provider
DenniLi - 17 Feb 2006 3:35 AM - 3 messages
I have a perfectly working aspnet v2 website on my local machine with the following connection strings:     <connectionStrings>         <add name="ClubSiteDB" connectionString="Data Source=.\SQLExpress;Integrated Security=true; ...
Score ASP.NET in Firefox
WebMatrix - 17 Feb 2006 3:22 AM - 10 messages
I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my development machine. Of course, everything looks normal in IE as it should. Well, since it's going to be released to cross-browser user base, I wanted to ...
Score Asp.net 2.0 and Dreamweaver
tshad - 17 Feb 2006 3:04 AM - 8 messages
Can you use Dreamweaver and VS.Net together now? I have a site that was built with DW code inside (therefore you could not use VS.Net 2003 with it). Is this still the case? Apparently, you can use code inside with the new version version of VS, but ...
Score Hosting an ASP .NET web site
BobLaughland - 17 Feb 2006 1:54 AM - 3 messages
Hi There, New to ASP .NET. Just wondering if I create an ASP .NET website will someone running windows 95 or 98 be able to use it? I am aware that ASP .NET only works on windows 2000 or XP, but is that ...
Score Setting Width in code
Tina - 17 Feb 2006 1:22 AM - 3 messages
I can't set a textbox or label .width = 441 because of a type error.  How can I set a width in code? My larger task is to make some headings in textboxes always the same width as the datagrid below them.  but I also find that the datagrid width is ...
Score asp.net 2.0 membership error
SAVVAS GOUNARIS - 17 Feb 2006 12:56 AM - 2 messages
I am trying to code a membership website on an ISP server but when I try to login, I get the following error: Procedure 'aspnet_Membership_GetPasswordWithFormat' expects parameter '@UpdateLastLoginActivityDate', which was not supplied. I have no idea why I get this error or how to begin to fix it. ...
Score Customize WebParts
Rachel - 16 Feb 2006 11:56 PM - 2 messages
Hi All, I have customized the Membership API and was able to create and validate users using my own database tables in SQL Server 2000.  I would like to customize the WebParts and save the user customization of these WebParts to my own database tables but could not find any samples in ...
Score 2.0 : built-in browser opens half-size
John A Grandy - 16 Feb 2006 11:23 PM - 4 messages
ASP.NET 2.0 : debug mode : the built-in browser always opens in a horizontally half-size window .... kind of centered in the middle of the screen ... ...
Score Help: How to read data from each row of a GridView?
Hongbo - 16 Feb 2006 11:18 PM - 1 message
Hi, I have a GridView like this one: == <asp:gridview runat="server" id="gvCategory" allowpaging="true" allowsorting="true" alternatingrowstyle-backcolor="#B9DFC7" autogeneratecolumns="false" pagesize="20" width="550px" datasourceid="prodList"> <headerstyle backcolor="#B9DFC7" /> <columns>    <asp:templatefield> ...
Score Requested registry access is not allowed
Patrick.O.Ige - 16 Feb 2006 10:54 PM - 2 messages
Hi All,        After installing Enterprise Librabry and building the libraries when i load an aspx page i get the error :"Requested registry access is not allowed" I'm about to look into it but if anyone here has tackled the error before ...