Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Custom Datagrid not displaying
ryan.d.rembaum - 3 Feb 2006 8:22 PM - 3 messages
I am attempting to create a custom datagrid that inherits from the DATAGRID.  My code is below: Imports System Imports System.Data.SqlClient Imports System.Data Imports System.Web Imports System.Web.Security Imports System.ComponentModel Imports System.Web.UI ...
Score Reading / Modifying FormView Child Controls at Runtime
Scott at Cedar Creek - 3 Feb 2006 8:00 PM - 3 messages
Please excuse me for reposting, I am not sure I correctly articulated what I am trying to do in my last post. I have created a FormView with lots of label controls.  Depending on certain other values obtained at runtime, I want to color-code a label inside the ...
Score TreeView with custom HierarchicalDataSourceControl
Eamon Millman - 3 Feb 2006 5:17 PM - 3 messages
Greetings, I'm fairly new to the new ASP.NET 2.0 controls and I'm trying to get the TreeView control to display some non-xml/sitemap data I want to have in a tree format. To accomplish this I have followed the sample code provided on ...
Score DataGrid event handlers are being lost during re-compile
shamus.schubert - 3 Feb 2006 1:35 PM - 2 messages
This seems to happen too often (more than once). By 'rebuilding' the web application (using Visual Studio.NET 2003, v1.1) and making no changes whatsoever to a particular DataGrid (that I am aware of), the ItemDataBound, DeleteCommand, etc. event handlers ...
Score how to mention the date range in the calendar control
Prabhakar - 3 Feb 2006 11:20 AM - 2 messages
Is there a way to specify that the calendar control should display days between the date range (start date - end date) specified? Start date and end date could either be in the previous month or the next month. ...
Score Telling weither the control is in design time or on a web page
GregO - 2 Feb 2006 10:00 PM - 4 messages
Hello, I have a web control and I want to render it differnetly when it is in design mode as aposed to when it is on a web page. How do I tell when it is in the different mode? ...
Score How do I reference or change formview child controls in code?
Scott at Cedar Creek - 2 Feb 2006 8:50 PM - 4 messages
I have a FormView control (which, by the way, is VERY cool) that contains a bunch of controls inside it.  One of them is a label called "Status".  I would like this label to be one of several colors, depending on its value.  I ...
Score Calendar control question
Paul - 2 Feb 2006 6:56 PM - 3 messages
Hi I have a calendar control with a web application and when the page loads  I have the selected value set to a date returned from a database.  Anyhow I noticed it still shows the current month even if the date is in a previous ...
Score treeview asp.net 2.0
Jasmine - 2 Feb 2006 2:36 AM - 6 messages
Hi, Is there way to know how many nodes have been checked total in the tree view from the client side (java script)? Thanks, Jasmine ...
Score Gridview hypterlink colomn to popup a new window
Jasmine - 2 Feb 2006 2:36 AM - 2 messages
Hi, I added the script in the gridview hyperlink colomn for " DataNavigateUrlFormatString = "javascript: var w= ...", but once I added javascript here instead of " DataNavigateUrlFormatString ='mypopwin.aspx?ID={0}' ", the hyperlink text lost hyperlink, becomes regular text, which means I can't click on it, how can I fix it? ...
Score Menu Control - SubItem Shadows
FlyFishGuy - 2 Feb 2006 12:03 AM - 3 messages
I have searched the planet and I have explored every property of the menu control and I can't seem to find anywhere how to control this. I have added a menu control to my master page and when I hover over the ...
Score asp.net 2.0 treeview control - very slow
Doug Salomon - 1 Feb 2006 7:11 PM - 9 messages
I've been playing around with the treeview control, and I'm finding that it displays extremely slowly in Internet Explorer. I've been checking my work in IE 6 and 7 beta2 and in Firefox 1.5. Firefox is fast enough, but IE is ...
Score Any Help on TabStrip Control??
Tina - 1 Feb 2006 5:59 PM - 4 messages
This tabstrip control has strange behavior.  If any border is applied to the tabs they all appear in as though they are in a div with both horizontal and vertical scroll bars. Does anyone know how to defeat this behavior? ...
Score Flickering imagebutton with smartnavigation on
Juergen Theis - 1 Feb 2006 4:53 PM - 3 messages
Hi, everyone We have an aspx page with an imagebutton on it. Each time the button is clicked an image is generated on server side and sent back as an image stream to the client. Therefor we are using another simple aspx page, ...
Score disabling back button of window
Vani Donthula - 1 Feb 2006 1:10 PM - 2 messages
Hi In my web application,in one of the page where I need to disable the back button of the toolbar. Suggestions on this are welcome. Thanks, Vani. ...
Score DataGrid not responding to Update/Cancel click
andrew.roberts - 1 Feb 2006 11:39 AM - 7 messages
Hope someone can help with this, its starting to send me over the edge! I have a datagrid which when I click on the Edit button puts the grid into the editable mode and changes the text property of a label to ...
Score Get data, make textBoxes, edit values, and re-save to database. Simple?
"A_Michigan_User\ - 1 Feb 2006 4:55 AM - 6 messages
I'm using asp.net/vb.net/ado.net to create a very simple user interface. (Everything works if I use STATICALLY created textBoxes... but not when I make them DYNAMICALLY.) 1.  Execute a SQL SELECT cmd to retrieve a record. ...
Score Datagrid soes not page nor edits
Doru Roman - 1 Feb 2006 12:14 AM - 6 messages
Hi, I try to use a datagrid with paging. Even though it shows the numbers for the following pages at the bottom of the grid, when I click on the page number it does not go there, it keeps the first page, even though there are ...
Score A question about Repeater control
Vincent Ye - 31 Jan 2006 9:20 PM - 6 messages
Hi, All Let me describe my problem: I store some link information in an Access database. Now I want to show these links in a table on my asp.net page. let's say there are 3 columns in the table. I want to show one link per cell. ...
Score detailsview, inserting new record and request.querystring
TdarTdar - 31 Jan 2006 9:14 PM - 10 messages
Hello,   I have a value from another page called shipkey, I would like to use this value to populate the field shipkey in the detailsview for inserting a new record. how would that be done correctly? code: <%@ Page Language="VB" MasterPageFile="~/Site.master" ...
Score Web User Control
Frank - 31 Jan 2006 8:58 PM - 3 messages
Hi,     I have two user controls. They are small. One is for login in and the other one is for a new user. I was thinking to have both, and in the client side, switch them (if both are load it), yet I want them in the same ...
Score EnableViewState=False creates problems with Visible & Enabled
Revoemag - 31 Jan 2006 7:42 PM - 2 messages
I have a very simple WebForm that has 3 Web Controls: 1 TextBox (TextBox1) and 2 Buttons (Button1 & Button2). Button1 checks if the TextBox is Visible (or Enabled) and sets it to False (or True in the opposite case). Button2 does absolutely nothing. ...
Score object reference not set as an instance of an object
jtleb - 31 Jan 2006 3:47 PM - 3 messages
hi all, I am new to ASP.NET  so please bear with me. i am trying to use mulitple radio buttons on one page with a submit button. There is one radio button in one table and 6 more in another table. When i try to get the first value it ...
Score Menu displays I-Beam cursor, not Hand
Walter - 31 Jan 2006 1:41 PM - 4 messages
I have a .NET 2.0 Menu control on my aspx page using a web.sitemap. On the top level menu, when the cursor is going over the Static part, the mouse cursor turns into an I-Beam (text) cursor. When I open the menu, the dynamic ...
Score GridViewUpdateEventArgs not including complete set of OldValues and NewValues
Stephan Steiner - 31 Jan 2006 10:48 AM - 3 messages
Hi I have a GridView with 10 columns. However, when the RowUpdating event fires, the GridViewUpdateEventArgs.OldValues collection only contains 8. It seems to be missing two (always the same) but I can't find any logic to the behavior. I use a combination of standard and template fields. One missing ...
Score Communicating between windows control and web page
poppy - 30 Jan 2006 4:34 PM - 2 messages
I have a windows control hosted in IE which contains a bunch of methods e.g getCurrentUser(int ID) as integer How can I invoke this method from my web page, pass it the "int ID" and then get access to the returned integer ? ...
Score Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))
Allan Ebdrup - 30 Jan 2006 10:15 AM - 4 messages
Now I've tried to create my own class library and reference it, when I drag and drop a control (Basket) from the library in VS.Net 2005 I get the error: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC)) ...
Score Error: Content is not allowed between the opening and closing tags for element
Allan Ebdrup - 30 Jan 2006 7:55 AM - 6 messages
I have a ascx webcontrol that I register with: <%@ Register Src="../Controls/Default/Library/Basket/Basket.ascx" TagName="Basket" TagPrefix="uc1" %> and instantiate on the page with: <uc1:Basket ID="Basket1" runat="server" /> This works without problems, Now I've added the attribute: ...
Score Need Help: AccessDataSource and Assigning Variables for Data (ASP 2.0)
Michael - 30 Jan 2006 1:28 AM - 2 messages
I am using Visual Studio 2005 (ASP 2.0) to build a webpage that uses a Microsoft Access Database.  The data in the database simply holds the information on a link to a document that I am storing on ...
Next »