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 15 - 21, 2003

Filter by week: 1 2 3 4 5

Run-time error: Server Application Unavailable
Posted by Matthew Louden at 10/21/2003 5:29:34 PM
I am new to ASP.NET, but I know ASP. I just download a ASP.NET sample in http://www.asp101.com/samples/calendar_aspx.asp and run it. It produces the following run-time error. Any ideas?? Thanks!! Server Application Unavailable The web application you are attempting to access on this web se...more >>


Question about using a repeater inside a repeater.
Posted by Josh K. at 10/21/2003 2:19:55 PM
I have a category web control which is basically a repeater (it inherits from a repeater class.) I use i to display a list of categories. I also have a forum web control which inherits from the repeater class as well. I use it to display a list of forums. What I'd like to do is display a ...more >>

Datagrid columns
Posted by Darin at 10/21/2003 1:49:24 PM
I posted this question in the ASP.NET newsgroup not knowing about this newsgroup. I need to create a column with 4 links in that column that take 4 different actions against that row when clicked. I do not see how to add 4 links under one column using the datagrid's property builder. ...more >>

Error in __doPostBack when installing .Net 1.1 with 1.0
Posted by Miguel Figueroa at 10/21/2003 9:24:30 AM
Hi, I'm (and I thing a lot of guys are) having problems with the __doPostBack javascript function. This due to the installation of .Net 1.1 on my pc containing the .Net 1.0 The project I'm working on it, targets the .Net 1.0 (has not been migrated to .Net 1.1). Problem description: ...more >>

For Mike regarding ENTER from the text box
Posted by JP at 10/21/2003 6:14:57 AM
Hi Mike, Thank You! I think this will get me what I am trying to do. However, for the first attempt, it didn't work. I am sorry, but I am still a new fish in the ocean of ASP.NET and it would help if you could give more details on how to use the code you gave. This is what I did.... I...more >>

DataGrid
Posted by Raja Balaji R at 10/21/2003 2:07:24 AM
hi i have table emp which contains field eno, ename, esal. i displaying it in a datagrid eno column is hyperlinkcolumn ename, esal are normal bound column i want that eno hyperlinkcolumn href value to be in form "sample.aspx?eno=1&ename=rock", 1 is the value of eno column(hyper c...more >>

Inheriting From System.Web.UI.Control
Posted by Ron Vecchi at 10/20/2003 5:32:05 PM
I am creating a custom control, and pretty green at it too. Now if I inherit from WebControl I have a bunch of inherited properties that I don't need and don't care to implement. So Is there any problems with Inheriting from Control instead of WebControl. Is designer support still available at ...more >>

Accept ENTER Key from the TextBox
Posted by JP at 10/20/2003 9:33:54 AM
Hi, I have a login screen and have usual stuff on it including "Forgot Password" and "Change Password" as image buttons along with "Login" as image button. Now, when I enter Id/Password and hit ENTER, it's accepted by the "Forgot Password" image button and not by "Login". I threw my "L...more >>



which tree node was selected
Posted by Brian Henry at 10/20/2003 7:46:45 AM
how do you determin which node in a tree was selected? and can you assign tags like in normal treeviews to determin which level the tree is on? or a category it might be in.. thanks ...more >>

Multiple AutoPostBacks causes page to disappear
Posted by Rick Lubanovic at 10/19/2003 10:55:29 AM
All, I have a scenario that is causing a major problem in our ASP.Net Application. I have a page that contains an asp:textbox and an asp:dropdownlist control which are both set to AutoPostBack. If the text is changed within the textbox and the dropdownlist's arrow is clicked, the page...more >>

Java Script for toolbar
Posted by Manny at 10/19/2003 10:01:01 AM
Where can I find the toolbar control thru Java script?...more >>

DataGrid Checkbox column CheckedChange event not fired
Posted by Raymond at 10/19/2003 9:23:41 AM
Hi all, I created a custom datagrid control which dynamically adding checkbox in item template column In the item template class, it contains a custom event handler for checkedchange event for checkbox. For some reason, this event only raised when the checkbox is selected. When un-che...more >>

Treeview displaying as straight line of text
Posted by Sandy at 10/19/2003 7:35:47 AM
Hello! I downloaded and installed the WebControls and when I view either an aspx that I have created or even view the Treeview.aspx it simply displays as one straight line of text. Any suggestions? Sandy...more >>

problems checkbox in datagrids
Posted by Samuel Chowdhuri at 10/18/2003 11:12:56 PM
this peace of code is giving me trouble DIM i as DataGridItem for each i in myDataGrid checkbox chkbox = Ctype(i.findcontrol("deletethis"),checkbox) if(chkbox.checked) then ...... ..... Compiler Error: Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windo...more >>

datagrid control not displaying certain text with <brackets>
Posted by mike NO[at]SPAM high-pow-er.com at 10/18/2003 10:35:58 PM
im trying to insert a word enclosed in brackets but only shows up blank on the webpage. My database holds "<microsoft> security" but the cell in the grid showes " security" Whats up? What can I do so this will display?...more >>

Inherits from web user control
Posted by ton at 10/17/2003 5:39:26 PM
I created web user control class (WebUserControl1) on my project. This web user control class contains two button. And i create new vb class that it inherit from WebUserControl1. When i register vb class to web form. It can not display any controls (buttons). How can i use vb class on webfo...more >>

treeview web control
Posted by Sohail at 10/17/2003 1:26:02 PM
Has anyone else had this problem? Here is the XML that I am using as the source for the treeview: <TREENODES> <TREENODE TEXT="ZZ_TEST"> <TREENODE TEXT="EndDate"/> <TREENODE TEXT="SiteID"/> <TREENODE TEXT="StartDate"/> <TREENODE TEXT="TagName"/></TREENODE> </TREENODES> ...more >>

Where can I find a toolbar ctrl?
Posted by Kenneth at 10/17/2003 1:14:26 PM
Hi, I've used Microsft webcontrols earlier but then I migrated to :net 2003 and now they aren't supported. I just would like to have a very simple toolbar ctrl with buttonctrls separator ctrls and SelectedStyle and a buttonclick eventhandler. Can anyone guide me where to find such cod...more >>

javascript problem aps.net
Posted by pl at 10/17/2003 11:38:36 AM
1) create dropdown lists on server 2) manipulate on client using javascript 3) postback to server for processing and lost the client side listbox changes made from javascript. 4) why? defined js in page load: cboInternalOrigin.Attributes.Add ("OnBlur", "CheckRequiredField()")...more >>

