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


all groups > asp.net webcontrols > december 2004

Filter by week: 1 2 3 4 5

Browsable Attribute
Posted by Thiruppathi S at 12/31/2004 2:22:31 PM
Hi All, Could any body plz help me. I want to set the browsable attribute value of "property2 " according to the value of "property1" i could able to change the value of that property but not the attribute plz help me Regards S.Thiruppathi, ...more >>

CustomValidator control to validate a date in format dd/mm/yyyy
Posted by EmJayEm at 12/30/2004 4:35:03 PM
Does anyone have the vb.net code which uses a customvalidator control to validate a date in the format dd/mm/yyyy Thanks, EmJ. ...more >>

DataGrid / Template columns
Posted by codputer at 12/30/2004 1:01:03 PM
I have the following datagrid defined (subset of complete definition) where I have placed a text box in the header template (unbounded). I'm using this text box to capture filtering criteria relevant to that row. Everything works great, but I loose the value of the textbox when the page is r...more >>

Fixed Column Widths in DataGrid
Posted by Alex Maghen at 12/30/2004 9:29:02 AM
Hi. Is there a way to configure a DataBound column (or any other column) in a DataGrid control so that, no matter what, it will not be wider than a certain number of pixels? My problem is that with some unicode text, IE can't find a line break so it doesn't wrap the text, it just streaches out...more >>

How do I set the property for a Web User Control properties from the parent form (VB)
Posted by David Webb at 12/30/2004 8:21:43 AM
I am having trouble setting the property to a Web User Control from the Parent page. Here's the Web User Control: WebUserControl1.ascx HTML:----------------------------------------------------------- <%@ Control Language="vb" AutoEventWireup="false" Codebehind="WebUserControl1.ascx.vb" Inheri...more >>

dropdownlist selectedindex=-1
Posted by Joe Abou Jaoude at 12/30/2004 1:59:02 AM
hi I want to display a populated dropdownlist, put I don't want to select any item at first. I don't want to put a text at first like "selecy an item" or "-" or a blank item... selectedindex=-1 doesn't work, apparently I can't do that in web (although it works on windows app). any sugg...more >>

why can't I only bind to one column?
Posted by Rudy at 12/29/2004 7:29:03 PM
Hello all! I web form, with 5 textboxes. I'm binding my datafrom a column to each text box. When I run the app, it only fills the first two text boxes, the remaining three will not fill, nor can I add data through the remaining through seem like there are not connecting, but everthing seem...more >>

DropDownList
Posted by drankin at 12/29/2004 5:55:03 PM
I'd like to use a DropDownList to display multiple data columns as a single item, and I'd like to be able to use different styles for these columns. For example, a list selection which showed Name, Address, and Phone, with Name Bold, Address Blue, Phone Italic, etc. Is it possible to do either...more >>



Checkbox, AutoPostBack & JavaScript
Posted by Chris Walls at 12/29/2004 1:09:19 PM
I have a CheckBox that when clicked, needs to first invoke a client-side JavaScript function, then post back to the server. My ASP.NET code looks like the following: <asp:CheckBox ID="MyCheckBox" Runat="server" AutoPostBack="True" OnCheckedChanged="OnMyCheckBoxChe...more >>

Help me. I'm stuck with this web control problem....
Posted by Henry at 12/29/2004 7:50:29 AM
I have this problem and I don't know what I can do. First of all, I have a page with [ok] and [cancel] button, and 5 <asp:TextBox>'s and when an user makes changes to each of the textbox content, javascript client side code is triggered to change the textbox background color property to some ...more >>

a panel user control ?
Posted by Joe Abou Jaoude at 12/29/2004 12:08:55 AM
hi all, Is it possible to make a user control who acts like a panel, i.e can contain other web controls ? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Datagrid - Funny problem - Dinamically Adding RadioButton
Posted by Luiz Vianna at 12/28/2004 1:58:43 PM
Hi Folks. I think I'm missing something on this.... On my database I have a table of Questions and other of Questions = Alternatives (linked by IDQuestion)... What I need to do is to mount a datagrid of all questions with radio = buttons of its alternatives. What I'm doing is :=20 1...more >>

