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
January 2007
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
all groups > asp.net webcontrols > january 2004

Filter by week: 1 2 3 4 5

required field validator - prevent number and allow space
Posted by Andy Eshtry at 1/31/2004 7:47:04 PM
I have used required field validator with the expression: ^[A-Za-z]{1,}$ I want to prevent user to enter digit. It works well but there is one problem. If I enter blank (space) between characters like this: "andy eshtry", , it does not work. Please help. Thanks in advance. Andy ...more >>


How to validate input characters encoding
Posted by Peter Afonin at 1/31/2004 7:34:39 PM
Hello: How can I validate the character encoding of the textbox in ASP.Net form? For instance, when the user fills out a form, I need to be sure that he is typing in English (I mean uses Latin characters - not Russian, Hebrew etc.) Thank you, -- Peter Afonin ...more >>

repeatcolumns ... what about left to right first,then down ???
Posted by jason NO[at]SPAM cyberpine.com at 1/31/2004 2:08:57 PM
I have this thumbnail page written in asp.net that's using datalist with a RepeatLayout="Table" to build a table of thumnails .. the code works, except the images display downward first then back up to to the top. Instead I'd like the for the images to display from left to right and then down ag...more >>

Microsoft.VSDesigner.WebForms.WebFormDesigner
Posted by Jay Fallik at 1/30/2004 10:40:46 PM
Does anyone know how you can create a custom designer class that inherits from Microsoft.VSDesigner.WebForms.WebFormDesigner, in either VS.Net 2002 or VS.Net 2003, preferably a solution that works for both IDE"s. I have created a custom Page derived from System.Web.UI.Page and I would like to con...more >>

Roles in ASP.NET forms authentication
Posted by FUCKchefoSPAM NO[at]SPAM SkunkDev.net at 1/30/2004 4:55:00 PM
How can i remove the underline of the days in an asp:Calendar? I tried hard with no result. I tried all of the following, and more: <asp:Calendar CssClass="menudark" <asp:Calendar DayStyle-CssClass="menudark" <asp:Calendar <DayStyle Font-Underline=False <asp:Calendar <DaySt...more >>

Validate only one textbox value
Posted by raypolee NO[at]SPAM yahoo.com at 1/30/2004 4:37:05 PM
Hi, I have 5 textbox fields and only one (required one) is allowed to contains value when sumbit. Any idea? Thanks...more >>

Q: CompareValidator
Posted by Soul at 1/30/2004 4:27:31 PM
Hi, I am trying to use CampareValidator to validate two text fields so that they cannot be enter with same text. Can I know is there a way to make CompareValidator become validate character case as well? I understand that task can be easily done by using CustomValidator, but I have been force ...more >>

Transfer.Server
Posted by Gary Paquette at 1/30/2004 3:26:35 PM
How to I launch a new browser window when using Transfer.Server (or with Response.Redirect)? Code goes from a linkButton to a function to validate and add parameters to the POST. I can do this from a hyperlink - using hyperlink.Target="_new" - but hyperlinks cannot support the external func...more >>



treeview-word dokument in form/webcontrol
Posted by Markusek Peter at 1/30/2004 2:18:29 PM
Do you have any experience with displaying word document in form or through webcontrol? I have 2 forms. In the first is treeview with urls which links to word documents and in the second i want to display that documents when i click on the link. Best solution should be displaying it through...more >>

Active X Controls
Posted by vbGansta at 1/30/2004 1:43:17 PM
Hi there!! Is it possible to use an ActiveX.ocx control created with VB6 in ASP.NET? I can load it as a component, but the IDE will not recognize what it is. Any suggestions or links would be awesome. Joe ...more >>

"ambiguous match found" error
Posted by Anthony Ruggeri at 1/30/2004 11:34:52 AM
I've heard a little bit about the "ambiguous match found" problem with VB.Net custom controls. We suddenly started getting this error yesterday. We are running ASP.NET 1.1 and using Visual Studio 2003. Has anyone else seen this error and (better yet) a solution? I heard that it was fixed in ...more >>

