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 > february 2005 > threads for february 15 - 21, 2005

Filter by week: 1 2 3 4

Visual Studio - Selecting HTML Code on clicking control
Posted by vijaynats NO[at]SPAM yahoo.com at 2/21/2005 9:54:41 PM
When we are designing a WebForm clicking on the Control in the Design View does not select the corresponding Tags in the HTML. I find that this is one of the most basic things that VS.Net is missing when compared to WYSIWYG editors like dreamweaver. I have to really struggle hard to find the c...more >>


Events
Posted by Hovhannes Asatryan at 2/21/2005 5:22:18 PM
Hello guys. I am newbie in asp.net. I writes asp.net web application in C#, and want to handle textbox textchanged event. Can anyone tell me how can I handle this event? ...more >>

ASP.NET Event handling
Posted by David Norris at 2/21/2005 1:03:03 PM
I have an edit control that handles text change events and a link button that handles click events. If the user changes the text in the edit control but posts back by clicking on the link button I need to be able to ignore the text changed event. Problem is the text changed event gets raised...more >>

Why are WebControls not supported?
Posted by Tequilla at 2/21/2005 9:17:49 AM
Does anyone know why Microsoft Internet Explorer does not currently support WebControls? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

TextChanged eats up all other events
Posted by xcomplus at 2/21/2005 7:55:15 AM
Hi, I have a page with textboxes, checkboxes, buttons, etc. One of textboxes has Autopostback=true. I am using TextChanged event of this textbox to populate some other read only textboxes from the DB. If I change the textbox with autopostback=true and click on anything else in the page usin...more >>

Html table question
Posted by KDV at 2/21/2005 6:35:06 AM
I have html table contents (Just dummy text for testing) <table> <tr> <td>11</td> <td>12</td> <td>13</td> <td>14</td> </tr> <tr> <td>21</td> <td>22</td> <td>23</td> <td>24</td> </tr> </table> The question is that I am looking for a class which can accept this Html table contents a...more >>

How do I write my own datasource control
Posted by Miao Chen at 2/20/2005 10:05:10 PM
Hi, Would anyone tell me how to write my own datasource control? ...more >>

Dynamicly create table once
Posted by Tony at 2/20/2005 1:12:41 PM
win xp - vs 2002 - vb - web forms I have this code in the page_load event. works fine except, I put it all in an if not ispostback then. I don't want to run all this code (will get much bigger) each round trip. The table disappears on each round trip, unless I leave it out of the not ispos...more >>



Try Again: add column colB to a dataset and copy values from colA to ColB ?
Posted by JDP NO[at]SPAM Work at 2/19/2005 3:27:42 PM
I have a single datagrid in a usercontrol for my web app. The usercontrol grid is used in some 10 pages, for viewing and selecting records, searching etc..... I want to enable date sorting, so I want to take my EventDate comlumn, "ondate" and copy it's contents to a "SortDate" column, however ...more >>

Reload IFrame Src (VB)
Posted by ricardo.ferreira NO[at]SPAM bentley.co.uk at 2/19/2005 10:42:21 AM
Hello I have a Test.Aspx page with 3 Web User Controls and a Submit button. The user controls have an IFrame each. TopIFrame.src = "top.htm" LeftIFrame.src = "selectionCriteria.aspx" CenterIFrame.src = "blank.htm" The selectionCriteira.aspx has a dtrop down list. The idea is to refres...more >>

Validation Controls Have Stopped working
Posted by Jay at 2/18/2005 7:03:19 PM
Something happened on the server that has caused my validation controls to stop working. In fact, a page that contained the validation controls doesn't even do a postback. My asp.net works fine on my laptop, but stopped working on the server. After several hours I finally figured that the ...more >>

dropdown list
Posted by Yoshitha at 2/18/2005 4:22:05 PM
Hi in my web form i had dropdown list control and using items property i;ve added "--- select Item-----" 0 1 upto 10 numbers. i also placed required field validator control for this drop down list. when am running my application, if click on submit button with out sele...more >>

control focus in ASP.Net 2.0. Does it exist?????
Posted by Lamen at 2/18/2005 2:21:02 PM
-- Lamen...more >>

What Happened
Posted by Wayne Wengert at 2/18/2005 11:19:12 AM
I have an aspx page that was working (honest!). I was adding some features and some validation code and all of a sudden I am getting the following errors: c:\inetpub\wwwroot\WBA_StaffControls\frmFindBand.aspx.vb(101): Handles clause requires a WithEvents variable. c:\inetpub\wwwroot\WBA_StaffCo...more >>