can not catch the page unless twice post?
Posted by bg at 12/28/2004 10:20:26 AM
I use placeholder to include ascx files. Also all ascx files inherited from a security control(web User Control). My problem is; for example when i press button, it will list the customers. But i can not catch the list unless press TWICE to button. How can i solve this problem? ...more >>

ASP.NET 2.0 C# DropDownList
Posted by Bradd Schick at 12/28/2004 7:07:02 AM
Why Does this cause an erorr in compliation.... Heres the error " CS0103: The name 'DDRoleList' does not exist in the current context " Heres a piece of the code, I am using C#. "void DataBind() { DDRoleList.DataSource = Roles.GetAllRoles(); DDRoleList.DataBind(); ...more >>

CheckBoxList ViewState / Uncheck
Posted by peterw at 12/28/2004 3:01:01 AM
Hello, I have a checkboxlist populated by a database and a button. I check some items in the checkboxlist and submit with the button, the checkboxlist items remain checked. If I then want to uncheck some items, and submit with the button, the items are checked again. Anyone has a solution /...more >>

Hi
Posted by Milind at 12/27/2004 7:16:44 PM
Hi All, I want to text box which should auto format the entered string as first letter Upper case and all other letter should be lower case, how should i go for this please help me Milind ...more >>

how to access column property in gridview
Posted by Mukund Patel at 12/27/2004 6:44:21 PM
Hi, My gridview has auto generated columns. I mean there is no column at design time. At run time there are seven column. But I cant access any column at run time. Gridview1.columns.count return 7 but Gridview1.columns[0].HeaderText throws the exception. Is there any way to access column pr...more >>

datagrid
Posted by Sam at 12/26/2004 9:15:42 PM
hi, how to make datagrid display vertical/horizontal scrollbar in webcontrol datagrid? ...more >>

cannot find the user control with it's ID
Posted by Davids at 12/26/2004 9:56:56 AM
I have this simple user control having a Datalist with id="MyDataList" in my page but I can't find it using the Page.FindControl() method. So I set the trace mode on and I see it is there but since it is placed under a panel control which automatically has the id "ctrl02" my user control is ...more >>

Adding Attributes to ListItem
Posted by j at 12/25/2004 8:09:14 AM
Hi, I would like to persist 3 values to each of my ListItems, Value, Text, and a third value so that on postback I can reference them. I would think I could use the li.Attributes.Add("Key",value) in my C# code when I create the ListItem so that on the postback I could reference li.Value, li....more >>

Drop Down List renders over Calendar
Posted by Microsoft at 12/23/2004 5:32:39 PM
I have an issue with Drop Down List (DDL) rendering over every Calendar Control(CAL). I have tried differant Z-INDEX for both the DDL and CAL attributes. Any Ideas? Steve ...more >>

need progressbar control in asp.net
Posted by Thiruppathi S at 12/23/2004 2:06:46 PM
hi all, i'm in need of progrssbar like control to trace out the httprequeststream plz help me Regards, S.Thiruppathi, Programmer. iInterchange Systems Pvt. Ltd ...more >>

Datagrid: resize font in Pager row
Posted by rk325 at 12/23/2004 1:40:08 PM
I need to increase the font of the arrows and/or numbers I display in my Datagrid at the bottom to indicate ther are more pages and the user can navigate to these. I tried the PagerStyle.Font.Size = XXLarge, but does not seem to work. I even tried customizing it to a bigger size, and I still g...more >>

sample code for creating menu on asp.net page
Posted by William Samson Daniel at 12/22/2004 4:00:34 PM
Hi All, I want to create a menu on the asp.net page using mouseover and mouseout events, I have created it using HTML control but I am unable to create it using asp.net web control please help me out Please give me some sample code to refer. Thanks ...more >>

Removing IE toolbar
Posted by Mario Gonzalez via .NET 247 at 12/22/2004 3:56:43 PM
Hi, Newbie. I have created a .net application. I want my pages to pop up without the IE Toolbar at the top. I will create the navigation controls needed. How can I remove the IE Toolbar? TIA, -------------------------------- From: Mario Gonzalez ----------------------- Posted by a use...more >>

