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 > april 2004 > threads for april 15 - 21, 2004

Filter by week: 1 2 3 4 5

Mouse Events
Posted by Microsoft at 4/21/2004 8:08:35 PM
What about the events control for the mouse I used in ASP, still did they exist in ASP .NET Please let me know which is the way if possible ...more >>


User Control - InvalidCastException: Specified cast is not valid
Posted by Ajit at 4/21/2004 4:49:57 PM
Hi, My control works fine unless until i add dropdownlist box. When i add dropdownlist box to control and try to test that control in my aspx page it gives the following error. =================================== Specified cast is not valid. Description: An unhandled exception occurred dur...more >>

Calendar display of information from database too slow
Posted by mschaver NO[at]SPAM courier-journal.com at 4/21/2004 12:07:27 PM
I'm using the calendar control to display information from a SQL Server database. I use a stored procedure to execute seven select statements, then use a datareader to display the information on the calendar. But it takes several minutes for the calendar to load, even though if I run the SQL for...more >>

Control to view and edit data (Not datagrid)
Posted by Chris Wilson at 4/21/2004 10:49:32 AM
I have a web form that displays data. Occasionally, the user may need to edit the data. Is there any control that will allow me to bind it to a database to view, and have the ability to edit if needed? I'm looking for something similar to the functionality of an editable datagrid, but with...more >>

How to make page without frames
Posted by aa at 4/21/2004 10:17:31 AM
I have one aspx page with datagrid. it is work good And I have another aspx page where it is maked horizontal menu below invoke client-side javascript code. When making the page from 2 frames header(there is menu page) and footer and when I go on Menu with mouse cursor, the Submenu hides under ...more >>

Simulating Tabs using GridLayout DIV
Posted by Timo at 4/21/2004 7:44:30 AM
I was wondering if it is possible to simulate a tabbed interface using Grid_Layout DIVs with runat=server. The specific question is whether the DIV can be easily repositioned at runtime so that it carries with it to its new location all the controls it contains. At design time, I'd like to...more >>

Autopostback
Posted by D at 4/21/2004 7:26:04 AM
Hi I have set the Autopostback property for some of the controls on my page as True. However, if client side scripting is disabled in the browser, then the postback does not happen for the controls even though autopostback is set to True Is there any workaround for this Thank D...more >>

multiple dropdown lists = multiple data readers???
Posted by Andrew Kidd at 4/20/2004 11:16:44 PM
Hi, I've have a form for the user to fill in which comprises of 5 date ranges, each made up of a "FROM" & "TO" date, which is built from a "[Month]" dropdownlist & a "[Day]" dropdownlist, as follows: Period 1 = FROM [Month][day] TO [Month][Day] Period 2 = FROM [Month][day] TO [Month][Day]...more >>



Custom control help
Posted by raj.surisetti NO[at]SPAM aeromech.usyd.edu.au at 4/20/2004 6:32:36 PM
Hi, Can anyone help me to build custom control for the following <HEAD> <LINK href="~/Styles/Blah.css" rel="stylesheet" type="text/css"> <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScrip...more >>

ASP.NET Controls - Worth the Performance drop?
Posted by kdub at 4/20/2004 4:50:13 PM
After doing some testing, I was extremely dissappointed in how quickly a page's performace degrades after adding controls. Even a few Labels can cut performance in half. My question is: Is it worth it? Anyone know if VS 2005 / Framework 2.x will have better performance of controls? ...more >>