list box in a div selection on postback problem
Posted by Tim Donovan at 2/18/2005 9:09:07 AM
I have a list box inside of a div for the benefits of the scrolling. I have autopost back turned on because I take the selection of first list and populate another list box. My problem is that when the page loads back up if the user selected an item far down the list they can't see the selec...more >>

Object reference not set to an instance of an object.
Posted by kgeorgop at 2/18/2005 12:08:35 AM
Can somebody assist. I build this code on a dev laptop and copied across the entire code to a Windows 2003 server with 1.1 framework. It is basic ASP.NET that uses web service for SQL Server 2000 DB access. The code works fine on my dev laptop, just not on the non dev machine. Here is the ...more >>

Regular Expression Validator
Posted by Yoshitha at 2/17/2005 6:53:47 PM
Hi, In my application am using RegularExpression Validator Controls for some text boxes. how to set validExpression for the following ones 1. T1 should accept character data only,it doesnt allow to enter special characters,digits and ,<,>,?,",., etc i have set the property lik...more >>

Edit Button in DataGrid
Posted by Houston Lucifer at 2/17/2005 5:41:16 PM
Hi all, i have a question about customizing the font etc., for the edit/cancel button on the datagrid. I have managed to customize about everything but not the button. Thanks...more >>

unit.percentage
Posted by Tony at 2/17/2005 3:49:51 PM
Win XP - VS 2002 - VB - Web forms Can someone explain the unit.percentage and what it does? if I make a tables cell unit.percentage(100) 100% of what? Thanks Tony ...more >>

TreeView Control - Basic Question with TreeNodeSrc
Posted by Dennis Redfield at 2/17/2005 2:49:06 PM
Ok. I have the TreeView Control working correctly as long as I do not use TreeNodeSrc. It seems that however I format the XML file used for TreeNodeSrc I get back the same error message: System.Xml.XmlException: The data at the root level is invalid. Line 1, position 1.\ So what am I doin...more >>

ItemDataBound Control
Posted by Jeff Thur at 2/17/2005 12:15:07 PM
How can I program an itemdatabound control to get a column (Zipcode) to look as such xxxxx-xxxx. It currently is in this format, xxxxxxxxx. Thanks for any help....more >>

Custom Controls created in WebControl are not EventBound
Posted by recoil NO[at]SPAM community.nospam at 2/17/2005 10:14:52 AM
I am trying to figure out if there is something I am missing. Since i don't seem to have the wording I am really unable to to do much research.To sum the problem up EventBinding works for Button Controls when created inside a WebControl but the binding appears to be lost for any other co...more >>

dynamic controls under calendar's dayrender
Posted by gmalai at 2/17/2005 6:17:20 AM
Hi Folks, I am creating a dynamic HTML table displaying some date from the database under the calender's dayrender. Needless to say all the dynamic controls die after a postback. What should I do to make the dynamic controls persist after the postbacks - is there a way I can make the dayrende...more >>

How do I remove attributes that are automatically generated by asp.net
Posted by j.madgwick NO[at]SPAM wiganmbc.gov.uk at 2/17/2005 2:34:10 AM
Hi, I am trying to get my page validated on the W3C's "Markup Validation Service" (http://validator.w3.org) but I am having a problem with the HTML generated by the button control. ASPX code: <asp:button id="btnSubmit" runat="server" Text="Submit Form"></asp:button> Rendered HTML: <input...more >>

How can I display a 9 digit zipcode in a Datagrid with a hypen
Posted by Jeff Thur at 2/17/2005 12:17:20 AM
The ZipCode column in my database is a 9 digit code with no hypen between position 5 and 6 (eg: 123456789) I need the user to see the results in the datagrid as 12345- 6789. How can this be accomplished. Thanks for any help....more >>

How to send Email
Posted by Yoshitha at 2/16/2005 7:55:11 PM
Hi, In my webform i've some text boxes and one button control. in one of the text boxes i'll enter email id then i'll click on submit button then the system(application) will generate some string randomly which is used as password. so when i ckick on submit button after generating random string...more >>

WEB Form Help Requested
Posted by Chuck Insight at 2/16/2005 6:09:29 PM
I am trying to work with a web form. All the examples I find are for Windows forms. What are the functional equivalant for the following? Console.Write("integer array:") PrintValues(myIntArray) Console.Write("Object array: ") PrintValues(myObjArray) Thanks, Chuck ...more >>

Passing an ICollection object to a UserControl
Posted by Jamil Zahoor at 2/16/2005 2:04:36 PM
-- reposting with valid email I have a UserControl (CustomGrid.ascx) that displays a DataGrid and contains page navigation with bi-directional Sorting. This UserControl has, among other methods and properties: (psuedo-code) - public spname as string - public Sub SetSpName (s as string) ...more >>

