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 > february 2006 > threads for february 1 - 7, 2006

Filter by week: 1 2 3 4

Treeview update on postback
Posted by thampw NO[at]SPAM hotmail.com at 2/7/2006 8:06:46 PM
Hi, I'm just wondering how could I update the Treeview (populated dynamically from the database) when I change an input value to the queries populating the Treeview on a textbox. Currently, I've set the textbox to autopostback = true, but the Treeview is not updated correctly when the data ...more >>

CheckBox in repeater
Posted by Søren Reinke at 2/7/2006 4:50:12 PM
Hi there I have a little problem. I am using a repeater to list a number of items from a soap service. For each item it should be possible to check a checkbox. My problem is, how can i get the state of each checkbox ? When the user clicks my next button ? Everything is in a multiple s...more >>

asp:treeview, expand, index of node
Posted by sean.drexler NO[at]SPAM gmail.com at 2/7/2006 4:02:31 PM
I am trying to figure out how to capture the index or a reference to a asp:treeview node in asp.net 2.0 when the node is expanded. It appears that the sender object for the event handler is the treeview control. The problem is that a node being expanded or collapsed does not set the selectedNod...more >>

VS2005 ASP.NET Gridview cells
Posted by ruf at 2/7/2006 1:40:18 PM
I'm trying to create an Excel-type filter option on the gridview control, so need to be able to identify which row/column combination the user clicked. I can only get a full row at a time, not the individual column ref within the row. Anybody know whether this is possible in the gridview, or ...more >>

Newb...Treeview in asp
Posted by Randy at 2/7/2006 8:54:35 AM
Hello, Sorry for the Newb question...but I've got an aspx form and I'm trying to find the Treeview object to put in my form, but I'm not seeing it on the Toolbox. Do I have to add it as an available tool? Thanks ...more >>

Dynamic Control Positioning
Posted by mkhmer at 2/7/2006 12:00:00 AM
I wanna create a batch of control at runtime and put them all in an increamental top-down locaiton by detecting the previous Control's "TOP" and "Height" property to generate new position for the next control...... But what's seem to be crazy is how can I get that "Height" value? since the ...more >>