Cannot Change Web Control Property
Posted by crjunk NO[at]SPAM earthlink.net at 1/30/2004 8:58:06 AM
I have a label and a text box on my web form. For some reason, .NET sets the visible property for both of these controls to False when I drop them on the web form. The weird thing is that I can see them when I view them in my web browser. I tried changing the visible property from False to T...more >>

Datagrid GUID column - KB 313155 doesn't work
Posted by Brian Newtz at 1/30/2004 8:31:10 AM
Hello! I have a slight problem. I'm making a dynamic database query engine with ASP.NET. I have a datagrid that must auto generate the columns (since it can bind to any column), and my database contains GUID columns. When I try to databind the datagrid to a table containing a GUID column (that th...more >>

Sorting and Paging Datagrid?
Posted by P Dietz at 1/29/2004 11:41:04 PM
Hello NG, I'm using a datagrid for displaying data (wow!) and would like to use the Sorting and Paging of it. The grid is bound to a dataset, which is added in the webform-designer. I load the data by: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ...more >>

DropDownList Control and AutoPostBack problems
Posted by Girish at 1/29/2004 8:17:03 PM
1) I have a dropdownlist control with AutoPostBack property set to true. 2) For the same control I have a SelectedIndexChanged method call in my code behind. 3) What I would like to accomplish is IF the selected text in the drop down is "Teacher", another control should be set to invisible. H...more >>

Other resources to get questions answered
Posted by Mark at 1/29/2004 12:06:15 PM
Are out there other users groups? Any links Thanks...more >>

Create ASP.NET GUI
Posted by Ray at 1/29/2004 8:50:20 AM
If you see the sample page in ASP.NET Starter kit such as TimeEntry.aspx in ASP.NET Time tracker (VBVS), you will think the page is almost perfect. I try to use VS.NET IDE to create the same GUI, it is failed and never get the same result. Although I can create more simple GUI by VS.NET IDE. S...more >>

Error
Posted by Mark Goldin at 1/29/2004 6:10:39 AM
Would someone be so kind and tell me wat does that mean: Line 198 was in RED. =20 Server Error in '/tiptree1' Application.=20 -------------------------------------------------------------------------= ------- Configuration Error=20 Description: An error occurred during the processing of a c...more >>

