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
May 2008
June 2008


all groups > asp.net webcontrols > february 2006 > threads for february 15 - 21, 2006

Filter by week: 1 2 3 4

how to create graphs in ASP?
Posted by Cimento Cola at 2/21/2006 4:20:00 PM
Hello everyone! Can anybodu point me to some sites about builting graphs in ASP? I´m trying to build pie and/or bar graphs like the ones in http://www.hanengcharts.com/Chart_Gallery.asp They use a .class I´ve downloaded and tested it and it works great, but one has to pay to have it... Does...more >>

Parsing HTML in Controls
Posted by Nick at 2/21/2006 1:51:28 PM
Hello, I have a task to translate HTML text from a database to a legacy proprietary format none html. For this I was hoping to load the HTML into object model where each HTML table or div or span tag is an object from which I can read the attributes and generate the proprietary output. I t...more >>

Dynamic Textboxes.
Posted by Shawn at 2/21/2006 1:34:04 PM
I have a webpage that uses a drop down box of numbers to dynamically generate a number of textboxes that are added to a panel control. It works fine until a postback. Then they all dissappear. I have set the EnableViewState to true, but it still happens. Any ideas? Protected Sub btnNumInGro...more >>

ASP.NET 2.0 and ObjectDataBinding
Posted by dm1608 at 2/21/2006 12:58:32 PM
I'm doing an ASP.NET 2.0 project where I have a BAL and DAL layer. I'm passing a DataSet from the DAL to the BAL. The BAL is passing generics back to the presentation. All works fine, however, I noticed a problem with my code that does something like this in the BAL: List<JobSummary> j...more >>

SkinIDTypeConverter in DesignerActionList
Posted by auspicious NO[at]SPAM gmail.com at 2/21/2006 11:05:47 AM
We have several custom WebPartDesigner's implemented for various WebParts in ASP.NET 2.0. One of the properties exposed on the DesginerActionList of the WebPartDesigner is a SkinID that's currently a free-text field. We've tried (unsuccessfully) to reproduce the same dropdown that appears in the...more >>

TreeView web control not displaying
Posted by Hass at 2/21/2006 11:05:07 AM
Hi, I have developed a ASP.NET application that uses the treeview web control. The application works fine on most machines but on a random few the control fails to display at all. All I get is an empty frame. I have checked all the browser settings and they are exactly the same. Does anyone k...more >>

Datagrid viewstate
Posted by Larry Charlton at 2/21/2006 4:47:30 AM
Is there a way to selectively turn off viewstate for a datagrid? I've implemented server side paging for the grid with an object datasource, and there's no reason to track the actual data in the grid in viewstate, but I still need to track the page and sort order....more >>

Type.GetType()
Posted by Andrew Chalk at 2/20/2006 11:32:21 PM
After the following line: Type myType1 = Type.GetType("System.Drawing.Color"); myType1 is "undefined". Why is this? I expected it to be type System.Drawing.Color. Many thanks. ...more >>



C#/ASP.NET 2.0 - Convert HTML Table to DataGrid/Source
Posted by David R. Longnecker at 2/20/2006 2:38:20 PM
We have a third party web-based application that we need to make searchable by other applications; unfortunately, the data is stored within the HTML of the pages rather than a database. The manufacturer, and other developers, suggested using the WebControl to "screen scrape" the data off the ...more >>

Row count for query through SqlDataSource and GridView
Posted by RyanRounkles at 2/20/2006 1:22:39 PM
I'm using a GridView (for paging) and SqlDataSource on an ASP.NET 2.0 page. Everything is working, but I cannot find a clean way to get the total number of results (like RowCount in a dataset). Right now I'm running the query a second time in a SqlDataAdapter, which I find really hack-ish. The...more >>

How to set property "ReadOnly" on all TextBoxes on a WebForm
Posted by Dan Kimhi at 2/20/2006 11:38:22 AM
Hello, I'm in the process of learning asp.net and WebForms. Could somebody indicate how I can write code to control the properties of the (TextBox) controls on a WebForm.?Thanks. Dan Kimhi ...more >>