Pasing an ICollection to a usercontrol
Posted by Jamil Zahoor at 2/16/2005 1:08:52 PM
I have a UserControl (CustomGrid.ascx) that displays a DataGrid and contains page navigation with bi-directional Sorting. This UserControl has, among other methods and properties: (psuedo-code) - public spname as string - public Sub SetSpName (s as string) - lblspname as Label spname re...more >>

VBScript function with a button Click
Posted by Eric at 2/16/2005 11:27:23 AM
Hi, I would to use a client VBScript function when I click on a button control. How can I link this event to the function ? I read something about AddAttributesToRender, but I do not want to create a new button class. Is there another way ? Regards. Eric ...more >>

Browse Folder Dialog
Posted by TRay at 2/16/2005 10:37:05 AM
Does anyone know if there is a browse folder dialog control for ASP.NET (C#)? I need my web page to allow a user to select a folder location on their local pc. I found something similar with: <INPUT id="txtFileName" type="file"..... However, I need the user to select a folder, not a file. ...more >>

indents in dropdownlist text
Posted by Mark Finkel at 2/16/2005 10:25:03 AM
I would like a dropdown list to display some entries with indents. I code: DataFields.Items.Add(New ListItem("All Data Fields)) DataFields.Items.Add(New ListItem(" ClientName")) DataFields.Items.Add(New ListItem(" SoapMessage")) DataFields.Items.Add(New ListItem(" S...more >>

DropdownList, RadioButtonList Events in UserControls
Posted by Tony T at 2/16/2005 7:31:05 AM
Why is it that, in a UserControl, a Button control fires it's Click routine fine, without any specail coding, however, a Dropdownlist or RadioButtonList do not fire their SelectedIndexChanged without some massaging? I've created a UserControl which contains 2 WebControls.TextBoxes, 1 WebCon...more >>

C# .NET stop carriage return/enter key submitting the form
Posted by Veronica Bourke at 2/16/2005 6:46:29 AM
Hi, This is really melting my face. I have a .aspx page with a form. I have submit buttons on the page for different stages. What i really need is to stop the form submitting when the return/enter key is pressed. At the moment if you press the enter key it executes the button clicks wh...more >>

mutiple addition/remove in two listboxes
Posted by deepak at 2/16/2005 4:57:03 AM
i want to add and remove mutiple selected values in first list box(html control) to another(html control) at the same time after clicking a bttuonsay(Button1,html control) and remove mutiple selected text in another list box after cliking another button(Button2,html control) .. my script is g...more >>

Creating a panel with a collection property -- NEED HELP
Posted by Nicolas LeBlanc at 2/15/2005 3:36:36 PM
Hello everybody, I've been working lately on making my own tabstrip control because I = couldn't find anything that works the way I want it. But now I have a = problem, because I have a "Tabs" property which is the collection of = tabs inside my control, I'm no longer able to add controls insi...more >>

Textbox in table
Posted by Tony at 2/15/2005 3:01:28 PM
Win XP - VS 2002 - VB - web forms I'm creating a table, 2 labels, 1 text box dynamically (only show 1 of each in code below) I'm able to add the labels to the table at run time however I cannot add the text boxes. here is the code and then the error message, Dim tblVD As New Table() tblVD...more >>

Object reference not set to an instance of an object.
Posted by gmalai at 2/15/2005 12:40:13 PM
Hi Folks, Under the calender DayRender event, I am generating a dynamic HTML Table and within each table cell I am dynamically generating textboxes. I am just showing part of the code now: Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRende...more >>

Looping thru a controls collection to get properties of that contr
Posted by JoeG at 2/15/2005 12:09:06 PM
I'm very new to ASP.Net programing, so I hope I can explain what I want to do. I used the following code to create anywhere from 1 to 16 radiobuttonlist in a placeholder, each with two "listitems" added to each. What I want to do is check to see what item the user picked for each of the radiobu...more >>

How to Show Horizontal Scrollbar on ListBox?
Posted by Benson Cheng at 2/15/2005 9:39:32 AM
Dose anyone know how to show the horizontal scrollbar on a ListBox web control? Sometime there are values just too long, but so far I can't seem find a way to do this. Thanks, Benson. ...more >>

Show and Upload an image
Posted by sameer at 2/15/2005 9:05:04 AM
Hi, i am new to asp.net. From the web page I want to give the user option to browse on the local file system and select an image file, when the user selects this image file, i want to show the image to the user in the asp page. Then when the use clicks on submit, i want to upload this image a...more >>


DevelopmentNow Blog