Defining a ControlParameter of type DateTime for a DataSource
Posted by Jeronimo Bertran at 2/6/2006 4:17:22 PM
I created a DatePicker control that inherits from a textBox. I have defined an InnerDefaultProperty of type DateTime for the control as follows: [Bindable(true)] [Category("Appearance")] [DefaultValue("")] [Description("Date input area")] [PersistenceMode(PersistenceMode.Inner...more >>

Child control designers
Posted by Allan Ebdrup at 2/6/2006 4:14:42 PM
I have a custom control, that has several templates (one named Wizard) in it and I'm trying to develop a ControlDesigner for my control, I've overridden GetDesignTimeHtml in my Control Designer, and I check that my template is set and render it at design time using the code: public overrid...more >>



Error:Unable to cast object of type 'OFiR.Web.Controls.ContainerControl' to type 'OFiR.Web.Controls.ContainerControl'.
Posted by Allan Ebdrup at 2/6/2006 1:12:39 PM
I'm trying to create a ControlDesigner for my custom component, In GetDesignTimeHtml I try to call RenderControl() on the control I'm designing, However when I try to cast the ControlDesigner.Component attribute to my Component (called ContainerControl) I get the error: Unable to cast objec...more >>

ServerControl With URL Property to open a dialog box not working
Posted by MSDN at 2/6/2006 12:32:11 PM
Hello, I created a server control that has a Path property. Now I'm adding the path by typing it. I would like to add that thing with (...) three dots, I forgot what it is called, so when you click on it opens a Dialog box so you can navigate to the Path instead off typing it. To see what ...more >>

Making ASP.NET 2.0 asp:Wizard control fully Navigatable without mo
Posted by JeffDotNet at 2/6/2006 7:51:28 AM
*Default to Next Button: Is there a good way to have the asp:wizard navigation control default to the next button instead of the previous button? I need my wizard to be navigatable without a mouse. I have set the tab index but unfortunetly the previous button will still appear highl...more >>

InsertItemTemplate dependant dropdown list problem
Posted by dhizzy at 2/6/2006 6:27:53 AM
am trying to create a drop down list that is dependent on another dropdown list value inside a formview control. I have seen this site http://www.webswapp.com/codesamples/aspnet20/dependentlists/default.aspx but I am unable to get it working. The only things that I have different is...more >>

Disable Validator through Client-Site code
Posted by Axel Dahmen at 2/6/2006 1:45:37 AM
Hi, I'm using a RangeValidator on a text input field to make sure that a date entered in there is in the future. On my form there is also a DropDownList control. I now want to disable the text box's RangeValidator when the user selects a particular item from the drop-down list. Using Aut...more >>

System.Web.UI.Design namespace not found
Posted by Allan Ebdrup at 2/6/2006 12:00:00 AM
I'm trying to impelent a design time control for my webcontrol like described here: http://msdn2.microsoft.com/system.web.ui.design.containercontroldesigner.aspx However the using statements: using System.Web.UI.Design; using System.Web.UI.Design.WebControls; Give the error: "The type or ...more >>

Custom Controls with UI Designer
Posted by Komil at 2/4/2006 8:50:05 PM
Can someone point me to some tutorials regarding how to create custom controls that can contain its own child controls? I did a bit of searching on the net and found some references to CompositeControlDesigner class, but did not find much information regarding the process. I would like t...more >>

Custom Datagrid not displaying
Posted by ryan.d.rembaum NO[at]SPAM kp.org at 2/3/2006 12:22:32 PM
I am attempting to create a custom datagrid that inherits from the DATAGRID. My code is below: Imports System Imports System.Data.SqlClient Imports System.Data Imports System.Web Imports System.Web.Security Imports System.ComponentModel Imports System.Web.UI Imports System.Web.UI.WebCont...more >>

Reading / Modifying FormView Child Controls at Runtime
Posted by Scott at Cedar Creek at 2/3/2006 12:00:42 PM
Please excuse me for reposting, I am not sure I correctly articulated what I am trying to do in my last post. I have created a FormView with lots of label controls. Depending on certain other values obtained at runtime, I want to color-code a label inside the form-view. For example, if th...more >>

TreeView with custom HierarchicalDataSourceControl
Posted by Eamon Millman at 2/3/2006 9:17:28 AM
Greetings, I'm fairly new to the new ASP.NET 2.0 controls and I'm trying to get the TreeView control to display some non-xml/sitemap data I want to have in a tree format. To accomplish this I have followed the sample code provided on the MSDN website for writing a custom HierarchicalDat...more >>

DataGrid event handlers are being lost during re-compile
Posted by shamus.schubert NO[at]SPAM wachovia.com at 2/3/2006 5:35:02 AM
This seems to happen too often (more than once). By 'rebuilding' the web application (using Visual Studio.NET 2003, v1.1) and making no changes whatsoever to a particular DataGrid (that I am aware of), the ItemDataBound, DeleteCommand, etc. event handlers just 'unhook' themselves and no longer...more >>

how to mention the date range in the calendar control
Posted by Prabhakar at 2/3/2006 3:20:32 AM
Is there a way to specify that the calendar control should display days between the date range (start date - end date) specified? Start date and end date could either be in the previous month or the next month....more >>

Telling weither the control is in design time or on a web page
Posted by GregO at 2/3/2006 12:00:00 AM
Hello, I have a web control and I want to render it differnetly when it is in design mode as aposed to when it is on a web page. How do I tell when it is in the different mode? Any help would be good Kind regards Greg ...more >>

How do I reference or change formview child controls in code?
Posted by Scott at Cedar Creek at 2/2/2006 12:50:30 PM
I have a FormView control (which, by the way, is VERY cool) that contains a bunch of controls inside it. One of them is a label called "Status". I would like this label to be one of several colors, depending on its value. I was going to set up a "SELECT CASE" in my Page_Load code, but I can...more >>

Calendar control question
Posted by Paul at 2/2/2006 10:56:17 AM
Hi I have a calendar control with a web application and when the page loads I have the selected value set to a date returned from a database. Anyhow I noticed it still shows the current month even if the date is in a previous month. Just wondering how to have it go to the month of the selec...more >>

AxWebBrowser & POSTing forms
Posted by amirabr NO[at]SPAM gmail.com at 2/2/2006 9:04:04 AM
Hi there, I've seen that there are some pretty smart people around here, and I could really use some help. I have a winform with an AxWebBrowser control, and a button. I have to post a certain form in a webpage within the AxWebBrowser, that is send in the POST method. I've been looking for a g...more >>

Menu Control - SubItem Shadows
Posted by FlyFishGuy at 2/1/2006 7:03:19 PM
I have searched the planet and I have explored every property of the menu control and I can't seem to find anywhere how to control this. I have added a menu control to my master page and when I hover over the primary entries, the secondary menu items have a shadow that appears, offset to th...more >>

disabling back button of window
Posted by Vani Donthula at 2/1/2006 6:40:16 PM
Hi In my web application,in one of the page where I need to disable the back button of the toolbar. Suggestions on this are welcome. Thanks, Vani. ...more >>

treeview asp.net 2.0
Posted by Jasmine at 2/1/2006 6:36:29 PM
Hi, Is there way to know how many nodes have been checked total in the tree view from the client side (java script)? Thanks, Jasmine...more >>

Gridview hypterlink colomn to popup a new window
Posted by Jasmine at 2/1/2006 6:36:27 PM
Hi, I added the script in the gridview hyperlink colomn for " DataNavigateUrlFormatString = "javascript: var w= ...", but once I added javascript here instead of " DataNavigateUrlFormatString ='mypopwin.aspx?ID={0}' ", the hyperlink text lost hyperlink, becomes regular text, which means I c...more >>

asp.net 2.0 treeview control - very slow
Posted by Doug Salomon at 2/1/2006 11:11:36 AM
I've been playing around with the treeview control, and I'm finding that it displays extremely slowly in Internet Explorer. I've been checking my work in IE 6 and 7 beta2 and in Firefox 1.5. Firefox is fast enough, but IE is unreasonably slow. My page builds the tree in code. It adds four t...more >>

Any Help on TabStrip Control??
Posted by Tina at 2/1/2006 9:59:10 AM
This tabstrip control has strange behavior. If any border is applied to the tabs they all appear in as though they are in a div with both horizontal and vertical scroll bars. Does anyone know how to defeat this behavior? thanks, T ...more >>

Flickering imagebutton with smartnavigation on
Posted by Juergen Theis at 2/1/2006 8:53:06 AM
Hi, everyone We have an aspx page with an imagebutton on it. Each time the button is clicked an image is generated on server side and sent back as an image stream to the client. Therefor we are using another simple aspx page, which is set as source for the imagebutton. The following snippet sh...more >>

Page.Title property problem...
Posted by Yaroslav at 2/1/2006 6:42:32 AM
Hi! I'm trying to change the title of the page on the server side on every postback by setting Page.Title property. The page was open from client side via "window.showModalDialog()" call. So there is a <BASE target="_self" /> in the html code of the page. Now i trying to do postback on th...more >>

DataGrid not responding to Update/Cancel click
Posted by andrew.roberts NO[at]SPAM poundland.co.uk at 2/1/2006 3:39:26 AM
Hope someone can help with this, its starting to send me over the edge! I have a datagrid which when I click on the Edit button puts the grid into the editable mode and changes the text property of a label to 'Edit'. However when I click on the Update or Cancel buttons that have appreared on t...more >>


DevelopmentNow Blog