Difficulty with LinkButton.Attribute[] usage
Posted by buzlite NO[at]SPAM sympatico.ca at 4/20/2004 2:46:31 PM
Hello, I am trying to create an anchor tag on a page that look like this: <a id="some_id" onSomeAction="this.href='page.aspx?a=1&b=2'">some_text</a> I tried to accomplish this using System.Web.UI.WebControls.LinkButton object and using the following statement: linkbutton.Attributes ["on...more >>

uploading huge files
Posted by Mario Rodriguez at 4/20/2004 10:47:49 AM
HI people, there is an alternative way to upload files than the ASP.NET native way? Is OK for small files but It doesn't seems to be convenient for an application where there is a lot of paralell uploadings of huge files (50MB-100MB) Any idea? open source components ? thanks ...more >>

ViewState is driving me crazy. Please help!
Posted by Ken Varn at 4/20/2004 10:13:03 AM
I have a class that I created that derives from TableRow. I have several of my own custom properties in my class that are stored in ViewState. These properties are retained in ViewState just fine. The problem I am having is that the base class properties are not saved in ViewState. I cannot f...more >>

Single record display paging
Posted by Goku24 at 4/20/2004 6:41:02 AM
I want the user to be able to page through the records, one record at a time, with Next and Previous buttons at the botton, identical to how an Access form would work with a multiple-record query as its data source I've searched, but couldn't find any useful info. What control is best to use, Dat...more >>

Creating a COM+ object with c#
Posted by 601 at 4/20/2004 2:34:32 AM
Is it possible to use c# and .NET to create a COM+ object that can be accessed in classic ASP/VBScript using Create.Object ? -- W '04 <:> Open...more >>

Datalist and RadioButton
Posted by Rob Risner at 4/19/2004 10:27:40 PM
Is there a way to use a RadioButton web control in a datalist template column without the button getting a unique name? It doesn't allow a single radio button to be clicked. Thanks, Rob ...more >>

need some advice on writing a custom format event handler for data-bound Fields
Posted by Larry at 4/19/2004 9:59:07 PM
I've been reading some VB.net articles written for wndows forms allow one to write a custom format routine to customize the formating of data in controls at binding time to a dataset. I wanted to try applying this idea to a datagrid. The examples in the docs look like this: Private Sub Decimal...more >>

help !
Posted by dotnethelp at 4/19/2004 6:48:12 PM
Suppose I have 2 textboxes txtRollno and txtName to input data from user .. When I press a button (btnInsert) to insert a row from user then it inserts a new row and puts data of textboxes in that row . There is another button (btnSave) to save the record permanently in actual table. My ...more >>

datagrid issue
Posted by Newbie at 4/19/2004 6:42:58 PM
How to add template columns with textbox control in Asp.Net DataGrid through coding. Also, There is no OnFocus and OnBlur events in Asp.Net for DropDownList. How do I perform action on these events ? Please suggest. ...more >>

Datagrid updation
Posted by AA at 4/19/2004 6:18:36 PM
We want to edit, update data of DataGrid in Asp.Net with VB.Net.and are writing the following code for EditCommand and UpdateCommand Event is : DataGrid1_EditCommand Code is: DataGrid1.edititemindex=e.item.itemindex DataGrid1.DataBind() Event is : DataGrid1_UpdateCommand ...more >>

Nested Repeater Event Handling
Posted by KeithRaginF NO[at]SPAM newsgroups.nospam at 4/19/2004 5:41:08 PM
(I apologize for repeatedly posting this --- I am having a little trouble getting my MSDN Universal Managed Newsgroup ID set-up. Hopefully, this one will result in a response. I have 1 repeater nested inside another. It looks something like this <asp:Repeater id="RepeaterOuter" runat="server" ...more >>

Calendar Control: Changing the Month Display and Navigation Links
Posted by msnews.microsoft.com at 4/19/2004 5:24:25 PM
Calendar Control: Changing the Month Display and Navigation Links http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskCustomizingCalendarWebControlAppearance.asp The above link suggests a "Calendar.MonthNameFormat" that can be used to Specify the format of the nam...more >>

Spreadsheet embed in ASP.net page
Posted by Rohit at 4/19/2004 4:42:09 PM
I have to embed spreadsheet in asp.net page. I have heard of microsoft spreadsheet control. But its not available on my system. Can anybody send the path for downloading the component? I will appreciate if anybody send me the sample code. Rohit ...more >>

TestBox Control Value.
Posted by pramod at 4/19/2004 4:07:53 PM
Hi, I have a WebForm, with number of textbox control and Button control. In the Click event of the button control i want to get the value from the Textbox control which user typed, but everytime i am getting empty string (""). I dont know why it is behaving this way on this webForm. I ha...more >>

Page inheritance detaches validation script
Posted by Tim Colton at 4/19/2004 3:51:06 PM
I have a web form which has a textbox, required field validator, and a submit button. If the web form inherits from System.Web.UI.Page everything works as expected. If you leave the textbox blank and click on the button, the client-side validation code runs, displays the error text and prevents th...more >>

ImageButton problem with page refresh
Posted by ppatel at 4/19/2004 6:16:02 AM
Problem I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine). When click event fires first time it executes code associate with click event(As I expected). the problem is when you...more >>

Windows Media Player and ASP.NET (with VB code behind)
Posted by ASPuser at 4/18/2004 8:01:03 PM
Hello I have 2 questions. Hope someone answer...if possible, please include code example, please. Thanks in advance 1. I have ASP.NET page and I placed Windows Media Player in it. It has Play, Pause, Stop (html)buttons. Is there anyway to programmatically send "play" commend to the WMP from code ...more >>

subclassing web controls
Posted by Timo at 4/18/2004 12:47:15 PM
I am trying to use as a guide an example in the VBNET Developer's Guide by McManus and Kinsman (ch 10,) on Subclassing Existing Server Controls. Rather than create a User Control (ascx) or a Composite Control, I want to make a simple extension to the CheckBoxList control class using inherita...more >>

Desing Time Support
Posted by Zviki Goldberg at 4/18/2004 9:08:25 AM
Hi.. I need to know in design time in ASP.NET inside a control (for ex), who is the Page that contain him. I tried to use the Pae property or the Parent property but they are NULL. I need tha page type or namr or something like that. Is it possible ?? Thanks a lot Zviki. ...more >>

asp:table equivalent of colspan???
Posted by merritt.robert NO[at]SPAM spsd.sk.ca at 4/16/2004 4:04:02 PM
Hi I have some code to enter a textbox into a single tabelcell in a new table row. The rows above it have 3 cells /row. How can I programatically cause the last row with only one cell and textbox span all three? code bellow: 'this row should span 3 cells in the table tblRow = New TableRo...more >>

Control Focus
Posted by ruca at 4/16/2004 2:29:22 PM
How can I force to set focus to a determinate control in my Web Page? For example in Page Load put the control with Focus. There is any equivalent method to SetFocus or anything else? -- Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this help you (if I try to help...more >>

BIG question on datagrid
Posted by Kevin YU at 4/15/2004 10:28:44 PM
hi all I have a picky client who complain about the datagrid on one of my asp.net project. one of the column need to total at the bottom of the datagrid, so I have a command button there to press to get the sum, but I got an email today said that should be done automatically, no one want ...more >>

DropDownList doesn't have a Load method - so how does this code work?
Posted by Novice at 4/15/2004 1:46:04 PM
Hi all, what is the equivalent of this C# in VB ---------------------------------------------- DropDownList CustomerIdChooser CustomerIdChooser = new DropDownList() CustomerIdChooser.Load += new EventHandler(CustomerIdLoad) CustomerIdChooser.SelectedIndexChanged += new EventHandler(CustomerIdCh...more >>

Dropdownlist value remove in Listbox
Posted by nbercasio NO[at]SPAM yahoo.com at 4/15/2004 1:34:03 PM
My dropdown and listbox got the same values. If I choose a value in my dropdown, i want this value to be removed from my listbox. So far I have this but it is not working... CODE BEHIND: Public Sub ddldeptowner_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventAr...more >>

DropDownList - onSelectedIndexChanged not firing
Posted by Jerry at 4/15/2004 1:04:15 PM
I have a DropDownList control on a web form and the onSelectedIndexChanged event is not firing. Any ideas? Thanks, Jerry...more >>

insert new control into html
Posted by Josh at 4/15/2004 11:39:51 AM
I am pulling html from the sql reporting services web service and inserting it into a page of mine by using httpwebrequest method. I need to insert a check box in a specific location within that HTML that I get from the web service. Does anyone know how I can do this and have ASP.net render the ...more >>

render not rendering literal controls
Posted by cakewalkr7 NO[at]SPAM hotmail.com at 4/15/2004 11:09:22 AM
I'm working on project where I find a control on a page and then insert a literal control (a tag) directly before it with the form.controls.addat method. I stepped through the code and used the immediate window to show all the controls in the form controls collection, and the literalcontrol tha...more >>

Help Required on IE TreeView Web Control -- urgently
Posted by rajatirumalarao guna via .NET 247 at 4/15/2004 9:37:20 AM
hi I have developed a simple aspx page in which i used Internet Explorer Treeview Web control i ve developed the page and deployed it on Windows XP. i tested it and it worked well. now i made a web set up and deployed the same using the set up on to a windows server 2003 with iis 6.0 he...more >>

postback to a web custom control Help!!!
Posted by Chris at 4/15/2004 8:38:39 AM
Does anyone know how to postback to an inherited custom control from a pop-up window? Thanks in advance. ...more >>

DropDown List - Default Item - Two RowFilters possible?
Posted by harrysingh1976 NO[at]SPAM hotmail.com at 4/15/2004 6:09:17 AM
Hi, I have a problem with the default Item of an asp:dropdownlist. I databind the dropdown list in the code with values from a SQL Database as per below. ViewOptions.RowFilter = "Code LIKE 'MM%'"; ddlRam.DataSource = ViewOptions; ddlRam.DataTextField = "Name"; ddlRam.DataValueField ...more >>


DevelopmentNow Blog