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 > may 2007

Filter by week: 1 2 3 4 5

gridview objectDataSet BusinessLayer
Posted by Richard Roche at 5/31/2007 11:44:01 PM
My business object populates the gridview, but i'm having difficulty programatically drilling in and changing the headertext at runtime (I need to change the language of the column heading based on the client). In the gridview object the column collection is empty, count = 0. Why? Do i need...more >>


Scheduling Component Recommendation Wanted
Posted by SuzyQ at 5/30/2007 3:48:49 PM
I need to write a page that allows users to schedule conference rooms. This page will have multiple conference rooms across the top of the page. I am seeking information on how to write this myself. Otherwise if I should buy a component which one should I get? This would be the only custom...more >>

Design Guidance Wanted
Posted by Rusty Hill at 5/30/2007 12:25:08 PM
In ASP.net 2.0 I need to create a scheduling page that allows my users to book/schedule/reserve six different surgery rooms. What the design calls for is one screen that has the daily schedule on the vertical axis and across the top on a horizontal axis the six different surgery rooms are r...more >>

How to add a row into GridView?
Posted by Polaris at 5/30/2007 12:00:58 PM
Hi Experts: I'm using asp.net 2.0 with Visual Studio 2005. I'm trying to use the GridView to display data. I need to programmatically add rows into the GridView. So far could not find a way to do it. I appreciate it if any one can show a piece of code doing that. Thanks in advanc...more >>

Dynamically adding multiple instances of same user control
Posted by santoshp at 5/29/2007 11:02:57 PM
Hi, I have a user control(CUC).On my web page (that uses this control) I have a button and a panel. On each click of the button I want to add my user control as child of the panel control. Is there a way to do this? Any ideas? Thanks....more >>

Gridview: no built-in add/insert !?
Posted by Rick at 5/29/2007 10:37:10 PM
Hi, I don't have hands on experience in ASP .NET but have been assigned to a web application, and I'm learning in the school of hard knocks. How comes GridView has no support for adding/inserting new records, when this is a routine task for any application? In the eighties almost any product ...more >>

Menu on User Control
Posted by Chris Davoli at 5/29/2007 9:20:01 AM
I put a menu on a user control (ascx) so that I can put the user control on all web pages (aspx) and have one central location ie; the header user control in this case, but it has problems. 1.) It can't find the stylesheet even though the style sheet is on the web page. 2.) After the first...more >>

