Groups | Blog | Home


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 > november 2003 > threads for november 8 - 14, 2003

Filter by week: 1 2 3 4 5

ASP.NET Server level DataSet?
Posted by dominic NO[at]SPAM vitrasoft.com at 11/14/2003 9:54:50 PM
Here's the situation: I have 2 web projects for the same client, a WWW-Public web project and an Admin project. Both projects are on the same server and I found myself loading the exact same dataset in each project. Rather than duplicate server resources I created a 3rd project which has the ...more >>

ForeColor in Treeview
Posted by Dave Lech at 11/14/2003 3:00:28 PM
Is there any way to specify the forecolor of text on individual tree nodes in the treeview control. I need to be able to highlight or gray out certain nodes to indicate that their status is different from the others. Thanx, Dave ...more >>

asp:dropdownlistbox code behind to select entry
Posted by David A. Beck at 11/14/2003 12:17:34 PM
I have an aspx page with several asp:dropdownlistboxes on it. When I load data, I need to set the selected entry in the ddlb. I have a value, but have not been successful in setting the text portion of the control. (ddlbTest.SelectedItem.Text = "Booga") Do I need to iterate through the ddlb to f...more >>

Displaying XML data as is with tags on the datagrid
Posted by Nedu N at 11/14/2003 11:10:03 AM
Hi, I want to display the XML tags (for the the XML tags is the data that is stored in a table) on the datagrid using the datasets. But since the data itself is the XML tag it doesn't appera on the datagrid since it tries to parse the data before it displays. Using Server.HtmlEncode, i was ...more >>

DataGrid: Adding Rows
Posted by ALPO at 11/14/2003 6:57:39 AM
How to add rows to dataset using a datagrid? Any examples or help?...more >>