Compile problems for vb.net code behind aspx file (VS 2005 / .Net
Posted by mishj at 2/20/2006 8:37:24 AM
While I can compile C# code behind my aspx file fine, any vb code behind I try to compile gives me the same errors.. (6 files give same problem, all were fine in previous version of VS) InitializeCulture is not a member of ASP.[filename.aspx] CreateResourceBasedLiteralControl is not a member o...more >>

getting/chaning attributes on a DIV tag.
Posted by JL at 2/20/2006 7:20:26 AM
Hi, I am working on a page where I need to show/hide a DIV tag when a button is clicked. Below is how the DIV tag was set up on Page Load: div.Attributes.Add("style", "display:block;"); Is there a way that when the button is clicked, I can check the value on the "style" attribute, an...more >>

how to install a webcontrol
Posted by Donkey at 2/20/2006 5:10:34 AM
Hi i want to use the following webcontrol on an aspx.page. http://nevermind.1speedcom.com/Codes/Datepicker.aspx But i can't let this to work within my page, it doesn't really gives an error, it just doesn't do anything. I tried to follow the setup guidelines but it fail at the second one. Beca...more >>

Composite Server Control and DefaultValue Attribute
Posted by Douglas Rohm at 2/20/2006 1:00:29 AM
Hi, I'm creating a composite server control that contains a 3rd party TreeView server control along with other properties. I'm exposing some, not all, of the properties of the TreeView through properties in my control. I'm setting the DefaultValue attribute on a property and when I drop the...more >>

using ASPNET objects in custom webcontrol
Posted by Dariusz Tomon at 2/20/2006 12:00:00 AM
Hi In my project I have got several webcontrol (ascx). How can I handle with the problem: I would like to have some ASPNET object (DropDownList, InputBox etc.) in one webcontrol (this webcontrol is a part of Default.aspx page where I have <form runat=server> tag. But this tag does not cove...more >>

Indent Items in ASP:ListBox?
Posted by Indent Items in ASP:ListBox? at 2/19/2006 10:02:27 AM
Does anyone know how to indent items within a listbox? I'm trying to display a tree structure within an ASP:ListBox. Thanks, Tim...more >>

The case of the crazy reseting dropdowns :-( Please help!
Posted by Simon Harvey at 2/19/2006 9:01:51 AM
Hi everyone, I keep getting a problem with dropdownlist controls. It sounds really stupid, but my app is screwed as long as this keeps happening. It seems to spontaneously happen and then I cant fix it without rebuilding the whole page from scratch! Not Fun. :-( So whats happening is I ...more >>

Website with 2 menus - how to have 2 Web.sitemap files ?
Posted by Jack at 2/19/2006 12:00:00 AM
Hi, In my master page, I have a <asp:SiteMapDataSource /> with its related <asp:Menu /> linked by the ID attribute. They reference my Web.sitemap file as it would normally do. But I want some of my <asp:Content /> pages to contain an entirely new menu. I need to define a second Web.sitem...more >>

Looking for a book on writing ASP.NET Controls with VB.NET
Posted by Nathan Sokalski at 2/18/2006 9:42:50 PM
I am an ASP.NET developer who would like to start learning about writing ASP.NET custom controls using VB.NET. I already have a reasonable amount of knowledge with making ASP.NET pages, and am looking for a book specifically on writing controls. Here are some things I would like the book to ta...more >>

general request about links
Posted by Dariusz Tomon at 2/18/2006 6:01:00 PM
Hi I'm rather beginner in the world of webcontrols. I'm wonder where could I get clear and good basics? I would appreciate if somebody gave me a couple of links to appropriate material. Best Regards Darek ...more >>

CompileWith
Posted by Paul Hand at 2/18/2006 3:18:48 PM
Hi all, Visual Studio 20005, XP Pro >net v2 Whenever I try to compile with the following: %@ Page Language="C#" CompileWith="DynamicUpdate.aspx.cs" ClassName="DynamicUpdate_aspx" %> I get the following error message: Attribute CompileWith is not a valid attributte Any ideas? Than...more >>

From one form to another..
Posted by Ed at 2/18/2006 12:28:42 PM
Hi I have populated a Dropdown from Active Directory as follows On Login.aspx DoorsList.Items.Add(result.Properties("sAMAccountName")(0).ToString) This works fine and is populated correctly but I would like to use the item selected Item in a different form. i.e default.aspx. How c...more >>

Converting the time from one timezone to another
Posted by Nathan Sokalski at 2/18/2006 2:19:49 AM
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 Dim utctime As Date = servertime.ToUniversalTime() D...more >>

Selling controls that extend ASP.NET controls?
Posted by Rick at 2/18/2006 12:41:24 AM
If I create a webcontrol that extends an existing ASP.NET control (such as a TextBox or DataGrid), can I sell it? ...more >>

Possible to have different colours for specific cells for GridView?
Posted by Jack at 2/18/2006 12:00:00 AM
Hi all, Was wondering if its possible to do this? Bacically, I want to have different colours for some cells within a gridview. cheers, Jack. ...more >>

Gridview with column headers
Posted by Jack at 2/18/2006 12:00:00 AM
Hi, Is it possible to configure the gridview with the column headers being 2-or-more rows down in height. In addition, is it possible to 'span' them 2-or-more rows down? cheers, Jack. ...more >>

Gridview with columns
Posted by Jack at 2/18/2006 12:00:00 AM
Hi, Is it possible to configure the gridview with the columns being 2-or-more rows down. In addition, is it possible to 'span' them 2-or-more rows down? cheers, Jack. ...more >>

Image Rollovers with the Hyperlink Control
Posted by Nathan Sokalski at 2/17/2006 8:28:53 PM
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 or a HyperLink and Image Controls, but the onMouseOver and onMouse...more >>

GridView ASP.NET 2.0 Question
Posted by dm1608 at 2/17/2006 4:46:11 PM
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 display. Thanks ...more >>

Passing Values into Formview or DetailsView
Posted by Desmond at 2/17/2006 6:15:42 AM
Hi fellow techies I a problem trying to recreate a process using ASP.NET that comes very easy for me in the desktop application programming side. First I would like to know how to use values from a combo box as an input value to a detailsview or a formview data control. I am trying to upda...more >>

formview
Posted by Alessandro at 2/17/2006 12:10:26 AM
Scenario: formview - 1) in the formview there are a <table> tag to control the layout. 2) there are many added controls in EditItemTemplate and InsertItemTemplate In the code behind (in a separate file) the code: For Each WebControl As System.We...more >>

Populate dropdown/listbox
Posted by Ed at 2/16/2006 5:23:12 PM
Hi, I have an LDAP query that I want to use to populate a dropdown/list box but when debugging the box seems to have the correct amount of entry in it but they are all: System.DirectoryServices.SearchResult. How can I get this to work? Code to retrieve groups beginning with Door (i.e. Door 1...more >>

Master Pages session variables
Posted by VJ at 2/16/2006 10:37:21 AM
I've created a handful of pages (with attached master files) and I want to use session variables, but trying to access to the Request["formvalues"] is really difficult. <%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="FirstPage.aspx.cs" Inherits="Fir...more >>

Server Side Custom Validation not running
Posted by robin9876 NO[at]SPAM hotmail.com at 2/16/2006 8:21:47 AM
In an ASP.Net 1.1 web page I have added a custom control, that has no client side validation but has server side validation. I have set the property of the custom validation to have onServerValidate = "CustomValidator_ServerValidate" The server validation code is in the function defined as Publi...more >>

Programatically Databinding controls within a Repeater
Posted by dcew at 2/16/2006 7:14:28 AM
If I have a Repeater control which contains one ItemTemplate, which in turn contains one HyperLink control, is there anyway I can set that Hyperlink controls .Text and .NavigateUrl datasource values in the codebehind as opposed to using NavigateUrl='<%# Eval("URL") %>' style syntax in the .asp...more >>

How can I create a HTMLTable class from and HTML string.
Posted by chambersdon NO[at]SPAM hotmail.com at 2/16/2006 6:59:34 AM
I have an XMLReader loaded the HTML from a web page. I want to pull a Table out of this XMLReader and use it to create an HTMLControls.HTMLTable object. How can I do this? I should be able to do it without parsing the sting and explicitly creating every row and column. This should work as i...more >>

My WebControls stopped working
Posted by di8grem NO[at]SPAM hotmail.com at 2/16/2006 5:28:36 AM
Hi, I have an web application written in ASP.NET 1.1 with two WebControls, one TreeView and one TabStrip with MultiPage. They've worked all fine until today. The controls works for other people who goes to my page (IIS 5.1) but not for me. I don't get any error message, the controls just does...more >>

PostBackURL
Posted by jopierre NO[at]SPAM gmail.com at 2/16/2006 3:03:09 AM
Hi, I am trying to use PostBackURL to post fields to a new url of my payment gateway software. So i'm trying to post .aspx to .asp page of the payment gateway provider. Would this still be possible as i am only getting postbacks to the same page. Thanks in advance. Jo-Pierre ...more >>

Classic ASP String Manipulation - NOT .net
Posted by James at 2/15/2006 6:11:51 PM
Good Evening, I would like to insert a 5 letter word into a 100 letter string, but only 1 letter at a time, and each letter separated by 10 characters!!! :) Using Alpha characters only, no numbers or punctuation in either string. The first letter needs to use the DAY OF THE MONTH number a...more >>

Simple String Conversion?
Posted by Gary at 2/15/2006 12:07:27 PM
Hello, I collect a string on my ASP.NET page via Request.QueryString. For Example: http://www.site.com/index.aspx?Outlook=BAD I now want to take this string and convert it to a NUMERICAL string based on the position within the alphabet.n Spaces OR Dashes between each character is impo...more >>

MaxLenth doesn't work
Posted by gralet at 2/15/2006 7:49:29 AM
Why the TextBox’s MaxLength property set to a positive number doesn’t work when the TextMode property is set to Multiline? What can I do to get both properties work? -- __________________ Luis Graillet Ramos...more >>

DataGrid Conditional Formatting
Posted by Juan G. at 2/15/2006 6:55:29 AM
I have an ASP.NET DataGrid, in which I would like to implement Conditional Formatting. I have figured out how to do this, insofar as the proper DataGrid tags are concerned: .... OnItemDataBound="ItemDataBoundEventHandler">, along with the EventHandler: Sub ItemDataBoundEventHandler(sender...more >>

Control tags
Posted by Jim Reynolds at 2/15/2006 5:57:26 AM
Hi, As default a control is wrapped in span tags is there any quick way of changing that? Jim...more >>


DevelopmentNow Blog