Postback Query
Posted by Tim at 5/26/2007 5:21:14 PM
Being relativly new to ASP.NET, what is the stratagy for populating a combo box, but not have the whole page refresh? ie. if a user selects one value from one box, then another one gets populated based on it value. (Like when a make of car is selected, then the models for that make are retrei...more >>



How to add a "Please Wait..." message when populating a TreeView
Posted by jeeji at 5/26/2007 12:13:10 PM
Hi I have a web application which has a TreeView control from the ASP WebControls namespace. The creation of the TreeView is coded in C#. For some of the nodes, I have set the property PopulateOnDemand, since this is a time consuming operation, and not all nodes should be populated. But wh...more >>

The Menu Control in ASP.NET 2.0 ?
Posted by Polaris at 5/26/2007 9:12:37 AM
Hi Experts: I'm using Visual Studio 2005 with ASP.Net 2.0 and trying to use the Menu control comes with the ToolBox. I noticed that when the menu pops up, it goes under the other constrols and could not be clicked or selected. The order that the Menu control is used did not make difference;...more >>

Formview Sycn
Posted by john at 5/25/2007 6:08:40 PM
Is there a basic method to sync the current formview record to Gridview selection? Thanks, John ...more >>

GetCellValue for Visual Baisc?
Posted by jonefer at 5/24/2007 10:55:01 PM
I found this excellent article of Formatting AutoGenerateColumns in ASP.NET Grid - The code project written in C# I converted it into Visual Basic for my project But it says that GetCellValue needs to be declared Here's the code with the GetCellValue method private void GV_RowDataBound...more >>

store external javascript files in aspnet_client subfolder
Posted by deepblu NO[at]SPAM gmail.com at 5/24/2007 2:19:45 PM
I'm building a composite control for ASP.NET 1.1 that relies on external javascript (.js) files. I've noticed the Microsoft custom web controls make use of the C:\Inetpub\wwwroot\aspnet_client subfolder to store common javascript files and other include common files. I've also noticed some third...more >>

asp:calendar - local language?
Posted by Henrik Stidsen at 5/24/2007 1:09:56 PM
I'm trying to chance the language (monthnames, daynames) in an <asp:calendar> control. I can't find any settings to do this - isn't it possible?...more >>

updating values in gridview
Posted by Larisa Fak at 5/23/2007 12:21:18 PM
Hi! I am building website scheduling application in Visual Studio. I have a gridview that displays hour wages and depending of dropdown selection of type (holiday, regular, etc... ) should be changed actual hourly wages. <asp:SqlDataSource ID="SqlDataSource1" runat="server" Connectio...more >>

Read value from a Textbox in a grid view.
Posted by Felix Wafytech at 5/23/2007 12:00:00 AM
Hello, I have a grid view with a template column and a button column. This template field contains a textbox in the Item Template tab. Entering a value in the text box and clicking on the button in that row should retrieve the value entered and insert it into another gridview. The problem here...more >>

Login Control PasswordRecoveryURL Issue
Posted by Rusty Hill at 5/22/2007 4:41:54 PM
I am using the ASP.NET 2.0 Login control and have provided a valid URL for the PasswordRecoveryURL property. However when the hyperlink is selected the login page continues to be displayed. The URL I start with at the login page is this: http://localhost:1123/MyBox/Unsecured/Login.aspx?Re...more >>

How to Set Styles for asp:Hyperlink
Posted by AAOM Tim at 5/22/2007 12:29:00 AM
I am trying to set the link visited, hover, active styles for the asp:Hyperlink control using either a CSS file or a Theme skin file and am having no success. Can anyone provide an example? Thank you. -- Tim Meagher...more >>

Need info on embedding Windows Forms controls with managed C++ assemblies
Posted by Ken Varn at 5/21/2007 12:54:41 PM
I don't know if this is the right group for this or not, but I am looking for the best resources that are out there on how to embed Windows Forms User Controls in a web page. I have found various sporadic articles here and there, but the details are not always adequate enough. Any info on bo...more >>

The DetailsView 'dv' fired event ItemUpdating which wasn't handled.
Posted by Trapulo at 5/18/2007 6:25:11 PM
I've a detailsView: when I click on "update" button, I've this error. First time I have this problem. This is my dv declaration: <asp:DetailsView ID="dv" runat="server" AutoGenerateRows="False" DataKeyNames="ID" EnableViewState="False" Height="50px" Width="100%"> I also have a similar ...more >>

Autopostback dropdownlists...
Posted by Dan Bass at 5/18/2007 3:46:45 AM
Greetings! I've two dropdownlists where each has its own sqldatasource object as a datasource. The first, for example, contains a list of car manufacturers... BMW, Audi, Peugeot, Ford, etc... The second then changes to the viable models based on the selection of the first dropdown sele...more >>

Repost - Menu on user control
Posted by Chris Davoli at 5/17/2007 8:41:01 AM
I put a menu on a user control (ascx) so that I can put the user control on all web pages (aspx) and have one central location ie; the header user control in this case, but it has problems. 1.) After the first submit of the page, if you mouse over the top level menu item, they don't collapse...more >>

.Net applet security question.
Posted by genc ymeri at 5/17/2007 8:34:00 AM
Hi, I'm planning to build a dotnet applet which will download a file from a webservice, save it in the local disk, editing and then upload it back in the server side. I was doing a test to access local directories and files from a .Net applet but I couldn't. How can I resolve this ? -...more >>

