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 > february 2008 > threads for tuesday february 19

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

detailsview cannot be validated
Posted by Vincent at 2/19/2008 11:02:36 PM
Hi, i created a detailsview in insert mode. In order to avoid that an user inserts nothing, i added a RequiredFieldValidator control. But i get this error: "Control 'DetailsView1' referenced by the ControlToValidate property of 'RequiredFieldValidator1' cannot be validated" Why and how...more >>


Set Select Control's Value from Querystring
Posted by j.t.w at 2/19/2008 5:41:32 PM
This is probably very easy. How do I set an HTML select control's value from the querystring? This is what I have...but, only the select control's value doesn't get set. CustomerSelect.Value = Request.QueryString("cus") StartDate.Text = Request.QueryString("Sdate") This works... StartDa...more >>

form1.target='_blank';
Posted by Jonathan Wood at 2/19/2008 5:16:53 PM
I tried adding the subject of this post in my button's OnClientClick property. But the result goes to the same window. Does anyone know how to have a button (and only one button) on a form post to itself in a new window? And, if not, does anyone know how to cross post to another URL in a n...more >>

The name <name> does not exist in the current context
Posted by Montand at 2/19/2008 2:41:48 PM
Hello Group Im really new in dotnet and i am modifying what the other programmer did, Im using VStudio 2005 Pro. I have 16 errors when build the project and all return this error, i know every one is independent so i going to post just one: (I don't know if is enough with this code to know wh...more >>

Content Managed links
Posted by David at 2/19/2008 2:21:02 PM
Hi all, I have the same problem on 2 different CMSs. One is my own CMS, the other one of my clients own CMSs. My CMS is written in .NET 1.1, my clients CMS is written in .NET 2 Both have url-rewriting in place. Basically, we both have a wysiwyg editor and a pop-up to create a link. On ...more >>

Session Timeout, not working
Posted by Scott at 2/19/2008 2:20:33 PM
I have set the session timeout something greater then 20 minutes in the web.config(120 minutes for testing) after 20 minutes to 30 minutes click a button and am redirected back to the login. My Session is reporting 120 minutes I know this becuase I display on a debug page. below are the 2 areas...more >>

.NET Ajax registerClass
Posted by George Ter-Saakov at 2/19/2008 1:41:57 PM
What is the point of registering class using .registerClass API from AJAX script library. what does it do? George. ...more >>

managing customizations in existing codebase?
Posted by bryanp10@hotmail.com at 2/19/2008 1:14:57 PM
I've got a situation that I've not encountered before, but that I'm quite sure other folks have: How do you manage application customizations for an existing application without unduly impacting the main code? We'd like to be able to do one-off customizations for customers, but not include t...more >>



Bug in VS2005? ,or just not sure how to do this!
Posted by Paul at 2/19/2008 1:01:03 PM
I have a file called clBasePage.cs in the appCode directory (using vs 2005) and I have a master page in the root website directory called Masterpage.master.cs. In the masterpage file I have public partial class QSISMasterPage : System.Web.UI.MasterPage { } so it inherits System.Web.UI.Maste...more >>

Question on "OnRowEditing event"
Posted by stephen at 2/19/2008 1:01:00 PM
Hi all, If i have a gridview and have 3 columns of which i want to display only 2 as one of them is "ID". why cant i access the ID value on the "RowUpdating" event? for eg: <asp:GridView ID="gv_Sample" runat="server" OnRowCancelingEdit="gv_Sample_RowCancelingEdit" OnRowDataBound="gv_S...more >>

How to refer to a dynamically created control in event handler?
Posted by gnewsgroup at 2/19/2008 12:21:16 PM
Suppose I create a button on the fly and assign an event handler to it in the code-behind like so: protected Button CreateMyButton() { Button myButton = new Button(); myButton.Text = "Test"; myButton.Click += new EventHandler(myButton_Click); return myButton; } Now, in myButton_...more >>

Table Rows
Posted by Looch at 2/19/2008 11:41:47 AM
All, I can only add one row to a Table control. Is there a property that restricts adding multiple rows? I've tried several different ways. I've gotten to the point where I can add the information I need for the second row but it only replaces the original info from the first row, resulting i...more >>

Issue with ASP.NET 1.1 Sites on Windows 2003
Posted by dotNetDave at 2/19/2008 11:16:06 AM
I'm in the process of moving most of our ASP.NET web sites to a new Windows 2003 server. After setting up the server .NET 2.0 was already enabled in IIS, ..NET 1.1 was not, so I enabled it by running aspnet_regiis. My .NET 2.0 apps work fine but the 1.1 apps will not run (I created a separate ...more >>

Some Questitions about Object Embed
Posted by Alois_Mair at 2/19/2008 11:15:12 AM
Hello @ll! i just have a questition: i am actually working on my own video comunity web site. i already have some nice videos online. For this i want to give my Comunity an embed link to embed the videos stored on my webhost to their own sites like youtube... actually this embed looks like...more >>

how to show my own error message?
Posted by Vincent at 2/19/2008 11:04:23 AM
Hi, There are two related tables: one called 'group' and the other 'items'. Each item belongs to a group. The table 'group' is shown in a gridview with a linkbutton for deleting. When an user tries to delete a group which still contains items, he gets the message: "The DELETE statement ...more >>

UserControls, Properties and the ViewState
Posted by trullock@googlemail.com at 2/19/2008 11:00:27 AM
Hi, To make my usercontrol remember the values i set in its public properties across postbacks, do i need to explicity write code in the getters and setters to enter the data into the viewstate? I'm hoping there's some decoration (or something else) i can apply to the properties to make the...more >>

2.0 to 3.5
Posted by Elmo Watson at 2/19/2008 10:44:16 AM
So let me get this straight - - I have a 2.0 site I'd like to change it to a 3.5 site (having been told my 2.0 code won't break) I found this article at 4guys from Rolla about changing Web.config items: http://www.4guysfromrolla.com/articles/121207-1.aspx If I understand this correctly, it...more >>

