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 > december 2003

Filter by week: 1 2 3 4 5

HttpPostedFile problem
Posted by huan at 12/31/2003 6:11:27 PM
Hi, I am creating a function using C# to send emails with attachment file. And I am using File Field control to get file for attachment. Sending email works fine on development machine, however when I deployed it on the production machine, it doesn't work. It gives me an error as below ...more >>

Hit enter and have btn_click event fire?
Posted by m miller at 12/31/2003 1:11:21 PM
I'm stumped. I have two apps. both with an HTML INPUT text field and an asp:button. In one app when I enter text and hit the enter button on the keyboard, the asp:button click event fires, in the other app it doesn't fire. Both buttons have the same attributes and both input fields have id...more >>

Graphic Controls for .Net
Posted by Juan at 12/31/2003 11:29:19 AM
I need to know which third party controls are the best to present data graphically. I mean in terms of features, ease of use and licencing....more >>

Capture the click event of a template link button
Posted by Darren Wooding at 12/31/2003 9:08:56 AM
Hi all, in my webform datagrid I add all columns and controls dynamically. In this case I don't have a lnkButton_Click event as the control is created at runtime through a template (but of course I can set the ID). How can I capture the _click event? Many thanks Darren ...more >>

Third party Control in .Net Web Application
Posted by shan at 12/30/2003 9:04:20 PM
iam trying to use Far Point Grid 3.5 in my .Net Web Application. I added this Far Point Grid control in the toolbox. When i try to include it in my Web application it is saying "File License.DAT not found. Licence agreement cannot be completed" How do we give reference to the licence file...more >>

Toolbox
Posted by joe at 12/30/2003 7:42:23 PM
How the hell do I add a control that I've downloaded to the toolbox in Visual Studio.net?????...more >>

dropdown menu
Posted by susie at 12/30/2003 7:18:24 PM
I have a list in the dropdown menu as follows: Abraham Lynn Ben Glory If I type in A in the dropdown menu from asp.net, It will jump to Abraham Lynn. It does not allow me to type in the words at all. In Access, a user can type in the full name on dropdown menu. However I am not able t...more >>

How to add a vertical scroll bar to a CheckBoxList Server control in ASP.NET
Posted by Marshal Antony at 12/30/2003 4:42:05 PM
How to add a vertical scroll bar to a CheckBoxList Server control in ASP.NET. Any help is appreciated. Thanks, Marshal Antony ...more >>



Click event of a list box control
Posted by Scott at 12/30/2003 4:39:17 PM
I have an asp.net page where I need to fill a grid when the user clicks items in a list box control on the same page. There does not seem to be a click event and the "onselectedindexchanged" item does not fire when the user clicks on the items in the listbox. Scott ...more >>

Where to Register Client Scripts in Custom Control?
Posted by Earl Teigrob at 12/30/2003 10:24:04 AM
I am just trying to determine the best place to register client scripts using methods like Page.RegisterClientScriptBlock within my custom control. At first I put them in the CreateChildControls method but this generated errors when "ensure child controls" forced it to run early. Now I added the ...more >>

Is there a way .....
Posted by Greg Smith at 12/30/2003 9:16:45 AM
Maybe I should say "what is the best way" to do this. I have a web app that I am writing that is a questionnaire. I have the "Submit" button disabled until all of the questions are answered. I have AutoPostBack set to true on the combo boxes I am using to get the responses. I do a validity c...more >>

LostFocus GotFocus Events
Posted by Pratap at 12/30/2003 2:14:20 AM
Is it possible to capture LostFocus and GotFocus Events for a TEXTBOX WebForms Control using ASP.NET.. if so How.?...more >>

Problem with Validation Control
Posted by Mickey at 12/29/2003 1:33:55 PM
Hi. I am using a Required Field Validator. However when I run the web form, I get mesage "unable to find script library and file WebUIValidation.js" It suggests placing the file manually or reinstalling by running aspnet_regiis with the -c switch. I tried to do both, but it has not made a...more >>