Problem with custom web control imagebutton event and textbox viewstate
Posted by Koen at 5/17/2007 3:54:14 AM
Hi, I'm struggling with a web custom control, i've searched on the forums and tried a lot several stuff but without any luck. I have a webcontrol with a gridview and above a search textbox and imagebutton. The gridview keeps its viewstate, but the textbox does not. Also the search imagebut...more >>

CustomValidator browser back button problem
Posted by Igor at 5/16/2007 12:10:02 PM
Hi, We have problem with custom validator. We have a page with a dropdown and a textbox. We use only server validation. 1. the user types a wrong value, the navigator displays an error message. 2. then the user types a correct value, validation is ok and we redirect the client to next pag...more >>

Question about RepeaterItem
Posted by TT at 5/15/2007 2:21:37 PM
Hi, I have a repeater (rpt1) in my website, and I want to read all the data when button (btnSubmit) click. There is one thing that I don't understand. When I add "For each item in rpt1.items" in btnSubmit_click, the item count of rpt1 will become to 0. But if I add "For each item in rpt1.items...more >>

OnTextChanged not working
Posted by kj at 5/15/2007 8:10:35 AM
Please bare with me, I am very new to ASP. Basically I have created a program that displays 2 textboxes and 2 buttons. The first button displays a file chooser window to allow the user to select a file. This then populates textbox1 on the form. However, I was trying to create a change event...more >>

Need to Bind Database value to Drop Down List in GridView
Posted by bjkaledas at 5/14/2007 1:13:01 PM
Hello, I have the following code: <asp:TemplateField HeaderText="Ship Date"> <ItemTemplate> <asp:DropDownList id="ddlShipDate" Runat="Server" SelectedValue='<%# GetShipDate(Eval("SHIPDATE")) %>' AppendDataBoundItems="True" Font-Size="8pt"> <asp:ListItem Value="None">None<...more >>

Generics Paging
Posted by Toly at 5/14/2007 8:10:00 AM
I have a question.... I bind to datagrid list of (object), and I need to page this datagrid.... I would like to know if I could add paging to datagrid without using dataview? Thanks!...more >>

rotating picures on the fly
Posted by JimO at 5/12/2007 11:57:20 PM
Is there a way in vb.net to, 1) detect if an image has been taken with a camera on a vertical axis, and 2) rotate the picture for display - on an intranet, with huge files sizes (2 - 3 MB), that doesn't take too long? (LOL) Thanks, Jim ...more >>

MasterPage, UserControl and Webform
Posted by kirkski at 5/12/2007 1:20:25 AM
The layout of my site is as follows: I've a MasterPage that contains a UserControl and attached to the MasterPage is webforms that contain the sites content. My porblem is how to access the UserControl on the MasterPage from within the Web Forms. I can access it no problem from the MasterPag...more >>

Visual Studio isn't generating the Code Gen file (*.designer.vb)
Posted by Nathan Sokalski at 5/12/2007 12:45:48 AM
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them in code that I write in the *.aspx.vb and *.ascx.vb files. Why is it no longer automatically d...more >>

Changing scrollbear color of the windows common controls
Posted by KAAJ at 5/11/2007 10:57:00 PM
Could any one let me know whether it is feasible to change scroll bar color of windows common controls ( eg, List box, dropdown menu, <Input...> tag ect), when those are inserted in a web page designed using visual studio.net 2005/2003. Thanks, KAAJ ...more >>

Horizontal Menus & SiteMaps
Posted by A_Republican at 5/11/2007 3:30:00 PM
I'm probably looking over something simple, but I can not get my menu control to display properly. My source is the site map, which is similiar to this hierarchy: default >Static Element 1 >>Child Element >>Child Element >>Child Element >Static Element 2 >Static Element 3 >Static Elemen...more >>

Treeview node target
Posted by Madison at 5/11/2007 8:39:02 AM
Hello; I'm working with treeveiw control for framework 2.0, the treeview have parent, child and grandchild. if user click on grandchild, I want to display informtion in the right frame in the same page as treeview familar to this MSDN newsgroups. How do I handle this event? I try to use fra...more >>

