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 > october 2003 > threads for october 29 - 31, 2003

Filter by week: 1 2 3 4 5

launching asp page in frame in frameset based on toolbar
Posted by stephencmyers NO[at]SPAM hotmail.com at 10/31/2003 11:58:40 PM
Ok, learning .net and working with a frameset. The "Top" frame is basically a toolbar using the microsoft webcontrols. I want to load the "Bottom" frame based on the button selected on the top frame. I can retrieve the button info in this vbscript sub: Private Sub Toolbar1_ButtonClick(ByV...more >>

Custom DataGrid
Posted by Hermit Dave at 10/31/2003 9:09:32 PM
Hello people, This is my second post. Someone answer it... Okay I had issues with using DataGrid control that comes by default. Had some paging issues and also needed sort and filter to be added. Realised that I need to write the code myself. So I got myself to building my custom control. It...more >>

possible to draw a line between two ImageButton WebControls?
Posted by n_o_s_p_a__m NO[at]SPAM mail.com at 10/31/2003 11:44:49 AM
I need to draw lines connecting ImageButton controls. Is this possible, and how to do if so. Thanks....more >>

Help! How do I hide or override property/category display under webcontrols?
Posted by lavey at 10/31/2003 10:25:16 AM
greetings everyone, I have search throughout the net but still no luck... ok what I am facing here is that... how do I hide or override property/category display under webcontrols? do I have to hardcode it myself just like the following codes? cos but default, there's lot of properties to o...more >>

Dynamically loaded User Controls - problem with button_click event
Posted by Tim T at 10/31/2003 9:54:51 AM
[this is a simplified / clearer explanation of an earlier post - hopefully someone can help!] Hi, I have the need to use dynamically loaded user controls in a webform page. I have the controls loading dynamically, and that part works fine. this is the code used in a webform to dynamically loa...more >>

Using an apostrophe in a textbox
Posted by Doug at 10/31/2003 8:47:58 AM
I am creating an ASP.Net application that has a textbox populated with a store name field from a SQL Server database. I need to allow the user to change the name string, and update the database. In several instances, the name will contain an apostrophe (i.e. Macy's). In the code behind, ...more >>

insert comma
Posted by susie at 10/31/2003 7:58:43 AM
How to insert comma to a number entered into a textbox? Say if the number entered is 10000000000, when user press enter key, the text in the textbox will be changed to 1,0000,000,000. Thank you....more >>

run validation error message page from a new window
Posted by susie at 10/31/2003 7:16:38 AM
I have the following code to run the validation summary page: <asp:ValidationSummary ID="Summary" DisplayMode="SingleParagraph" Font-Size="8pt" runat="server"/> By default the summary of validation will be on the same page with the data being validated ...more >>



Problem programmatically creating tabstrip webcontrol
Posted by Hal at 10/31/2003 4:14:26 AM
I hope I'm getting the right group this time. I am trying to programmatically build a tabstrip (creating a template class for my site that contains a tabstrip in the header). I'm using the tabstrip from "Microsoft.web.ui.webcontrol" (iewebcontrols). I have a form (as htmlform) to which I am...more >>

IE Webcontrol Dropdownlist
Posted by freddie at 10/31/2003 1:13:16 AM
I am trying to populate a dropdownlist with data from two fields with cod like the following: "select OrderNo + ' - ' +OrderName as OrderName from Orders " This works fine as long as OrderNo and OrderName are both Varchar, but OrderNo must now be of type Integer. How do I still get...more >>

Button_Click event in user control not firing on page
Posted by Tim Thomas at 10/30/2003 6:00:33 PM
Hi, I am very new to .NET and am in the process of building my first web application. I will briefly describe what i am trying to achieve: I have a system where suppliers register their details, their locations, and then add themselves to categories. Each category requires additional info f...more >>

Getting HTML style attribute in Custom WebControl
Posted by msnews.microsoft.com at 10/30/2003 5:14:00 PM
This seems like it should be easy (and maybe it is) but I can't figure it out. I have a custom web control (derived from System.Web.UI.WebControls.WebControl) I'm in Grid Layout mode so at design time the HTML in the .aspx page looks like this: <cc2:CAUTreeView id="cautv" style="Z-INDE...more >>

convert textbox value to integer
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 10/30/2003 1:54:01 PM
How to convert textbox value to integer? Say txtBox1.text="10" Thank you!...more >>

Why save as dialog is displaying twise
Posted by Vijay Neelam at 10/30/2003 1:08:36 PM
Hi all, Dim a As String = Response.ContentType Response.Clear() Response.Buffer = True Response.ContentType = "application/msword" Response.AddHeader("content-disposition", "attachment; filename=Document.doc") Response.Write(strDoc) Response.ContentType = a Response.End() I'm writing thi...more >>

Change "Enabled" appearance for a LinkButton
Posted by Nils M. Lunde at 10/30/2003 12:20:30 PM
Hi! I'm trying to make a LinkButton appear black and not dimmed when disabled. To accomplish this I tried to override the Enabled property, but wthout any luck. No matter what I do in my derived property, the control remains dimmed. How can I make the disabled LinkButton appear black, or ...more >>

Setting color in ASP.Net
Posted by M. Craig at 10/30/2003 8:25:52 AM
Is it possible to assign an object a color based on a value like "#CCCCCC" or "Gray", without using the Color.Red syntax? ...more >>

differring option and value in ddlb
Posted by Mark at 10/30/2003 8:19:04 AM
I populate a drop down list box from a database, and then insert a block value at the top (to represent "all values"), using a ddlb.Items.Insert(0,""); This sets both the value and the text to "". How can I set them to different values? I need something (conceptually, I know this overrl...more >>

custom web control with sort, filter and page
Posted by HD at 10/29/2003 8:49:45 PM
Hi, Having issues with DataGrid and got to designing my own web control. Would be glad if someone can help me with some of the issues. * for custom column names which are clickable to execute sort even i need something similar to DataGrids Columns collection which can be populated with multiple...more >>

Textbox Right alignment
Posted by Reddy at 10/29/2003 8:41:46 PM
Hi! All, I am using a text box to enter the Currecny. It should be right aligned. How can i do that. Textbox has no property align. So how could we make it in ASP.NET Can anybody give small example. Thank You very much Reddy...more >>

TreeView responding very slow...
Posted by hkhatri NO[at]SPAM nexgenix.com at 10/29/2003 8:15:42 PM
Hi all, I have around 1500 records under a node of a TreeView control. When the node in clicked, it takes a lot of time to expand and display child nodes.. This is becoming a performance issue for my application. 1. I do not have any images on my TreeView.. 2. Populating treeview from cli...more >>

Click event not firing with custom control
Posted by Zane at 10/29/2003 6:38:33 PM
Hi all, I have created a custom control library in Visual Studio .NET 2003 using .NET framework 1.1 on Server 2003. The problem is when I promatically add a click event to a button within a custom web control it won't work unless it has a property attached to the class (IE like text for ...more >>

dropdown list does not change selected item?
Posted by SSP at 10/29/2003 2:51:44 PM
I have a dropdown list on my page as: <asp:dropdownlist id=ddJobtypes runat="server" ></asp:dropdownlist> <asp:button id=jobtypes_btn runat="server" Text="GO!"></asp:button> This is bound in the codebehind file as: JobTypesDD_sqlDataAdapter.Fill(dsJobTypesDD1); ddJobtypes.DataSource...more >>

DataGrid: Setting row background color programatically
Posted by M. Craig at 10/29/2003 1:58:16 PM
Does anyone have an example or suggestion as to how to programatically databind a row's background color? I understand how to use an asp:TemplateColumn to set the BG color on a column, but I want to dynamically set the BG color based on a value returned from a database I've tried the following...more >>

Textbox Properties from VBScript
Posted by Gary Nelson at 10/29/2003 1:40:53 PM
I am trying to get at the properties of a TextBox from VBScript on an ASP.NET page. In particular I'm trying to find the equivalent of the Textbox1.SelectedText property. Could anyone tell me what it is? Is there any place where you can find a list of equivalents between VB.Net and Script? ...more >>

Authorization error (401) when loading treeview
Posted by sutcliffe_grant NO[at]SPAM hotmail.com at 10/29/2003 12:01:27 PM
I am having a problem loading a tree view web control. This problem does not occur on my development machine but occurs when testing on a QA server. We can load dropdown lists with data on the same pages. When attempting to load the treeview, a trace of the call to the database reveals n...more >>

DataGrid issue
Posted by PatLaf at 10/29/2003 10:30:40 AM
Hello all, In my previous post about the grid's sort event not firing I didn't include the code. Here it is on the code behind page. Public Sub dgLaserEtch_SortCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles dgLaserEtch.SortComma...more >>

Tabstrip control for web pages?
Posted by Geoff Pennington at 10/29/2003 10:10:38 AM
I am using DotNet Framework 1.0. When working on a Windows project the toolbox contains a tab control, but when working on a web project there is no tab control. Is there anyway to obtain a tab control I can use on a web page? Much obliged. ...more >>

Printing a large datagrid (hopefully a simple problem)
Posted by chrismichaelgardner NO[at]SPAM hotmail.com at 10/29/2003 10:10:19 AM
I have a datagrid that prints a large number of records from a SQL database. Because it is a large table, when printed the table "bleeds" from one page to the next. Ideally, I would like to have 8 records to a page, then have the printer page break. Crystal Reports is not an option. What w...more >>

Grid won't fire event in code
Posted by PatLaf at 10/29/2003 9:50:23 AM
My original post must not have been clear enough and for that I apologize. The response that I got about the event not firing was that I had to write the sortation code myself. I did this. That isn't the problem. Somehow the grid's sort event never fires. Does anybody know why this would ...more >>

Repeater ITemplate all in one table
Posted by chrismatheson77 NO[at]SPAM hotmail.com at 10/29/2003 8:30:46 AM
I'm currently using classes implementing the ITemplate interface to format the display of data that is bound to databound objects. I started out using the DataList, but soon found that the datalist performs some initial formatting for you. Specifically, it automatically puts any bound data int...more >>

Alright smarty-pants, solve this problem:
Posted by mike NO[at]SPAM kingscott.f9.co.uk at 10/29/2003 6:53:26 AM
Ok, I have a table of fruits (Apple, Orange, Pear, Banana), a table of people (Rod, Jane, Freddy), and table that links who likes what (Rod likes Apple, Orange; Jane likes Pear, Banana; Freddy likes Orange, Pear). (Hopefully you will realise that the first two tables have a primary key identi...more >>

AspNet DataGrid won't fire sort routine
Posted by PatLaf at 10/29/2003 6:34:31 AM
Hello to all, I have an asp.net application that uses a datagrid but it won't fire the sort command even though I've set the allow sort to true. Any idea's? Thanks in advance Patrick Laferriere...more >>


DevelopmentNow Blog