Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score how to use a var in hc.BackColor = Drawing.Color?
D. - 12 May 2006 7:53 PM - 3 messages
Hi, Look at this: Dim hc As TableHeaderCell hc = New TableHeaderCell() hc.BackColor = Drawing.Color.lightGray My problem is: i want to put the color into a variable like this: dim mycolor as string mycolor="red" hc.BackColor = Drawing.Color.mycolor ...
Score Web site templates
OceanView - 12 May 2006 5:08 PM - 5 messages
Hi folks,   I've been out of this end of the business for a while and I've bneen givin that task of converting a dull statis web site to a more dynamic, customizable one. What I'm seeking is suggestions for web site templates/packages, commericial ...
Score datagrid in the webpart, some paging problem
sean - 11 May 2006 11:02 PM - 3 messages
Hi All, I'm developing webpart for WSS which is using DataGrid. The code included below is currently developed under VS2005. Everything is working, paging, editing, cancel, update. Then only problem is when the page is the the last page with 2 items on it, or ...
Score Paging not showing up in detailsview
lewisawong - 11 May 2006 9:45 PM - 2 messages
hi: I have a form which has a gridview and detailsview. In design mode in VS 2005, paging (1 2) shows in detailsview, but when run, it does not show at all. Can anyone help? Thanks Code: <asp:DetailsView AutoGenerateRows="False" DataKeyNames="servers" ...
Score GridvIew sorting event handling
Carlos - 11 May 2006 9:10 PM - 3 messages
Hi all, I have set allowsorting to true in one of my columns of my gridview, and I noticed that it gets underlined in the gridview control. I have also defined the gridview1_sorting event handler in my code, but I still ...
Score Customizing the Menu WebControl
David Dixon - 11 May 2006 10:49 AM - 4 messages
I'm using the Menu WebControl in ASP.net 2 and would like to have the hierarchical view displayed on each page as the user drills down through the site.  The menu should be visible at all times and not popup, and the ...
Score Dynamic Image from Database (Post 2)
Joe Reiss - 11 May 2006 1:14 AM - 4 messages
Hi All, Using vs2005, C#, SQL Server 2005/Shared Environment. This is my second Post since I got absolutely no responses the first time. I really need to solve this one. I'm attempting to populate an image control from a jpeg stored in a image ...
Score Adding an imagebutton and text to a table control dynamically
crferguson@gmail.com - 10 May 2006 7:48 PM - 5 messages
Hello all! I've run myself into a wall on something that sounds like it should be simple.  I'm building a table control dynamically and want to add a string of text followed by an imagebutton control.  I'm able to do this ...
Score RequiredFieldValidator on a ListBox
Kristian Kaadner - 10 May 2006 7:24 PM - 2 messages
Hi. I use asp.net 2.0 adn add data to a listbox dynamically like this: Dim lb as listbox lb = formview1.FindControl("ListBox1") lb.DataSourceID = "sqlDataSource1" lb.DataTextField = "Name" lb.DataValueField = "ID" lb.DataBind() But I use a requiredfieldvalidator on ListBox1, and when the data is added ...
Score I need some help with a winform to web page control...
rperreta - 10 May 2006 6:23 PM - 3 messages
Someone please help me... I created this Windows Control Library Project and add some controls to the form. I compiled it to the dll and add the following line of code to a webpage: <object id=Uploader height=400 width=400 ...
Score How to subscribe MenuItemClick event
Chester - 10 May 2006 2:51 PM - 2 messages
I use sitemap as my menu source and when I subscribe to  MenuItemClick event, the menu doesn't call my event handler while being clicked. Why? ...
Score Customization In Web Application
Andrew Hayes - 10 May 2006 5:13 AM - 5 messages
All, Using VS 2005, C#.NET, SQL Server 2005, W2K3. We are developing a web application that would be shared by numerous customers for information management. Some of those customers want variations on the usual form layout. For example, we have a form where the user can enter their dependents ...
Score Object reference not set to an instance of an object.
Seok Bee - 10 May 2006 12:44 AM - 2 messages
Hi All, I have a webform with a button to add record into the database. When the button is being clicked, the program will assign initial value controls in a detailsview control. When the first time, the button being click, the program ...
Score Dynamic ID for HTML controls
dageyra - 9 May 2006 7:23 PM - 2 messages
I have an HTML server control such as: <table>     <tr>        <td id="someID1" runat="server"></td>        <td id="someID2" runat="server"></td> ...
Score aspnet_client\system_web\2_0_50727 Empty
Vinnie L - 9 May 2006 4:59 PM - 2 messages
I understand that ASP.NET 2 doesn't user the validation scripts any longer, but why is a direcrtory created called \2_0_50727 and is empty if it's no longer used upon the install of ASP.NET 2 Thanks ...
Score Programatically change mode
Steve Funk - 8 May 2006 11:14 PM - 3 messages
Can the Detailsview control mode be changed via a post-back event?  I cannot change the DetailsView1.CurrentMode = DetailsViewMode.Insert from ReadOnly as the CurrentMode is Read-Only.  Changing the DefaultMode doesn't seem to have an effect.  ...
Score Dynamically adding a stylesheet
Nathan Sokalski - 8 May 2006 10:06 PM - 9 messages
I want to dynamically add a stylesheet using <style type="text/css"></style> tags. The code that will use this stylesheet will be shared, so I will not have control over what the user does as far as stuff like adding ...
Score javascript and checkboxlist values for items that are checked
cindy - 8 May 2006 8:50 PM - 2 messages
I have an asp:checkboxlist I have javascript that onpostback will create a string from checkboxlist item values where item is checked. I need help, I can get the index of item but I can't get the value.  Alert ...
Score Dynamic Image from Database
Joe Reiss - 8 May 2006 8:39 PM - 2 messages
Hi All, Using vs2005, C#, SQL Server 2005/Shared Environment. I'm attempting to populate an image control from a jpeg stored in a image field in sql server.  Tried using both HTML image and ASP image - can't get ...
Score treview does not maintain state
AR - 8 May 2006 2:46 PM - 2 messages
I am new to ASP.NET so please bear with me.... I have a treeview in which the nodes are populated from a database. When i click on a node,  some data is populated in the browser but as the page ...
Score FileUpload - set the value in the control
David Thielen - 7 May 2006 5:23 PM - 3 messages
Hi; How can I set the filename in the text box for the FileUpload control? ...
Next »