Menu on User Control
Posted by Chris Davoli at 5/11/2007 7:56:01 AM
I put a menu on a user control (ascx) so that I can put the user control on all web pages (aspx) and have one central location ie; the header user control in this case, but it has problems. 1.) It can't find the stylesheet even though the style sheet is on the web page. 2.) After the first...more >>

How to determine TreeView SelectedNode relative position
Posted by pardesiya at 5/10/2007 9:56:48 PM
Hello Folks, I have an asp TreeView which I populate at runtime. When I click on a node, I want to know what is the position of the selected node under it's parent (i.e. position relative to it's siblings). I tried MyTreeView.SelectedNode.Index but get the error: 'System.Web.UI.WebControls....more >>

<select> <option> an element in DOM ?
Posted by John Grandy at 5/10/2007 6:36:45 PM
For an html <select> control , does the browser store each <option> as a separate element in the DOM tree ? Or are the select options stored in some other manner ? ...more >>

Event not firing. User control with a repeater that contains a bu
Posted by Jerry C at 5/9/2007 5:08:01 PM
I have a user control with a repeater that has buttons in the items. This control itself is added dynamically in a multiview view in another user control kind of like this. page usercontrol multiview view usercontrol ...more >>

_I_don’t_show_the_header?
Posted by Dave at 5/8/2007 9:11:00 AM
How do I set the column width if I don’t show the header? Example: I set the column width with the following code: <asp:TemplateColumn> <HeaderStyle Width="175px"></HeaderStyle> <ItemStyle></ItemStyle> <ItemTemplate> … Width of column is 175p...more >>

Multiple User Controls
Posted by Steven Clark at 5/6/2007 2:37:44 AM
Hi Hope someone can help. I wish to use the same user control, twice on the one page but everytime I do it things go wrong. This control is my own custom version of the ad-rotator which query's a database to return a random image. The control has 3 public properties... height, width ...more >>

How to bind a textbox to a data source
Posted by Fred at 5/4/2007 7:27:07 AM
The problem is that, in VS2003 using web forms, the text control had a property - "Databinding" that simplified connecting the control to a datasource. It could be done visually during design and was very simple to modify. In VS2005, I want to do the same thing: I want to add a textbox to a f...more >>

Problem with Hyperlink to text files
Posted by Shaheen.Pisces NO[at]SPAM gmail.com at 5/3/2007 1:41:28 PM
Hello i'm displaying the searched file names in data list. i want ti make the filenames as hyperlink ...i wrote the following code ================================================== <asp:Hyperlink NavigateURL='<%# DataBinder.Eval(Container.DataItem, "link.Navigate...more >>

subject
Posted by viki at 5/3/2007 6:30:38 AM
hi all, In my asp.net application am using validtion summary,i have set the Properties Show message box="true" Show summary="false" means its shows error in message box,its working fine in IE,its not working in Mozilla firefox. i checked the popup property of mozilla firefox,its not block...more >>

asp.net ajac and cacheRolesInCookie
Posted by Trapulo at 5/2/2007 11:58:58 AM
After I upgraded to RTM of ASP.NET Ajax, my application cannot work with "true" setting here: <roleManager cacheRolesInCookie="true" I may set it to "false". With RC1 it worked well. Is this any bug, or is there any way to solve this? thanks ...more >>

asp:Menu, DynamicItemTemplate and formating text
Posted by Jerry C at 5/2/2007 8:10:02 AM
I am working with a asp:menu the NavigateURL is blank I want the menu to postback . I am using the DynamicItemTemplate. The simple form for the template is <DynamicItemTemplate> <b><%# Eval("Text") %></b> <br /> <%#Eval("ToolTip")%> </DynamicItemTemplate> and it look like thi...more >>

asp:menu control and underline on menuitem text
Posted by Jerry C at 5/1/2007 12:43:01 PM
I am using a asp:menu control as a dropdown menu. the NavigateURL is blank. I do not want the text in the menuitems to be underlined. I have set all the underline properties to false and still the text is underlined like it was a link. How can I get rid of the underline. Thank you -- Je...more >>


DevelopmentNow Blog