Elapsed Time
Posted by Jim Beatty at 10/17/2003 11:16:21 AM
Hello All, Sorta in a sticky wicket here. Trying to utilize a timer to show ticks of a clock in a label so I can have elapsed time showing while a cirtian job is running. I guess what I'm trying to say is how do you get such functionality from the timer and what would that do as far ...more >>

linkbutton in nested repeater doesnt fire
Posted by Nicolas Chevet at 10/17/2003 10:20:46 AM
Hi! I've got a page with a datalist and a nested repeater in it to get "categories" and "sub categories". I've got link button in the datalist and in the repeater. The ones in the datalist work fine assuming it fire itemcommand event on postback. The problem is that the link button in the neste...more >>

Copying webcontrol from an ASPX to another one
Posted by trolipotlo NO[at]SPAM freemail.hu at 10/17/2003 5:53:40 AM
1. Select a custom webcontrol in an ASPX page and press Ctrl+C 2. Open another page of the webapplication that does not contain any controls and press Ctrl+V Error creating control: TagPrefix is not registered. Is it by design???????...more >>

Web Custom Control Problem: error creating control aspnethostingpermission error
Posted by Deniz Miscioglu at 10/17/2003 12:17:11 AM
I have VS.Net2003 on WinXP with Framework1.1 I create a web custom control project, compile it. Then, I create an asp.net web app and add my custom web control to the toolbox. Until this point everything is ok. Now, When I try to drag my customcontrol1 from the toolbox onto the webform1....more >>

First time building ASP.NET controls
Posted by news.microsoft.com at 10/16/2003 7:35:52 PM
Hello there, I need to add specific functionality to an Infragistics TreeView control. So I decided to inherit from create the Infragistics control and create my own one. Please tell me what I am doing wrong. 1) First, you add to a new page your Infragistics control and then make the changes...more >>

WebUserControl problem, pls help!!
Posted by CM at 10/16/2003 6:44:34 PM
Hi, there: I have created a user control in an ASP.Net web application (.Net 2003). I put the user control on a web page, and found those buttons put above the user control will function normally, but those buttons put below the user control will not response to click event. What could be the re...more >>

Drag and Drop TreeView Control
Posted by Johnny at 10/16/2003 12:47:17 PM
Hello, Before I start doing some serious researching, can anyone tell me if it's possible to have an asp.net treeview control that will load a hierarchical xml file that can be used to drag and drop nodes and updates the xml file on the fly. If you have an example or a link to a site t...more >>

asp:calendar - Why is "SelectedDate" a linkbutton but there is no event to catch?
Posted by pookiebearbottom NO[at]SPAM yahoo.com at 10/16/2003 10:55:36 AM
OnSelectionChanged is only fired when you select a date DIFFERENT then SelectedDate. Why is the SelectedDate a link button if I cannot catch the event? Do I have to put in my own code in OnBubbleEvent? -sal...more >>

Dynamically instantiating a statically defined custom web control
Posted by Rahul Mittal at 10/16/2003 10:28:40 AM
I get a "System.NullReferenceException: Object reference not set to an instance of an object" when trying to reference members of a custom web control that is dynamically instantiated from a web form. I have included a simple example below to demonstrate my problem. In the example, a custom we...more >>

page size...
Posted by Jim at 10/16/2003 10:13:34 AM
I have a pop window that is displayed and depending on the state of the system it will contain any number of user controls(ascx). These controls contain dynamic content and therefore the size of the control can change dynamically. Is it possible to work out the size of the page that is going t...more >>

Drag and drop at runtime ?
Posted by Chak at 10/16/2003 1:22:22 AM
Is it possible to drag and drop controls in an aspx page at runtime ? Meaning i have developed a ASP.NET web form, the web form is now downloaded in IE - now can i have this form to detect mouse events, and provide drag and drop functionality of the controls ?...more >>