Access more than 2 fields with Dropdown list
Posted by elsa_luis NO[at]SPAM hotmail.com at 11/14/2003 2:46:34 AM
Hi, I would like to access the value of a third field of the query that I used to populate my dropdown list. Is there a way to do that? For example, in the following example I would like to access valueC. SqlCommand sqlCmdLoad1 = new SqlCommand("SELECT valueA, valueB, valueC FROM myTable", sq...more >>

Property not showing in the Properties window
Posted by Anthony Faull at 11/13/2003 3:45:27 PM
I have a vb.net usercontrol with a public property. How can I can get my new property to appear in the Properties window in web forms design view? The only properties I can see are ID, EnableViewState and Visible. ...more >>

Having a Radio button one in each column in a Datagrid but belong to the same group?
Posted by Satish Appasani at 11/13/2003 3:01:38 PM
Hi: I want to develop a page which contains a datagrid and a couple of columns in the grid will have radio buttons. All the radio buttons in a row should belong to the same group so that when i check one the other is unchecked. Any clue on this? Thanks in advance Satish ...more >>



Data Grid Select Button Does Not Work
Posted by Bruce LeMond at 11/13/2003 1:07:35 PM
I'm developing a web form, which includes a data grid, in Visual Basic using Visual Studio forms designer. I'm wanting to update the completion date on an item to the current date and time being generated by the system, and I don't want to edit any fields. I put in a select button, and c...more >>

viewstate??
Posted by Mikael Janers at 11/13/2003 12:45:17 PM
Hello! Does anyone have any information about how a System.Web.UI.WebControls.TextBox keeps its value between posts ? Everywhere I read it says it's the viewstate. But clearly it isn't because if you override the controls viewstate functions and even disable viewstate on the page the control ...more >>

Setting Value for password field
Posted by Eric Elliston at 11/13/2003 12:17:37 PM
I am trying to pull a value out of a database and set a textbox to the value. Well, when the textmode it password, it won't set it. is there some sort of encryption i have to use to make this work? thanks! Eric ...more >>

Problem with text and value properties for dropdownlist bound control
Posted by Jorge at 11/13/2003 9:26:13 AM
I have dropdownlist boxes that are bound to a function that loads them. I set the text and value properties with different values as I want the description and the return value to be different. When I select an item the text and value properties are the same, why? example '********************...more >>

Problem
Posted by srinivas at 11/13/2003 9:23:48 AM
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'MsdnMag.MyUserForm'. Source E...more >>

In Web view, controls not there
Posted by Centherod at 11/13/2003 8:56:43 AM
I created a Web Application. I put all my controls onto a form. I used labels, text boxes and a button. When I went to view it in Web view/start without debugging, none of the text boxes show up as well as the button doesn't show up either. The labels show up, but they are all jumbled ...more >>

Get selected values in ListBox with multiple selectionmode property
Posted by Matthew Louden at 11/12/2003 6:08:06 PM
I created a listbox with multiple selectionmode property, but I have trouble to get a list of selected values. The following only gets the first selected value, not others. TextBox2.Text = ListBox1.SelectedValue Please help!! Thanks ...more >>

Random image
Posted by Aung at 11/12/2003 5:32:57 PM
Is there a way to create a random image (like in hotmail registration) and ask user to enter the information during their registration. I think, this method is used to avoid the flooding. Any components, sample would be greatly appreciated. Aung ...more >>

AutoPostBack and Focus...
Posted by spai NO[at]SPAM immunetolerance.org at 11/12/2003 3:16:06 PM
Hello there, I have a DropDown ListBox which is placed at the bottom of the .aspx page, The AutoPostBack propoerty of the DropDown ListBox is set to true. When I change the selection of the elements in the dropdown list box the top section of the page gets visible, becuase the page has bee...more >>

UserName on the page
Posted by Ondrej Sevecek at 11/12/2003 3:09:46 PM
Hello, I want to set up ActiveDesktop web page the way users see their username, IP address, computer name, etc. How to develop appropriate web page? I can use ActiveX components if neccessary. My only requirement is there shouldn't be neccessary any web server. The page will be loaded fro...more >>

DropDownList "SelectedIndexChanged" event
Posted by Greg Smith at 11/12/2003 12:50:40 PM
I am working on my first web app. The SelectedIndexChanged event for the DropDownList control doesn't seem to fire when the item is changed. Obviously there is something more I need to do. Can anybody fill me in? Any help is greatly appreciated. ...more >>

Paging and Scrolling in a DataGrid Control
Posted by miltonbjiang NO[at]SPAM yahoo.ca at 11/12/2003 12:44:49 PM
I am trying to get a datagrid to use paging and also have the ability to scroll at the same time. For example, I set paging to display 10 rows in a datagrid at a time. If I increase the number to more than 15 rows in a datagrid, I want a datagrid to display 15 records with a scroll bar. At the...more >>

Setting background list item color in dropdown list control
Posted by M. Craig at 11/12/2003 10:56:59 AM
I've been trying the following code to programtically set the background color for each list item, and have been unsuccessfull. Does anyone have any ideas on a better way? Thanks, Mike public void setStatusCodeColors() { // Get Status Code and Colors ASPNetPortal.Components.CMPortal_...more >>

Reading data FROM a dynamicly added control
Posted by Fraggle_Rock_1 NO[at]SPAM yahoo.com at 11/12/2003 5:22:47 AM
*Posted elsewhere before, sorry if you saw it before* I am using PlaceHolders in a Repeater to generate a multi choice survey. I need a way of testing to see what the placeholder has been turned into at runtime, and reading out the data. The admin can add questions to a survey, then add poss...more >>

Custom radio button list
Posted by Fraggle_Rock_1 NO[at]SPAM yahoo.com at 11/12/2003 5:15:43 AM
I can arrange my radion buttons like so (o) blue (o) red (o) green and also like this (o) blue (o) red (o) green However I want this (o) (o) (o) blue red green Possible? Fragg...more >>

Simple attribute question (I hope)
Posted by Bryan Glennon at 11/11/2003 9:59:01 PM
I have a small web control to put a footer on my pages. In the aspx page I define a table. I try to set the style attribute for a <td> element, but studio complains and when I hover over the style keyword the tooltip says "Could not find any attribute "style" of element "td." In spite of thi...more >>

CustomControls and Dynamically Added UserControls
Posted by a at 11/11/2003 9:17:02 PM
Hey gang. THis is an ongoing issue that I have been having, so I am going to start a new thread. I have a (.VB File) CustomControl [called TEKTable] that is essentially a table (inherits WebControl), with a definable number of columns. You pass it an ArrayList of (.ASCX File) UserControls,...more >>

When to use Panel or Placeholder Controls??
Posted by SortaNorth at 11/11/2003 9:03:24 PM
I'm trying to determine when it is appropriate to use a placeholder control as opposed to a panel control. With all the documentation I have seen they sound like they do the same thing. One text describes the placeholder as allowing you to add controls dynamically and the next example it gives ...more >>

Datagrid - can that be refreshed via client side javascript?
Posted by James Radke at 11/11/2003 5:05:47 PM
Hello, Through this forum I have found out that you can refresh most web page controls via javascript. That made me wonder if there is a way to refresh (.i.e. rebind) a bound datagrid via combination of webservice calls and javascript functions so that a complete page roundtrip is not neces...more >>

Mail in HTML Format
Posted by Neel at 11/11/2003 12:54:10 PM
Hi I have a webpage in asp.net on submit sends an email, I want the body of the message to be in the HTML format. what I am doing is creating an object of say oMailMessage = New Mail.MailMessage() With oMailMessage 'set required parameters .From = ...more >>

communication between control and container
Posted by Tariq Ahmad at 11/11/2003 12:26:06 PM
hi, i have a user control that sits on a webform page. how can the usercontrol get access to the attibutes of the <BODY> tag of the page that it is sitting in and modify the attributes? The <BODY> tag looks like this: <body id=bdBody runat="server"> Protected WithEvents bdBody As Syst...more >>

Finding Controls in a Table
Posted by JDavies at 11/11/2003 11:39:54 AM
Hi All I am dynamically Creating DropDownList boxes for a Survey form. These DropdownLists are added to Table Cells programatically. I tried to loop thru the controls on the form but it doesnt seem to work right, the loop appears below: for each cntl in page.controls(1).controls ...more >>

ListItem color change - RB
Posted by mg at 11/11/2003 8:55:33 AM
How can I change the color of the display text beside a single ListItem of a RadioButtonList when the associated radiobutton is selected - hopefully using C# in the codebehind of a WebForm? <asp:RadioButtonList id="RadioButtonList1" ........ > <asp:ListItem Value="Yes">Yes</asp:ListItem> ...more >>

Menu Header User Control
Posted by AC at 11/11/2003 6:30:53 AM
I'm sure this must come up often but I can't find info on it.. I've built a web usercontrol for my sites menu bar... I use styles for highlighting text and all that neat stuff.. Problem: I drag this control on to all my pages, well how then do I indicate or highlight the menu item the u...more >>

Event not firing in datalist control
Posted by Richard Murphy at 11/11/2003 12:11:10 AM
I've been on this problem for many hours now and checked many posts and forums but can still not find an answer. I hope someone can help. I have a Datalist with a template column in it which contains a button. The datalist is in an ascx control that is loaded dynamically by the parent aspx con...more >>

CodeDomSerializer
Posted by Björn Marthen at 11/10/2003 5:14:19 PM
Hi, I have written a custom web control with a DesignSerializer. If i change a property in design-time, the serializer starts before the properties will be set in the control (the object "value" in the serialize method has the old property value). Thats annoying cause the serialize should wri...more >>

Cloning a DropDownList
Posted by Thor1212 NO[at]SPAM aol.com at 11/10/2003 4:27:35 PM
Hi All I have created a survey form in which the questionaire contains 20 questions. Of the 20, 16 are dropdownlist boxes where the user can select their answer, the Selections are all the same. I am currently running a function that creates a new dropdownlist by calling a stored proceedure ...more >>

Webcontrol version of property grid control
Posted by teresa.austin NO[at]SPAM pb.com at 11/10/2003 1:25:48 PM
Does anyone know of a web control version of Microsoft's property grid control (which is a winform control). I realize that I can actually use a winform control in my web forms, but I have a requirement that the client machines not be required to have the .Net framework installed on their machi...more >>

ASCX strategies
Posted by Jason Shohet at 11/10/2003 11:45:01 AM
We have some db-search functionality that we need in several asp.net apps. How to get reuse out of this... I was thinking of putting the search criteria, and the datagrid that displays the results, in an ascx control that can be plopped down in any of our apps. 1. I'm just not sure about pu...more >>

__dopostback issue?
Posted by James Radke at 11/10/2003 8:57:13 AM
Hello, I was doing some testing on an application we are building, and noticed that if you do not have an item like a textbox, which has it's autopostback set to true,on a webform page, the javascript code __dopostback will never be included in the page. Even if you have multiple active butto...more >>

Bubbling Up Events
Posted by a at 11/9/2003 6:24:06 PM
Hi, I have a CustomControl that is essentially a WebControls.Table (TEKTable). You tell it how many columns, and it renders UserControls (passed in via an ArrayList) in that number of columns, and however many rows it takes. My UserControls typically have buttons on them. I can't seem to ge...more >>

DataList and TextBox
Posted by Thomas at 11/9/2003 8:51:52 AM
When creating a WebForm how can I get the OnTextChanged event to fire for a TextBox in a DataList on an asp page? Here is the DataList I am using: <asp:DataList id="DataList1" runat="server"> <ItemTemplate> <asp:TextBox id="tb1" runat="server" OnTex...more >>

how would you implement Intellisense experience in ASP.NET pages ???
Posted by Antonio Lopez Arredondo at 11/8/2003 4:38:54 PM
hi all !!!! I have two textboxes that should work like a dictionary or Intellisense do: user writes in the first textbox and while he writes text changes in the second textbox. how would you implement such behavior ? any help will be greatly appreciated. thanks in advance, ...more >>

show hide image button
Posted by TJS at 11/8/2003 3:37:36 PM
I want to change visiblity of an image button based upon user selection in a drop list using sub below but it is not making the image visibility change when the droplist selection changes, what is missing ????? .... Sub dropUsersSelInxChng(s As Object, e As EventArgs) if allUsers.Selecte...more >>


DevelopmentNow Blog