AJAX ControlExtender Templates not working
Posted by GaryDean at 2/19/2008 9:58:47 AM
oops.. try this again... using VS2008 Professional on Vista Ultimate... I installed the additional ajax templates by running AjaxControlExtender.vsi but the templates are not there when I start a new website in vs2008. Why? TIA Gary ...more >>

RSS feed and invalid characters`
Posted by Diffident at 2/19/2008 9:53:00 AM
Hi All, I have created an RSS feed reader. However, the feed that I am trying to read has some invalid characters which my reader does not like. I have no control on the RSS feed but I would like to be able to read the feed. Is there a way I could handle these invalid characters and repla...more >>

Integrate Google Calendar like component in custom ASP.NET application
Posted by ITistic at 2/19/2008 9:51:03 AM
I am in the planning stages of a new web application. One of the requirements for this application is to provide a Google Calendar type interface to show important events which will be pulled from the application's internal database, as well as provide a means for users to create, edit, and dele...more >>

Custom Controls, Public properties and the Viewstate
Posted by trullock@googlemail.com at 2/19/2008 8:51:48 AM
Hi, I've written a custom control which needs to have several public properties. Do i have to write a viewstate getter and setter for every property, or is there some decoration (or other method) i can apply to make their values be persisted across postbacks? Thanks Andrew...more >>

3.5 Deployment Question
Posted by DCW at 2/19/2008 8:17:01 AM
Hello all: I've got a 2K3 R2 web server with an ASP.NET site, a few different web services and a few Http endpoints running under ASP.NET 2.0. In our development environment, everything is running under .NET 3.5. Back in development, we've converted all the production pieces to 3.5 and no...more >>

Persist Variable values
Posted by Looch at 2/19/2008 7:35:16 AM
I've run into what seems to be an issue with persisting state. I'm new to ASP.NET but have been using C# for a while now. I'm coding a button_click method in the .cs file for a web page and trying to track the number of times the button has been clicked. The issue is, everytime the button is c...more >>

session objects from asp to aspx
Posted by kkarre at 2/19/2008 7:18:06 AM
Hello, We are buying a wizard from a 3rd party developer who advices our customers which products they need. This wizard is written in (old) asp. It produces an asp page that redirects to our asp.net application. We need to capture the session object or the querystring from that old asp page ...more >>

local time for remote users
Posted by MarcG at 2/19/2008 6:25:03 AM
I have an aspnet/sql2005 app that supports a set of local users in a manufacturing environment. I (thoughtlessly) built it using SQL's GetDate() and Framework's DateTime.Now function/property. Everything was fine until the client decided to use the app for its plant in the far east. The goo...more >>

String format
Posted by deepak at 2/19/2008 6:17:00 AM
Hi All, 1. This is my string "The description of the problem ERIndia_Bharti / 2/19/2008 8:37:00 PM last comment only ER_Kista / 2/19/2008 9:45:00 AM last comment only ER_Kista / 2/19/2008 9:45:59 AM last comment only ER_Kista / 2/19/2008 9:47:00 AM" I want to extract all those dates in...more >>

generic list question
Posted by WebBuilder451 at 2/19/2008 5:30:01 AM
I'm working n a helper class for pages and i thought this would handy, but i'm not sure if it's possible. It would need to take the args as a dynamic variable list. fn(gv1,gv2,gv3,...gvN); private void fn (List<GridView> gvl) { ..... loop or do what ever you need to...more >>

Server.TransferRequest()
Posted by Matt Winward at 2/19/2008 4:27:04 AM
Hi all. On requests for a parent web application, and when certain conditions match, I need to load pages from a child web application. I've been playing around with various methods, including RewritePath and Server.Transfer, but these each have problems of their own. Reading up on Transfer...more >>

How do you create a solution file using Web Developer Express 2008
Posted by Fendi Baba at 2/19/2008 4:17:15 AM
Is it possible to create a solution file using Web Developer Express 2008 or am I left to only copying the files to the server manually? Thanks for the tips. ...more >>

System.Data.SqlClient.SqlClientPermission
Posted by Kumar at 2/19/2008 3:21:24 AM
Hi all, Below is the link in which I explained my problem http://groups.google.com/group/marnisatyakumar/web/dot-net-security?msg=ns I appreciate if any suggestions...more >>

Date formats
Posted by deepak at 2/19/2008 3:16:00 AM
Hi All, How to convert the date from local time zone to UTC using a function? My Local Time Format: 2008-02-18T17:30:00(where T is alphabet and denotes the word "Time") UTC Time Format(which i want):2008-02-18T16:30:00Z(where T means Time and Z means a another alphabet( which i think ca...more >>

Split a pages code behind into multiple classes
Posted by Ilyas at 2/19/2008 1:50:58 AM
Hi I have a large code behind for one of my aspx pages. I want to split this .cs file into several partial classes so that each partial class can be worked on by a different developer. My page is called Main.aspx and so by code behind is Main.aspx.cs I have created a new partial class wit...more >>


DevelopmentNow Blog