Viewstate Advanced Concepts
Posted by dominic NO[at]SPAM vitrasoft.com at 12/29/2003 12:43:18 PM
This post is not without research. I have an informed understanding of the Viewstate concept, but I'm missing something fundamental. Here's what I've got: Control properties not explicitly defined in page design, those not included in the http post, or those that have changed should be store...more >>

how to stop page from re-generating on button click
Posted by George Paiva at 12/29/2003 9:55:28 AM
Hello, I have a WebForm that dynamically adds rows to a table. In one of the columns in the table, there is a dynamically added hyperlink button. The buttons are added along with an event handle. This works fine. The question is, when the button is clicked, the page is re-generated and au...more >>

direct3d and the web?
Posted by Serdar C. at 12/28/2003 5:27:33 PM
is it possible to make a direct3d application to run from a web page? ...more >>

Retrieve the list of webcontrols
Posted by blaz.ziherl NO[at]SPAM abraxas.si at 12/28/2003 1:59:11 PM
Hello, I am working on a Visual Basic 6.0 application and would need to know if there is any way to retrieve a list of installed webcontrols along with their properties, methods and events, using Visual Basic .NET or preferable Visual Basic 6.0. If being specific: I would need to list all ava...more >>

Calendar control to select data of birth?
Posted by les at 12/27/2003 9:26:25 PM
All the calendar samples I've seen are unsuitable for selecting a date of birth because you would have to navigate back through the months and years to get the right year. Is there a sample that makes it easier to select the year more easily? Thanks Leslie...more >>

Composite Control - Capturing post back when controls change
Posted by Darvin Zuch at 12/27/2003 7:40:24 PM
Hi All, I'm writting an exam control that reads an xml doc and displays the questions. I have a single submit button and a number of radio buttons. I'm using CreateChildControls to create the controls. When I click the button and it fires the ButtonClicked event. ie "AddHandler but...more >>

My web pages always look different on other peoples computers.
Posted by Randy Hudson at 12/27/2003 4:52:47 PM
My web pages always look different on other peoples computers. How do I stop the client from using their text resize button. Does anyone know how I can make all of my web pages look the way I made them to be. Need help ASAP. My regular e-mail address is bigtimebiz@netzero.net...more >>

Updating tables
Posted by Coleen at 12/26/2003 5:12:48 PM
I have spent all day researching datagrids - adding rows, calculating columns, trying to get the samples to work for me. Can someone please point me in the right direction for GOOD VB.Net sample code to create a datagrid that has one static column, one column that shows a calculation, and a foo...more >>

Calendar Control: Selected Day Formatting Problem
Posted by Gilles Muys at 12/26/2003 11:40:47 AM
For an unknown reason, my calendar control automatically adds a style attribute to the cell of the selected day. This style attribute is: style="color:White;background-color:Silver;width:14%;" In my DayRender event handler, I set the CssClass of the cell of the selected day to "DaySelected"....more >>

LoadControl
Posted by zhangbin at 12/25/2003 12:34:23 AM
I have build a user control in a *.ascx file using codebehind. How can I Load it in another application ? ...more >>

Validate a Datagrid Edit?
Posted by Don Hans at 12/25/2003 12:02:05 AM
Gents, Trying to use the validation controls to validate a datagrid edit. I have tried casting the edited cell to a temporary checkbox control, and then validating that control. However, the validation is not working for some reason, as the IsValid property is alwyas true, regardless of wha...more >>

Focus
Posted by lilianatp NO[at]SPAM yahoo.com at 12/24/2003 2:22:33 PM
I am creating an asp.net page. When this page is loaded I need the focus to be on a text box. (The user will use a barcode scanner to scan some data in the text box). Also when the focus moves to another textbox on the page I need to do some processing of the string that was entered in the firs...more >>

dynamically loading custom control????
Posted by Farooq Khan at 12/24/2003 1:53:48 PM
hi, i have designed my own control having a public property. i want to be able to set that property as the page, having that control in it, loads. the inline code for the page is (assuming MyControl is the TagPrefix and Control1 is the TagName and MyProperty being string type property): <MyCo...more >>