Switch data source of TreeView
Posted by Mark Goldin at 1/29/2004 5:46:32 AM
I have a TreeView control and two radiobuttons on my Web form. I want to change data source (XML file) of the tree when the user clicks on buttons. Here is Codebehind the buttons: private void RadioButton1_CheckedChanged(object sender, System.EventArgs e) { TreeView1.TreeNodeSrc = "data.xm...more >>

getting Image height
Posted by karimL at 1/28/2004 5:32:06 PM
Hi, how can I retrieve the height and width of a System.Web.UI.WebControls.Image after populating it's ImageUrl property. It's seems not to be filled ? Does someone have a solution ? Thanks Karim ...more >>

Custom DataGridColumn DataGridItems not saving to ViewState. Not Visible on Postback
Posted by googleGroupResponder NO[at]SPAM illexcascade.com at 1/28/2004 3:52:39 PM
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/creatingcustomcolumns.asp The problem I am having is that the data in the custom datagridc...more >>

Using the treeview
Posted by Poppy at 1/28/2004 1:41:26 PM
Can someone tell me where I can find an example of displaying data from a database in a treeview ? Every example I can find uses xml. Thanks in Advance ...more >>

Securing Sections of Site
Posted by MikeD at 1/28/2004 1:20:24 PM
Hello, I'm trying to work out the approved method of securing sections of my site. The site consists of two areas, one available to everyone and the other only availble to those who know the password. I'm using forms authentication located within the webconfig to control this, but i'm running ...more >>

Binding an arraylist to a datagrid
Posted by David H. at 1/28/2004 9:36:05 AM
I'm trying to bind an arraylist to a datagrid web control The arraylist contains "mystates" objects with properties named "state" and "abbreviation. I can set the grid's datasource to be the arraylist, but I am having trouble referencing the properties of each arraylist item by their name. For ...more >>

Treeview Ctrl - adding an index/key
Posted by Schoo at 1/28/2004 9:21:51 AM
I have a working MS treeview control (from the webcontrols.dll) that is fed with an XML file and a working SelectedIndexChange procedure. I need to display a list of names, but then pass an ID number through the SelectedIndexChange procedure. I modified my XML file so that I have an extra attr...more >>

DataGrid - dynamically select (highlight) a row
Posted by Angela at 1/28/2004 8:31:13 AM
Here's my task list: - highlight the clicked row in the DataGrid - Be able to click anywhere on a given row - Rows highlight as the cursor passes over them, cursor changes from arrow to hand Are all of these things possible? If so, can someone point me in the right direction?...more >>

Slider control reqd in web page!!
Posted by Abhijit at 1/28/2004 12:41:06 AM
The need is to make a slider control work in a web page - aspx page. Is there a Slider control available for use on a web page - i know it is for a windows form. Is there a way to use the windows control on a web page??...more >>

Slider in a web page
Posted by Abhijit at 1/28/2004 12:41:05 AM
The need is to make a slider control work in a web page - aspx page. Is there a Slider control available for use on a web page - i know it is for a windows form. Is there a way to use the windows control on a web page??...more >>

DataList and CheckBoxList don't seem to play well together
Posted by Dave Loynd at 1/27/2004 9:31:37 PM
Greetings all- I am attempting to use a DataList with an embedded and databound CheckBoxList control. As one might expect, I can add ListItems to the CheckBoxList, but in no way have I been able to set or retrieve the Selected property of any of these ListItems. To perform the data binding...more >>

TreeView rebuilt on the client
Posted by Mark Goldin at 1/27/2004 9:28:10 PM
Can I dynamically change a source of the control? Basically the user needs to load two different XMLs at his choice. I dont mind to have postback true for that matter. Thanks ...more >>

Web form Controls collection
Posted by dwa at 1/27/2004 2:15:54 PM
How can a control be added to a table cell within a ascx, so that iteration over the forms control collection finds the control? We've got code similar to this (excuse the psuedo-code) in the Page Load of our the ascx: // create and initialize a drop down... DropDownList aDropDown = new Dr...more >>

checkbox changed event from client-side javascript -????
Posted by smita at 1/27/2004 2:13:37 PM
Hi Jeffrey, I have a web page on which i have a placed a checkbox . Now what i need is ..when this checkbox is checked , i want to enable three text boxes present on the same page. I am aware that i need to use java script here for client side scripting...but how exactly do i nee...more >>

button control and cancel submit
Posted by jbhopper at 1/27/2004 11:51:08 AM
I use Attribute.Add to call a javascript function client-side from an asp:button control. The javascript function opens a window. My problem is that the submit event fires after the javascript code executes. When I view the source in "running documents" I see that the button is declared as "type=sub...more >>

Can i
Posted by sumana36 NO[at]SPAM hotmail.com at 1/27/2004 10:40:12 AM
Can i call a client side script after a server control is called and executed? If yes, how can we do this?...more >>

WebForm Data Grid Button column customization
Posted by PatLaf at 1/27/2004 9:41:06 AM
I posted this question originally but wasn't clear enough with my request. I was pointed to the winforms help for the data grid. I need to create a web forms datagrid with two button columns that will either decrement or increment the values in the cells in the rows the buttons are in. Is there a sa...more >>

remove browser properties toolbar
Posted by lisak at 1/27/2004 6:11:08 AM
How do you remove the forward and back button from the browser window when creating an application using Visual Studio.Net. I want each web form to have the forward and back buttons removed or disabled so that users cannot browse this way....more >>

XML data from TreeView
Posted by Mark Goldin at 1/27/2004 4:38:07 AM
What do I do to have TreeView XML data available on the client side? Thanks ...more >>

retrieve value from control
Posted by David J Duryea at 1/27/2004 2:18:49 AM
Please if anyone can help, it would be greatly appreciated I have a VB form on a page called create.aspx with some text fields and listboxes. I also have a control on the form <%@ Register TagPrefix="UserControl" TagName="Categories" Src="/Categories.ascx" %> The Control Categories.asc...more >>

TabStrip web control
Posted by Gabriel Enea at 1/26/2004 9:06:57 PM
Hello, I'm trying to develop my TabStrip web control but seems there is some troubles in the desing mode. Initially, I have defined a collection of TabButton in the TabStrip web control. The TabButton inherits the functionality of the System.Web.UI.WebControls.Button. In the Render method...more >>

Show messagebox
Posted by Mark Goldin at 1/26/2004 7:23:31 PM
How do I show a message box in C#? Thanks ...more >>

Where to store client code
Posted by Mark Goldin at 1/26/2004 6:53:24 PM
I want to add a client code - code that will be running on a client side. Should I create a new class? Thanks ...more >>

How do I capture events fired in child user controls?
Posted by Justin at 1/26/2004 6:46:04 PM
First, let me give you some background on what I am trying to accomplish. I have a page which contains a custom user control, lets call it Navigator, that has some buttons next, back, etc. Navigator also contains a placeholder in which I load other custom user controls when next or back is clicked...more >>

HtmlInputFile and ClientSide scriptiing
Posted by Jon Turner at 1/26/2004 4:46:31 PM
Is there a way to stuff a filename and path into this control at runtime on the browser using javascript ? I don't want the user to have to browse to a file but just answer a few questions and I compute the filename + path of where the file will be located. Just how do I go about this. Ma...more >>

newbie question
Posted by MS Public at 1/26/2004 1:31:25 PM
I'm new to ASP and I am having some difficulty with understanding how the events on a dataGrid can be used. I have a DataGrid on my webform and for example, how do I expect to get the selectedIndexChanged event? If I set this value using a button, the event does not seem to fire, what am I mis...more >>

Errors running treview
Posted by Mark at 1/26/2004 1:21:06 PM
Here is my aspx code <%@ Page language="c#" Codebehind="tiptree.aspx.cs" AutoEventWireup="false" Inherits="TipTree.tiptree" %><%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"...more >>

User control not visible when setting .Visible = true;
Posted by Andrea Williams at 1/26/2004 1:05:19 PM
I'm working with c#, my code is below. The page starts out showing just a dropdown and a button. When the dropdown is selected and the button is pressed, it's supposed to show the user controls, however, even though the code sets it to be visible again, it's still not visible. I have run thro...more >>

Invalid CurrentPageIndex Value
Posted by Doug Holland at 1/26/2004 10:46:05 AM
Hi Ther I have a DataGrid on a webform which is causing an HttpException in the following code when it transitions from showing all of the packages in the system (12 on two pages) to only linked packages (3 on one page) m_DataGrid.DataSource = _list; // _list is an ArrayList instanc if(m_DataG...more >>

How to add color to dropdownlist based on value from SQL Query Statement.
Posted by uholbrx NO[at]SPAM yahoo.com at 1/26/2004 10:09:13 AM
I want to be able to color code my dropdown list based on the status of the users within the list. I have a SQL Query (stored Procedure) that return the following data. (UserID, UserName, Status). I bind the data like this from returning the data from a SqlDataReader: ' dropdownli...more >>

Is there a File Transfer Component
Posted by Jon Turner at 1/26/2004 9:57:06 AM
Is there a File Transfer component in .NET or an ActiveX that will allow you to select a file to transfer from the client to the server. A Freeby would be the most preferred. Many thanks ...more >>

Drop Down List appearance ??
Posted by Bobofrut at 1/25/2004 4:11:08 PM
Hi, I have a problem with appearance of Drop Down List. I can't set this to look like dropdown list in my VS interface. I want to know how to change the border and view of little key to flat. There is any way to do it by using CSS style ? thank Chris ...more >>


DevelopmentNow Blog