Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score general request about links
Dariusz Tomon - 18 Feb 2006 5:01 PM - 3 messages
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 ...
Score CompileWith
Paul Hand - 18 Feb 2006 3:18 PM - 2 messages
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 ...
Score From one form to another..
Ed - 18 Feb 2006 12:28 PM - 2 messages
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. ...
Score Converting the time from one timezone to another
Nathan Sokalski - 18 Feb 2006 7:19 AM - 7 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 Possible to have different colours for specific cells for GridView?
Jack - 18 Feb 2006 6:32 AM - 2 messages
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. ...
Score Selling controls that extend ASP.NET controls?
Rick - 18 Feb 2006 5:41 AM - 2 messages
If I create a webcontrol that extends an existing ASP.NET control (such as a TextBox or DataGrid), can I sell it? ...
Score Gridview with column headers
Jack - 18 Feb 2006 4:55 AM - 2 messages
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. ...
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 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 Passing Values into Formview or DetailsView
Desmond - 17 Feb 2006 2:15 PM - 2 messages
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 ...
Score formview
Alessandro - 17 Feb 2006 8:10 AM - 2 messages
Scenario: formview - 1) in the formview there are a <table> tag to control the layout.                  2) there are many added controls in EditItemTemplate and ...
Score Master Pages session variables
VJ - 16 Feb 2006 6:37 PM - 3 messages
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="FirstPage" ...
Score Populate dropdown/listbox
Ed - 16 Feb 2006 5:23 PM - 2 messages
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 ...
Score Server Side Custom Validation not running
robin9876 - 16 Feb 2006 4:21 PM - 8 messages
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 Public Sub ...
Score Programatically Databinding controls within a Repeater
dcew - 16 Feb 2006 3:14 PM - 3 messages
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 .aspx? ...
Score How can I create a HTMLTable class from and HTML string.
chambersdon - 16 Feb 2006 2:59 PM - 2 messages
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 ...
Score My WebControls stopped working
di8grem - 16 Feb 2006 1:28 PM - 2 messages
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 ...
Score PostBackURL
jopierre - 16 Feb 2006 11:03 AM - 2 messages
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 ...
Score Classic ASP String Manipulation - NOT .net
James - 15 Feb 2006 6:11 PM - 7 messages
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 ...
Score MaxLenth doesn't work
gralet - 15 Feb 2006 3:49 PM - 3 messages
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? ...
Score DataGrid Conditional Formatting
Juan G. - 15 Feb 2006 2:55 PM - 4 messages
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 as Object, e as DataGridItemEventArgs) ...
Score Control tags
Jim Reynolds - 15 Feb 2006 1:57 PM - 2 messages
Hi, As default a control is wrapped in span tags is there any quick way of changing that? Jim ...
Score Simple String Conversion?
Gary - 15 Feb 2006 12:07 PM - 3 messages
Hello, I collect a string on my ASP.NET page via Request.QueryString. For Example: [link] I now want to take this string and convert it to a NUMERICAL string based on ...
Score add a list item to a bound control
blackstaronline.net - 14 Feb 2006 7:01 PM - 4 messages
Hi, I have a drop down list thats bound to a SQL query. But I want to have the top item or .SelectedItem to be a generic "Please Select..." with no value. I've searched for the answer and tried every combination and ...
Score Best way to have multiple pages show up as same selection on menu
Corleen - 14 Feb 2006 6:42 PM - 4 messages
Hello I'm new to ASP.net 2.0 and am trying to work with the menu control.  I've setup a sitemap for my main pages and a menu control on a master page.  When an item is chosen on the menu control, that item stays highlighted via my ...
Score DropDownList in custom control not firing postback :(
FruitBatInShades - 14 Feb 2006 11:00 AM - 2 messages
I have a dropdownlist in a custom control that is not rendering the postback javascript. Country = New DropDownList Country.AutoPostBack = True but the rendered html is as below <select name="mmEditContact:Country" id="mmEditContact_Country"> Any Ideas? ==========   MISC CODE SECTIONS ================ ...
Score The Ellipsis (.) Character Is Not Showing Up When Read From A Text File
Nathan Sokalski - 14 Feb 2006 4:37 AM - 2 messages
I have a page which reads the the first line of every *.txt file in a certain directory of mine to use as the Text property of a HyperLink Control. However, in one of my recently added text files in the directory it ...
Score CustomValidator is not firing
Bob - 14 Feb 2006 2:25 AM - 11 messages
Hi all, I have a page where I am dynamically adding controls and validators.  The required and compare validators are working fine.  The customvalidator does not appear to be firing.  Here is the code I use for adding it: ...
Score Dynamic checkbox loses checked state
Oxns - 13 Feb 2006 9:39 PM - 4 messages
Hi, Further to my earlier post - I have created a very simple test app which demonstrates this problem. Any advice gratefully accepted ;-). In a simple website (I am using .Net V2.0.50727.42) add the following to the default.aspx page : ...
Score cancel toolbar buttonclick from client-side javascript
John C. - 13 Feb 2006 6:21 PM - 3 messages
Hi, I'm using the webcontrols toolbar. Is it possible to cancel the postback which drives the server-side events by using some client-side javascript, something along the lines of     window.event.returnValue = window.confirm('test1'); ...
Score DataGrid Functionality Questions
Phillip N Rounds - 13 Feb 2006 6:17 PM - 4 messages
I have a DataGrid in a web form (ASP1.1, C#, VS 2003) that I'm trying to add some functionality to, and I can't figure out how to do int. The existing DataGrid has several databound columns and a Template Columns, ...
Score Checkbox state after postback
Oxns - 13 Feb 2006 4:24 PM - 3 messages
Hi, I have a pge on which is a placeholder. I fill the placeholder at runtime with a number of dynamically created controls. Most of these work just fine, except my checkbox. When I first load the page the chekbox displays correctly either checked or ...
Score Checkbox in datagrid....
scsharma - 13 Feb 2006 3:17 PM - 5 messages
Hi, I have a datagrid which has one of the columns as checkbox. In this column, based on certain condition some of the rows will have the checkbox enabled or disabled. Now based on user action on the webform i am checking or unchecking ...
Score FileUpload Control
Seok Bee - 13 Feb 2006 2:49 PM - 2 messages
Dear Experts, May I ask, how can I remain the selected file that has been chosen through the Browse button in the Fileupload control in asp.net after a postback? Current, when the postback is true, the value/selected file in the fileupload ...
Score DataGrid & Checkbox Template Columns
JP - 13 Feb 2006 2:05 PM - 2 messages
Hi, I've got a simple datagrid in asp.net (C#) that is populated by an adapter from SQL.  I have two template columns - one with a checkbox and one with a textbox. I am allowing users to indicate which rows to remove from the grid by ...
Score How to read value of a dynamically created radiobuttonlist control?
Jarkko Turpeinen - 13 Feb 2006 12:27 PM - 4 messages
I'm developing a project that dynamically creates a set of radiobuttonlist controls. I have a problem with reading the values of the radiobuttons. When I'm using the following code to iterate through controls, I cannot use the ..selecteditem.value property after 'value = con5.' ...
Score Looking for graphic control to use in .NET
Simon Friso - 13 Feb 2006 9:29 AM - 2 messages
Hello, I'm looking for a graphic control I can use in .NET. I need the following features: - drawing shapes - filling shapes with color, gradient or texture - drawing splines, arcs and curves - present the drawings on a graphical map (jpg) ...
Score Rendered Region editing
Larry Charlton - 12 Feb 2006 1:49 PM - 2 messages
Does anyone know of documentation on or examples of creating a control and designer that supports regions but is rendered?  I am trying to create a control with some HTML tags around two regions that I'd like to be able to ...
Next »