Creating updateable tables (datgrid won't work)
Posted by Coleen at 12/24/2003 11:27:01 AM
Hi All :-) I have a table that I need to be able to add, update and delete. A datagrid won't work(unless some one can explain how to easily create columns with static data) I have a table with this format: Column1 is the product name, it is NOT derived from a product code it needs to be stati...more >>

CalendarControl.SelectedDayStyle Not Working
Posted by Nitin at 12/24/2003 3:27:40 AM
Hi, I have a calendar control for which i set selecteddate property from the database. Also for selcteddaystyle.backcolor i have set a different color. Now the problem is if the selecteddate property's date is smaller than currentdate than the selecteddaystyle.backcolor does not change...more >>

Disable the URL display in Browser status when mouseover a treenode
Posted by RodBillett at 12/23/2003 12:39:52 PM
Is there any way to display a string other than the navigateurl in the status bar when the mouse is hovered over a treenode? We would like to see some other text there besides the navigate URL. Thanks In Advance Rod ...more >>

Listbox and rows
Posted by Micke Palm at 12/23/2003 12:05:49 PM
Hello! Do anyone know how many rows I can put in a listbox. I've put 14000 and its works fine ,but when I put there 15000 it's seems exceed some limit?? I've try this in IE and Netscape and it's the same problem. Do anyone know anything about this, please? /regards, micke ...more >>

Newline in Validator ErrorMessage
Posted by Steve at 12/23/2003 11:25:37 AM
How do I insert a newline char in the message field of a validator control in the VS.NET design mode. There is no problem doing it in the code-behind by using \n. But in the VS design mode, I use a series of \n it only takes the first \n. For example: AAAAAAAAA\nBBBBBB\n\nCCCCCCCCC\nDD...more >>

Web form outlook email
Posted by Chuck Farah at 12/23/2003 8:36:53 AM
i heard from our it folks that you cannot use the outlook.application named space to email. i.e. the following will never work, get security errors or nothing at all happens. Sub SendAttach() 'Open mail, adress, attach report Dim objOutlk 'Outlook Dim objMail '...more >>

Serialize a collection
Posted by Iker Llanos at 12/23/2003 2:26:08 AM
I hava a class that is a collection adn I want to serialize that class in a XML document. How can I do this? Thanks...more >>

Graphical Time-Period selection webcontrol
Posted by Jurjen de Groot at 12/22/2003 6:51:32 PM
I'm looking for a web control in wich a day is shown graphically, for instance by using small squares, one square per 15 or 30 minutes, the user can then click on the start time, keep the mouse button pressed and drag the mouse to the end time and the release the mouse button, the control should ...more >>

Newbie question
Posted by Richard at 12/22/2003 5:30:00 PM
Hi, I am trying to learn asp.net through their own starterkit. But when I am changing the pages I get an error message and that error message persists even if I delete my changes. The error message is Compiler Error Message: BC30560 'Global' is ambiguous in the namespace 'ASPNET.StarterKi...more >>

Logon Failed at Crystal Report Viewer
Posted by Fabiano at 12/22/2003 5:00:02 PM
Please, i've created a report with crystal reports.... but when it loads, i get the message error "Logon Failed". What should be wrong? Tks in adv. Fabiano ...more >>

User control syntax
Posted by Tony at 12/22/2003 2:36:31 PM
Hi, What's wrong in my code ?? I'm new to C# and working on somebody else application developped in C#. I have a LinkButton in a user control page, the LinkButton log out the user when he click it. here is the code: <asp:linkbutton ID="logOut_" OnClick="logOut_Click" Runat="server">Log ...more >>

Org Chart Component for ASP.NET
Posted by Ben Smith at 12/22/2003 1:17:22 PM
I am in need of a component that can be used within a .net web application that would allow me to create an org chart style diagram. I need for the component to output html and, at the very least, allow for events to be captured for each node and the contents within each node. Anyone have any ...more >>

Where can I get the file Microsoft.Web.UI.WebControls.dll?
Posted by grandfeller NO[at]SPAM yahoo.com at 12/22/2003 1:00:53 PM
I need the Microsoft.Web.UI.WebControls dll to implement a tabstrip. I downloaded the files at http://www.asp.net/IEWebControls/Download.aspx?tabindex=0&tabid=1 . As instructed, I ran build.bat, which came with the download and created a folder named build. The build folder is supposed to cont...more >>