Double Click problem
Posted by Chris Calzaretta at 12/22/2004 1:25:30 PM
When i double click on my control it does not fire the event the first time? ANybody had this problem Thanks ...more >>

Positioning dynamically created controls
Posted by Guy at 12/22/2004 8:33:03 AM
Hi, I have a page that adds controls dynamically to the page. How do I control where these controls appear, relative to the other controls? I'd like all new controls to be listed vertically between two existing controls. Thanks, Guy...more >>

Unable to handle events of controls created at runtime
Posted by Lalit at 12/22/2004 8:31:08 AM
Hi, My application has two methods which creates buttons at runtime. In one method I am able to handle the events of the buttons created at run time, but in other I am not. The code structure is as follows: page_load { ...Do something CreateFirstSetOfButtons() } private Crea...more >>

asp.net datagrid questions
Posted by Sam at 12/21/2004 11:34:45 PM
hi folks, 1.how to set column width in datagrid server control ? 2.how to set row height in datagrid server control ? 3.how to display vertical/horizontal scroll bar in datagrid server control ? thanks, ...more >>

Accessing Controls contained in another Control from ASPX Page
Posted by Willy at 12/21/2004 8:47:27 PM
Hi All! Is there any ways to get access to the controls contained in another user controls from an ASP.NET page? For example I have... - User Control A |_ User Control B (which uses User Control A) |_ User Control C (which uses User Control B) |_ ASPX page A (wh...more >>

Rendering proper case/title case on bound data in datagrid?
Posted by kenfine NO[at]SPAM u.washington.edu at 12/21/2004 8:14:14 PM
ASP.NET newbie, here. I'm binding data to a datagrid. I want one of my fields rendered in proper case AKA Title Case. What's the easiest way to make that happen? More generally, I'm interested in the best ways to impose a string formatting function on data bound to a datagrid. Thanks. -K...more >>

Passing webcontrols created dynamically on user control placed on a placeholder in a form to another page
Posted by elkay at 12/21/2004 7:51:58 PM
I am trying to pass Controls dynamically created in UserControl placed in a placeholder of a page to another page. How can I get each ID and value of the control in the new page? Any help will be appreciated. I have gone through this group and read: *Creating ASP.NET Server Controls Dynamical...more >>

Drag Drop
Posted by Niraj Ranka at 12/21/2004 7:24:31 PM
Hello, Can we have the drag drop methodology in asp.net... on server side. I want to create the array of button... which the user can drag drop. if any clue will help a lot Thanx in advance, Niraj Ranka ...more >>

multiple validators on textfield w/display=dynamic don't display correctly
Posted by cp at 12/21/2004 11:02:54 AM
I have a regularexpressionvalidator and a requiredfieldvalidator attached to a textfield (that takes an email address). I also have a first name and last name field, each with a requiredfieldvalidator. I set the display=dynamic for all the validators. The error messages for the name fields...more >>

multiple ParseChildren
Posted by Mariusz at 12/21/2004 9:47:40 AM
Hi I have a problem with parsing children controls of control. I have control that have 2 children lists that must be parsed. But when I add second ParseChildren attribute then I have error 'multiple Parse.....'. I'm using version with name: ....ParseChildren(true,"Tabs"),ParseChildren(true,...more >>

Please help me
Posted by Milind at 12/20/2004 5:01:51 PM
Hi all, I have a problem: i have created one weservice and one asp.net page but when I running the application it is invoking the webservice why not web page please provide me solution ...more >>

how to reach a control in a dynamically extended HTML Table
Posted by buran at 12/20/2004 2:05:38 PM
Dear ASP.NET Programmers, I have a HTML table (running as server control with the control ID: tblInsertSP). The table has 16 rows with textboxes. Depending on the value of the ddlSPType, which is a dropdownlist control on the page, I add dynamically extra rows to the table. For instance, if th...more >>

Microsoft TreeView DataBind Performance Problems
Posted by Aidan Marcuss at 12/20/2004 1:57:18 PM
I am seeing significant performance problems with the TreeView (from the Microsoft.Web.UI.WebControls namespace) when trying to data bind it on the server side. I set the TreeNodeSrc property and the TreeNodeTypeSrc property and then call the DataBind() method. I am setting each of these propert...more >>

datagrid "can grow" ?
Posted by Nick Stansbury at 12/20/2004 12:09:45 PM
Hi, I've developed a series of custom controls that use or extend the datagrid control. Obviously however I have the same old problem with grid layout as opposed to flow layout - when the datagrid is initialised instead of pushing everything below it further down it simply overlaps with an...more >>

Loading another project
Posted by Stanley at 12/20/2004 11:59:01 AM
Is it possible to build a web control (mycontrol.ascx) as it's own project and then bring it into another project like my main site without copying and pasting the pages over?...more >>

how can i create a color palette or color dailog box in a web appl
Posted by eng_nahswa at 12/20/2004 5:11:03 AM
hiii everybody i want to knowhow i van create a color palette or color dialog box as in windows application but this time in a web application also if anyone knows how i can retrieve all fonts on the system and thier size, plz help me as soon as possible -- eng_nashwa...more >>

HELP!!! JavaScript client and server side DropDownList
Posted by Shawshank at 12/20/2004 12:22:54 AM
I am nearly desperate. Hope anyone of you can help. In my web application, I need to use several interdependent DropDownLists, which means contents and selections of one dropdownlist depends on slection in another. Initially I used server side OnSelectionChange event handler of one dropdown...more >>

Unable to download IE WebControls from microsoft.com
Posted by Sagar at 12/19/2004 2:23:02 AM
The IE Web Controls are not downloadable at http://msdn.microsoft.com/downloads/samples/internet/ASP_DOT_NET_ServerControls/WebControls/default.asp It redirects 404 page not found. This is a bad link. ...more >>

CheckBox in a datagrid control
Posted by E-Cube at 12/18/2004 2:03:01 PM
Hello All, I have a datagrid that will retrieve data from my sql database, on the data grid once the data has been loaded is a checkbox per datagrid row. I would like to know what is the eventhandler should I be using to pick up a checked event from a checkbox in a datagrid control? Th...more >>

Is this possible -- 2 grid rows per data row in Datagrid?
Posted by Diotima at 12/18/2004 11:41:01 AM
I'm working on a medical records application. My page displays data associated with documents transcribed from dictation in a datagrid. Some documents have comments associated with them (as much as 250 characters). When this is the case I want to display the comments in a row below the main ...more >>

Web Control Events
Posted by Ahmzee NO[at]SPAM gmail.com at 12/18/2004 5:40:05 AM
Hi All, I am developing webpart for Sharepoint Portal Server.Webparts inherit webcontrol and are similar to web custom controls. The problem i am faing is that if i create controls (LinkButtons) in the CreateChildControls Method it's click event works perfactly. But if i create controls...more >>

Calendar Control Localization
Posted by platinumbay at 12/17/2004 4:48:00 PM
There is a sample here of a localizaed calendar control: http://www.microsoft.com/middleeast/msdn/arabicsupp.aspx#25 How would one code this to use say, the Hijri calendar instead of gregorian? Thanks, Stephen Andrews ...more >>

drop down list not selecting what I ask it to ... any ideas?
Posted by Eskimo at 12/17/2004 1:39:04 PM
.... if (Page.IsPostBack == false) { ddlserver_id.DataTextField = "server_ip_address"; ddlserver_id.DataValueField = "server_id"; ddlserver_id.DataSource = <retrieved data set>; ddlserver_id.DataBind(); ...more >>

Datareader, Datagrid and hyperlinks
Posted by Grant at 12/17/2004 1:24:54 PM
I am filling a datareader and then assigning the reader to the datagrid as follows: SqlDataReader reader = ADOConnect.populateDatareader(); AllResultsDataGrid.DataSource = reader; AllResultsDataGrid.HeaderStyle.Font.Bold = true; AllResultsDataGrid.DataBind(); My question is how do I speci...more >>

can't hide button
Posted by jsh02_nova NO[at]SPAM hotmail.com at 12/17/2004 11:03:09 AM
I have a button of type System.Web.UI.HtmlControls.HtmlInputButton whose id is 'btnReset', on which I would like to set the visibility style property. I've tried: btnReset.Style.Item("visibility") = "hidden" and btnReset.Style.Add("visibility", "hidden") without success and the butt...more >>


DevelopmentNow Blog