Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Adding Access keys to menu items in the Menu control
Mike Tavares - 23 Dec 2005 6:05 PM - 3 messages
Could someone point me in the right direction as to how I could go about adding an access key to each menu item within the new menu control? Currently it appears that the access key can only be assigned to the control ...
Score Repeater Grouping
Digit24 - 23 Dec 2005 9:23 AM - 2 messages
Hi I have a repeater section on the page, but want to be able to group results by a particular field and give each group a heading. Any ideas how this can be done? ...
Score extended Label webcontrol, doesn't populate it's children ??
KK - 23 Dec 2005 2:28 AM - 2 messages
Hi, I am extending couple of existing controls in ASP.NET like LinkButton, Label, TextBox etc.. I require these controls to contain a child control of MyControlType so ideally in HTML view for a label <asp:Label id="" [other properties...] > ...
Score GridView: Update is just not working for me
beaudetious - 22 Dec 2005 8:23 PM - 3 messages
Can an eagle eye help me fix whatever is causing me pain here?  When I click the update command button, the page refreshes but the new values do not make it to the database or back into the gridview. ...
Score Wizard Control and IsPostBack
rdlauer - 22 Dec 2005 8:17 PM - 3 messages
I'm in a catch-22 with a wizard control and wonder if anyone has any ideas: It appears as though every time you load a wizard control step, you are doing a postback, which makes sense. That causes problems, though, when ...
Score Styling DetailView or FormView
Larry Charlton - 22 Dec 2005 1:30 PM - 3 messages
Does anyone have sites or references on applying layout and style to DetailView and/or FormView controls? It just seems like microsoft made these a bit rough to apply style sheets to.  DetailView you can apply a style to the label, but to format the data ...
Score Click event handler not called on dynamically create image button
rh.krish - 22 Dec 2005 5:50 AM - 2 messages
Hi,     I'm have a web form where I generate templates dynamically based on the user input. When the user clicks the 'create' button I create a row dynamically and create an ImageButton dynamically in that row. I also ...
Score Event Sequence
Axel Dahmen - 22 Dec 2005 3:57 AM - 6 messages
Hi, in ASP.NET control events are being fired *after* the Page_Load event. I need it the other way around. Is this possible? Here's my example (just pseudo code):   Page_Load()   {     DataGrid.DataSource="...";     DataGrid.DataBind(); ...
Score How to determine the "state" of a GridView
Roberto Kohler - 22 Dec 2005 3:49 AM - 2 messages
How can I tell if the grid is showing me the "edit command button" or the "update command button" I need to figure out a way for an event handler to know the "state" of a gridview. I want the ENTER key to do one thing if I am in "edit mode", and another ...
Score ReportViewer/ObjectDataSource Problem
Houston Lucifer - 22 Dec 2005 1:59 AM - 6 messages
I have a report viewer on my webpage and it is linked to an objectdatasource. The parameter is a control on the form (Dropdownlist). But, when i change the selection in the dropdownlist and click the go button (on the web page), the ...
Score Web Control Positioning
Joe90 - 21 Dec 2005 4:39 PM - 2 messages
I need to set the location of a popup window to cover a dynamically postioned control. Setting the position on the popup is no problem, but how do I get the position of the dynamic control ? Any help appreciated Joe90 ...
Score THEAD
Arne - 21 Dec 2005 4:34 PM - 5 messages
ASP.net can create HTML tables with Datagrid and Table controls. Is there an ASP.net control that allows me to build an HTML table with a THEAD row? ...
Score objectdatasource.update() fires System.InvalidOperationException
Markus - 21 Dec 2005 3:54 PM - 3 messages
hello, we have a strange error message here: I've written a small detail sample page, where I can update one reocrd with an objectdatasource control and the detailsview control. the objectdatasource.confictdetection is set to 'CompareAllValues'. The Updatemethod is UpdateXY and I've set two updateparameters classX and ...
Score DropDownList not giving the selected item when a Button is clicked... please help newbie...
Julius Mong - 21 Dec 2005 9:56 AM - 3 messages
Hi dear experts, I'm new to ASP.NET and am having a hard time trying to make this work :( I have a ddl which contains 2 or more items (populated by code) and a submit asp:button that I'd want when clicked simply sends the ddl's selected item's ...
Score Quick/Embarrasing Form Submission Question
Jeff - 21 Dec 2005 3:34 AM - 2 messages
I have a form that is passed to a subroutine when a button is pressed via the button's 'onClick' property. That works peachy. However, while testing I submited the form by hitting enter instead of pressing the button. In this situation, the subroutine isnt called and nothing is ...
Score Hide SideBar of Wizard Control
James Bond - 20 Dec 2005 11:08 PM - 2 messages
Hi all, Has anyone tried to hide the SideBar of wizard control.  I was reading Dino Esposito's book on ASP.NET 2.0 and found that this optional panel can be hidden by setting SideBarEnabled property.  But looking through the SDK - I ...
Score Better tool for selection - Datagrid or DataList?
jonefer - 20 Dec 2005 8:45 PM - 2 messages
After the user searches and is presented with a list of results - which is the better tool for clicking to get a "details" page...? If it is the DataGrid, how do I recoginize selection? (Doesn't highlight when clicked) If it is the DataList, I'm having problems with the same record repeating ...
Score Required field validator
Chris Davoli - 20 Dec 2005 8:16 PM - 2 messages
VB.Net -  I've got a drop down where the first item says "Please Select" in the text of the drop down and 0 as the value for that item. I've also got a text box that after you select the drop down item, there needs to be a value ...
Score GridView Multi Select ?
brianpmccullough - 20 Dec 2005 3:45 PM - 4 messages
hello, I have just started playing with the GridView (Web Forms) control in ASP.NET 2.0.  I have an application that I would like to use the GridView to select multiple rows by simply clicking on the row, much like you can with a ListBox. ...
Score Viewing Composite Controls at Design Time
Jeffrey Jones - 20 Dec 2005 3:14 PM - 3 messages
Hello All, I have created a composite control consisting of a checkbox, label, htmlfileinput, button and hyperlink controls. I have compiled my control and, after doing that, created a project so that I could attempt to see how my control operates. ...
Score Button Click event not firing
carentrica - 20 Dec 2005 12:14 PM - 4 messages
For some reason, my "testButton_Click()" event handler is not being called when testButton is clicked. This Button and a Label are the only controls on a Web UserControl which is loaded and displayed in the main document. When the button is clicked, a ...
Score Custom type converter
KK - 20 Dec 2005 11:29 AM - 2 messages
Hi For the server control I am developing, there is a property which I want to show a list. The content of the list is a subset of Properties available in the control itself. For example my control has Property1 ...
Score Table - no ViewState
Brayan__ - 20 Dec 2005 10:31 AM - 3 messages
I just learn that there is no ViewState for System.Web.UI.WebControls.Table   :eek: I'm mad cos I need it  :mad: Table control has a property EnableViewState but it isn't working! Why ?  :confused: ...
Score How to filter file types when using the HTMLInputFile control...
Asela Gunawardena - 20 Dec 2005 9:33 AM - 3 messages
On my Web Servers, I don't want to allow visitors to upload executables. There are many types of files that i want to ignore (for instance: exe,dll, bat, cmd .etc). I have an ASPX page with an HTMLInputFile control which ...
Score Bound dropdownlist in .NET 2.0 -- picking the selected value?
anyeone - 19 Dec 2005 10:35 PM - 7 messages
I'm finding articles all over the place saying how to bind a dropdownlist to an objectdatasource or sqldatasource in .NET 2.0/VS2005 but nothing that says how to get the selected value from another datasource. Here's the scenario. ...
Score master-pages: naming problem for client-side scripting
Roberto Kohler - 19 Dec 2005 9:24 PM - 4 messages
ASP.NET renames Textboxes and other controls in aspx files that use master-pages ? I've discovered that aspx files that use master-pages have their Textboxes and other controls renamed before they are rendered.  For example I have an ...
Score referencing and anchor from within a usercontrol (ascx)
gary - 19 Dec 2005 9:21 PM - 2 messages
Hi, I am trying to reference an anchor in a user control with a url.  This worked in 1.1 but no longer works in 2.0. The ascx control is located in a "/include" folder If you have a hyperlink control and you assign the navigateurl property = ...
Score referencing and anchor from within a usercontrol (ascx)
gary - 19 Dec 2005 9:21 PM - 2 messages
Hi, I am trying to reference an anchor in a user control with a url.  This worked in 1.1 but no longer works in 2.0. The ascx control is located in a "/include" folder If you have a hyperlink control and you assign the navigateurl property = ...
Score How to reference the masterpage body element in server code
Roberto Kohler - 19 Dec 2005 6:30 PM - 6 messages
How do I reference the masterpage body element in ASP.NET 2.0 server code ? I tried the following, but I get the error "hgcMasterBody is not a member of System.Web.UI.MasterPage" In the Master Page: <body id="hgcMasterBody" runat="server"> ...
Score I don't get it...Crystal Reports
Eric - 19 Dec 2005 5:06 PM - 2 messages
Please help me with this, I'm stuck... I have a dataset with two tables. This dataset is created when the user of this webapp fills in the information and unique for each user. The first table has all the information about the user, i.e. name, number... ...
Score Repeater.Itemcommand not firing
ilovreko - 19 Dec 2005 2:12 PM - 6 messages
I have a problem with ItemCommand event - it just wont fire. I've been looking for a solution but couldn't find any that works for me. Here's the code I'm using: -- .aspx .... <asp:Repeater id="rptPostaPrim" runat="server"> ...
Score masterpages: body event handler
Roberto Kohler - 19 Dec 2005 1:39 PM - 7 messages
I am trying to add a body event handler to a page that uses a masterpage. I need to do something like: <body onkeydown="catchKeyPress(window.event.keyCode, window.event.srcElement);"> The problem is that when the page uses a masterpage, I can't add a <body> ...
Score <customErrors mode="Off"/> ERROR
Savas Ates - 19 Dec 2005 10:48 AM - 6 messages
I have a web application It works well in my local folder.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" ...
Score Textbox Select Text
Jim McGivney - 18 Dec 2005 4:55 PM - 2 messages
On an aspx page I have an asp:TextBox. I am able to give the textbox the focus when the page is loaded. I would like to be able to select (highlight) the contents of the textbox when it gets the focus, so that the user can type an entry to replace the ...
Score Membership roles question
John - 18 Dec 2005 1:52 PM - 3 messages
Hi I am using the login control with a custom membership provider. My question is; once the user has logged in how do I programmatically check what roles the user belongs to, to provide the user with the relevant features? ...
Score Walking thr DataReader
Lorenzo - 18 Dec 2005 10:48 AM - 4 messages
Hello There, I have the following code that I need to optimize but I have somenthing that doesn't work quite as expected: I am doing the following:  I am coloring a calendar according to dates present in the DB yellow if the dates are present, blank for available ...
Next »