Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Value for Composite control cannot be retrieved
Jaime Stuardo - 25 Feb 2006 7:32 PM - 2 messages
Hi all.. I have programmed a composite control that is compound by one TextBox and one ImageButton. This is intended to be a popup calendar. All works well, except when the value is retrieved. For example, I placed that control inside a FormView control that is ...
Score Command button won't cause postback
JAdrianB - 25 Feb 2006 4:05 PM - 4 messages
I've created a user control (C#) and added it to a web form.  The user control has a command button.  When the button is clicked, nothing happens.  I thought maybe something went wrong with the control, so I recreated it from ...
Score Using Validators as field labels
Chris Davoli - 24 Feb 2006 10:44 PM - 3 messages
Can I use Validators as field labels AND as error fields. As an example I've got a field (label) named "Formula:". I want to use a validator instead of a label for the label of the field. So I put "Formula:" in the text field of ...
Score Animated buttons control?
Ben Fidge - 24 Feb 2006 7:39 PM - 3 messages
Can anyone recommend any good controls to implement animated buttons. I want something that can perform the following: - Must initially display a static image - When clicked the button must seamlessly display an animated GIF while waiting for the postback to return ...
Score newrow ID with detailsview and objectdatasource
Trapulo - 24 Feb 2006 5:58 PM - 3 messages
I've a problem inserting a new row using a detailsview and an objectdatasource. I've defined the objectDatasource and it is using well a custom object to insert the new item on db. All works fine, but now I need to get the ID of ...
Score Trouble removing cookies
Nathan Sokalski - 24 Feb 2006 4:26 AM - 4 messages
I am having trouble removing cookies that I created with my site. Here is the code I am using to try and remove them: If Not Request.Cookies("username") Is Nothing Then Response.Cookies.Remove("username") If Not Request.Cookies("password") Is Nothing Then ...
Score GridView DataFormatString only works on Integers
Bill H - 23 Feb 2006 9:54 PM - 2 messages
Hello, I'm trying to use the DataFormatString on a GridView Column to format a char(10) phone field to  (xxx)xxx-xxxx This works if the field is defined as an integer, but does not otherwise. Is there another trick to using this Property ? ...
Score GridView and XmlDataSource
Ben Schumacher - 23 Feb 2006 9:38 PM - 4 messages
Using an XmlDataSource to populate the GridView control, I can't set the DataField property of my BoundField controls to read actual xml node values. It only works if the DataField reads an xml node attribute.  This is ridiculous.  How can I read actual node values? ...
Score Trouble with DataList Control
Robert Sheppard - 23 Feb 2006 4:34 PM - 2 messages
I have multiple DataList controls on the same page and I want to bind each of them to different datasets. Is this possible? I am currently using the following syntax to bind my first dataset. private void Page_Load(object sender, System.EventArgs e) ...
Score Trouble with the DataList Control
Robert Sheppard - 23 Feb 2006 4:32 PM - 2 messages
I have multiple DataList controls on the same page and I want to bind each of them to different datasets. Is this possible? I am currently using the following syntax to bind my first dataset. private void Page_Load(object sender, System.EventArgs e) ...
Score DropDownList and Spaces
Mariela Donkova - 23 Feb 2006 3:13 PM - 3 messages
Hi everyone , I have a simple question : How to display in a dropdownlist names which have spaces at the begining. for example : MainCategory subcategory    subsubcategory      subsubsubcategory I am trying to keep  hierarchy using spaces in dropdownlist ...
Score ReportViewer Question
Phil Barber - 23 Feb 2006 2:23 PM - 2 messages
Does anybody know why the Print button on the report viewer toolbar (VS2005) only shows for remote reports and not Local? Is there a way to get a print function(button) on the toolbar for local if not what is required to get the remote reports setup and working? ...
Score Can I read the relevant CSS class?
Paul Cheetham - 23 Feb 2006 11:17 AM - 2 messages
Hi, I have a datagrid, where I have used CSS classes for the item style and alternating item style. The grid draws great when I load the page, but I have problems when I want to select a line by clicking on it. ...
Score TabStrip - create tabs dynamicly on client-side
Daniel Granatshtein - 23 Feb 2006 9:10 AM - 2 messages
I have created Tab and PaveView on the client side, but i am having a problem getting the new tab on the server-side. I understand I can use the viewstate and events but I have no clue how to do it. ...
Score hyperlink in a Calendar Control
Tina - 23 Feb 2006 1:59 AM - 2 messages
This does not work...   Private Sub calWO_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles calWO.DayRender         If e.Day.Date.Day = 18 Then            Dim myControl As New LiteralControl("<a ...
Score ASP.Net 2.0 Table not expanding 100%
Chuck Snyder - 22 Feb 2006 11:33 PM - 4 messages
I'm trying to get a table to expand to fill the top of the page.  But its leaving a margin on all sides (at least top, left and right).  Can anyone see what I'm doing wrong??? ...
Score .NET 2.0 ImageButton control not submitting like form button
Aaron Scholl - 22 Feb 2006 9:45 PM - 2 messages
I am trying to use an image button as my submit button.  It fires the click event properly and it does all of my processing, but when it is done it does not clear the form like a form submit would normally do. ...
Score ASP.NET 2.0 Easier than ASP? Gimmie a Break!
dm1608 - 22 Feb 2006 7:46 PM - 10 messages
I know all the hype right now from Microsoft is how much easier, faster, and less code ASP.NET 2.0 provides over previous versions.   I'm puzzled by this as I could turn out an classic ASP webpage in a few hours to query a ...
Score Compare Validator for Date AND Time
Chris Davoli - 22 Feb 2006 4:04 PM - 3 messages
I am using the CompareValidator to be sure that the date is valid. I do a DataTypeCheck with a Type of Date on the ControlToValidate. This works good if I have just date in the Date Field, but I have Date and Time. Is there any ...
Score Wizard + control validation
Mark - 22 Feb 2006 12:51 PM - 2 messages
Hi, I have a web form that contains a Wizard. One of the wizard steps includes a number of textboxes each linked to a RequiredFieldValidator. The form also has a Button that I can click to perform a postcode lookup. ...
Score checking checkboxes per javascript in asp.net 2.0 treeview
Tony - 22 Feb 2006 11:59 AM - 4 messages
hi, I'm using the treeview webcontrol from asp.net 2.0. Is it possible to use a client script that automatically checks or unchecks all childnode checkboxes under one childenodes' checkbox which checked state is changed by the user. ...
Score asp wizard
Geert - 22 Feb 2006 8:15 AM - 2 messages
Hello, I like to change the text of the navigation buttons of an asp wizard control dynamically. It is possible to change the text with the wizard.stepNextButtonText property. But I am using a stepnavigation template wherein I create my own ...
Score WebPartManager is Undefined
Prashant Majhwar - 22 Feb 2006 4:14 AM - 6 messages
I have created sample web Application. On the default page I drop webpartmanager control and then create a table and place webpartzones. Now when i am running it in development mode ...everything runs fine. But when i publish the website and try to run....error pops up ...
Score Parsing HTML in Controls
Nick - 21 Feb 2006 9:51 PM - 2 messages
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 ...
Score ASP.NET 2.0 and ObjectDataBinding
dm1608 - 21 Feb 2006 6:58 PM - 17 messages
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 ...
Score Dynamic Textboxes.
Shawn - 21 Feb 2006 6:34 PM - 4 messages
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 ...
Score how to create graphs in ASP?
Cimento Cola - 21 Feb 2006 4:20 PM - 3 messages
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 [link] They use a .class ...
Score Datagrid viewstate
Larry Charlton - 21 Feb 2006 12:47 PM - 2 messages
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 ...
Score TreeView web control not displaying
Hass - 21 Feb 2006 11:05 AM - 2 messages
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 ...
Score Type.GetType()
Andrew Chalk - 21 Feb 2006 5:32 AM - 4 messages
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. ...
Score Row count for query through SqlDataSource and GridView
RyanRounkles - 20 Feb 2006 9:22 PM - 2 messages
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 ...
Score C#/ASP.NET 2.0 - Convert HTML Table to DataGrid/Source
David R. Longnecker - 20 Feb 2006 8:38 PM - 4 messages
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 page. ...
Score Compile problems for vb.net code behind aspx file (VS 2005 / .Net
mishj - 20 Feb 2006 4:37 PM - 2 messages
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] ...
Score getting/chaning attributes on a DIV tag.
JL - 20 Feb 2006 3:20 PM - 2 messages
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 ...
Score How to set property "ReadOnly" on all TextBoxes on a WebForm
Dan Kimhi - 20 Feb 2006 10:38 AM - 7 messages
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 ...
Score Composite Server Control and DefaultValue Attribute
Douglas Rohm - 20 Feb 2006 9:00 AM - 3 messages
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 ...
Score using ASPNET objects in custom webcontrol
Dariusz Tomon - 20 Feb 2006 2:08 AM - 2 messages
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 ...
Score Indent Items in ASP:ListBox?
Indent Items in ASP:ListBox? - 19 Feb 2006 6:02 PM - 2 messages
Does anyone know how to indent items within a listbox?  I'm trying to display a tree structure within an ASP:ListBox. Thanks, Tim ...
Score The case of the crazy reseting dropdowns :-( Please help!
Simon Harvey - 19 Feb 2006 5:01 PM - 4 messages
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. :-( ...
Score Looking for a book on writing ASP.NET Controls with VB.NET
Nathan Sokalski - 19 Feb 2006 2:42 AM - 4 messages
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 ...
Next »