Does treeview works in .NET framework 1.1 using TreeNodeSrc to bind an XML file.
Posted by Thomas at 10/16/2003 12:58:43 AM
abc.xml ======= <TREENODES> <treenode Expanded="true" Text="category 5"> <treenode Text="Report 1" NavigateURL="http://www.abc.com"/> <treenode Text="Report 2" NavigateURL="http://www.bcd.com/"/> </treenode> </TREENODES> abc.aspx ======== <?xml version="1.0" encoding="iso-8859-1"?> ...more >>

ASp.NET Tree
Posted by Babu V.T at 10/15/2003 11:56:42 PM
Hi, I need to develop a asp.net web application using 2 trees.I shoud be able to drag nodes across two tree controls.How can i acheive the same?Any freeware/shareware controls ?...more >>

Client Side Auto-Complete for DropDownList?
Posted by James Radke at 10/15/2003 11:30:56 PM
Hello, I noticed that the standard dropdownlist control has some client functionality that allows the user to press a key, and then it goes to the first item in the list which starts with the value of the key that was pressed. I am curious, is there a way to enhance this so that it keeps tr...more >>

Accessing Server.MapPath from within Custom Controls Render() method?
Posted by Kenneth Baltrinic at 10/15/2003 8:50:05 PM
I am writing a simple custom control to read in an rtf file, convert it to HTML and output the HTML. I ran into one little glitch. My control has a FileName property, the value of which I want to convert from a relative path to get the actual file path on the server. I need MapPath for this bu...more >>

Object reference not set to an instance of an object.
Posted by davidv NO[at]SPAM upage.com.au at 10/15/2003 6:38:30 PM
Using a COM object to retrieve data from a SQL Server (middle tier). The COM object returns the data in XML format. In VB.NET, run the following Page Load code to obtain the XML string and to transform it so that a <SELECT> drop-down appears on the screen: .... Dim XMLString As Strin...more >>

Listbox Item, open new browser and add records, can it be done?
Posted by James Radke at 10/15/2003 5:39:53 PM
Hello, If I have a web page which displays dropdownlists containing databound items, for example employees or something as well as an entry at either the beginning or end which says "<NEW>"; is there a way that when the user clicks on the NEW item, a new browser is launched presenting a data e...more >>

unique id in control framework
Posted by Donal McWeeney at 10/15/2003 4:34:13 PM
Hi, I'm working within a control framework and am trying to figure out the best method to get a unique id assigned to a control I am dynamically creating. Any ideas? When is a ClientId populated - is it when the control is added to the Controls collection? Thanks Donal ...more >>

help pls. textbox required only when checkbox is checked (help with validation)
Posted by s_emiliano NO[at]SPAM yahoo.com at 10/15/2003 1:38:21 PM
Can anyone tell me how to or point me in the right direction for this? I have a .aspx web for that uses <asp:requiredfieldvalidator... to ensure fields are filled out. However I have field that is only madatory if the user checks a certain checkbox. Any ideas on how to validate on this conditi...more >>

numbering rows in datagrid
Posted by buran at 10/15/2003 1:13:46 PM
Dear ASP.NET Users, How can I get the total number of rows selected by the command text of the datagrid (items in datagrid)? If I use the statement grdSP.Items.Count with the datagrid grdSP with paging, it returns the page size (5,10..) not the total results. How can I get the total no? Thank...more >>

TreeView not rendering nodes? Cacheing of a TreeView
Posted by Per Salmi at 10/15/2003 11:13:10 AM
I have a rather large TreeView in a web form. This is built from database content. What is the easiest way to store the TreeView NodeCollection so that I don't have to build it again from the database when a new request for the same page is performed? I have tried storing the treeview object ...more >>

Treeview performances
Posted by Paps at 10/15/2003 10:34:00 AM
I'm using a treeview control with about 30 child and sub child and about 80 elements. The generated HTML output isn't so big (10k) but when the user try to open the tree the first time it's very slower and sometimes happen that not all images are loaded (so instead of the plus or minus I see the...more >>

ValidateRequest
Posted by Stanley at 10/15/2003 9:15:57 AM
I have a server control that accepts HTML. This server control is placed into a user control which is in turn loaded into a webform. Is it possible to dynamically change the ValidateRequest property of the page only when my user control is loaded? I only need to turn this off on this one page and...more >>

Help in repeater
Posted by Prakash at 10/15/2003 3:32:40 AM
Hi, I have a repeater control for bind data from databse. Using table with in this control, I am displaying data. <# DataBinder.Eval(Container.DataItem, "Name") %> I need to check a particular column for null when It display. if it is null, then it will not be display in ...more >>

How to convert JPEG image into a binary data?
Posted by Lucas Cowald at 10/15/2003 1:52:34 AM
Hi, Using ASP and VBScript. How to convert JPEG image into a binary data? Is it possible with a command from ASP / VBScript without having to put it into a database first? I want to take the JPEG image from a folder, convert it into a binary data, and stream it to the browser. How can I do ...more >>


DevelopmentNow Blog