More ParseControl()
Posted by Jeremy McPeak at 12/22/2003 12:11:02 PM
I am playing around with ParseControl(), and I have a question. First here is the code I am using: Control MyButton1 = Page.ParseControl("<asp:button id='MyButton' text='Click here!' runat='server' />"); Form1.Controls.Add(MyButton1); This adds the button to the form; however, I cannot ac...more >>

autopostback on text box
Posted by Mike Malone at 12/22/2003 12:07:55 PM
I have a web form with a text control and button. The text control has = the autopostback set to true so I can take a action when the text box = has data typed into it.=20 The problem is that I also have a button and when the button is clicked = I just get the textchanged message but no button...more >>

loop through datagrid
Posted by susie at 12/22/2003 10:43:49 AM
I have set up datagrid present data in textbox sytle on page load. How do I to loop through textbox presented in the datagrid? For example: the following data presented in datagrid style: textboxrow1coloumn1 textboxrow1coloumn2 textboxrow2coloumn1 textboxrow2coloumn2 .... It is not...more >>

Bound DropDownList: What is the best way?
Posted by Anthony Sullivan at 12/22/2003 9:38:01 AM
I have a DropDownList that I am binding to an array that has a list of Active Directory Groups in it. I have a couple of problems that I am experiencing and I'm wondering if someone could help. First, We have about 155 groups in our AD and pulling that entire list takes about 10 seconds on our...more >>

Modal Forms Question in Web Application
Posted by news at 12/21/2003 3:58:21 AM
Not really sure if this is a javascript problem or C# - sorry if in wrong place. Modal Forms Question in Web Application I have two web forms: Form1 and Form2 Form1 calls Form2 using showModalDialog var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:600" var result = window.s...more >>

Navigating In Dataset
Posted by Sagheer at 12/20/2003 5:11:36 PM
Hi. Please forgive my ignorance but I was wondering if there is any simple way to create a web form connected with the the database and navigate ie, Next Record, Previous Record, First and Last Record. Just like the ADO Recordset.... I have done alot of research but found nothing so ...more >>

Web Message Box
Posted by Tim at 12/20/2003 7:53:41 AM
I'm looking for a web message box control (i.e. an ASP.NET counterpart to the Winforms Msgbox) and would be grateful for recommendations whether freeware, shareware, or commercial. I want to mimic the popup behavior of the Winforms message box --superimpose the message like a javascript aler...more >>

Netscape vs IE textbox control
Posted by Michael at 12/19/2003 7:42:08 PM
Can anyone explain why code generated for IE 6 renders textbox control with validator control correctly but the code generated for Netscape 7.1 is "dumb"? IE code: <input name="tbMailFrom" type="text" id="tbMailFrom" style="border-style:Inset;height:23px;width:200px;" /> <br /> <span id="R...more >>

Drop Down List Control
Posted by Martyn Fewtrell at 12/19/2003 7:24:43 PM
Hi There I apologise for this one as I am sure that it is pretty straight forward. I am using VB.NET in ASP and have loaded a drop down list from the database - No problem so far! I then want to set the selected value of the list using a text value from elsewhere so that the drop down lis...more >>

Bitmap / Icon question - Custom Controls
Posted by James Radke at 12/19/2003 12:57:21 PM
Hello, I am building a custom control. It has functionality similar to the Timer, and was curious, is there a way for me to actually use the same icon as the timer control for mine when it is displayed in the VS.NET toolbar? I would also like to use the same icon to display in the designer t...more >>

ANN: Device Update 4.0
Posted by Thomas Scheidegger [MVP] at 12/19/2003 12:15:04 PM
Just seen at MS-Download: ..NET Framework 1.1: Device Update 4.0 http://www.microsoft.com/downloads/details.aspx?FamilyID=02fa15fe-40d9-4dce-9bb1-4dd61a5b7ccb -- Thomas Scheidegger - MVP .NET - 'NETMaster' http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/ ...more >>


DevelopmentNow Blog