|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
Reading a public variable from a web user control
Vi -
14 Jan 2006 8:51 PM - 2 messages
Hi, I created a web user control that works fine to display some data. Now I want to be able to read a public int variable from the control, but I always get the value I'm innitilizing the variable with. Meaning I can't get the ...
Enabling/diusabling child controls
Summit -
14 Jan 2006 8:00 PM - 4 messages
Hi, I have got a child control within a parent control. If i disable my child control but enable my parent control , does it cause the pchild control to stay enabled? Example:- I have got a checkboxlist web control within a table control and I ...
Input fields are renamed with runat="server", how do I change it
jamessmb -
14 Jan 2006 7:48 PM - 4 messages
Hello, I have a webform which needs to post to PayPal. One of the elements is a hidden field which I am populating with a value from the URL. In order to do this, I have to use runat="server'. But when I do, ASP.NET will rename the ...
CreateChildControls() always returns default property values
Christophe Peillet -
14 Jan 2006 12:11 PM - 8 messages
I am trying to develop a composite control that renders in a specific layout, depending on the value of the custom LabelPosition property. The 'layout' of the rendered control will change depending on whether the value of LabelPosition is set to Left, Right, Top, or Bottom, as can be seen in the ...
button's OnClick event runs after page databinding...
Daves -
13 Jan 2006 9:05 PM - 5 messages
a GridView control iterates users in my database and below it there are search fields and Search button which applies filter expression to the SqlDataSource. The GridView is manually databound in the Page_Load event and I also persist this databinding since the GridView uses postback since it users paging and ...
detailsview,
TdarTdar -
13 Jan 2006 8:56 PM - 6 messages
Why would i get this error: Could not find a property named 'DBMANTransNumber' on the type specified by the DataObjectTypeName property in ObjectDataSource 'ObjectDataSource1'. Here what I am doing, I am using a dataset completly setup by the wizards under the app_code directory, I do a simple "Select * from ordershiprecord ...
Adding OnClick() to an asp:Table
Andrew Chalk -
13 Jan 2006 5:28 AM - 2 messages
I have an asp table to which I have added rows and cells. When the user clicks on one of the cells I want this to fire an event. OnClick() is not a standard event in a Table, TableRow or TableCell. How can I add support for ...
3-Tier Binding Problem ?????????
Dave Johnson -
13 Jan 2006 3:44 AM - 6 messages
In a 3-Tier application, once upon a while comes the need for binding objects or usercontrols from other objects, example binding a usercontrol in the Presentation layer from a Business Layer Object, My problem: I have a Dynamically Rendered WebUserControl that it needs some ...
Accessing Datagrid Cells on OnClick Postback
John Walker -
12 Jan 2006 9:22 PM - 2 messages
Hi, I have a datagrid which has a link button template column. In the 'on click' event of this link button - which does a postback - I need to reference the value of another control on the same row on which the link ...
Problem Retrieving Values from CheckboxList nested inside Datalist Control
Mike -
12 Jan 2006 5:15 PM - 2 messages
I have a Datalist control on my page that I have binded to a table of available categories. In the Item Template I have a CheckboxList control bound to the products available in each Category. I need to pull out of the ...
Where is the onclick event?
Daves -
12 Jan 2006 3:28 PM - 3 messages
where in the page cycle does a button's onclick event take place? How can I, in general, find out where control's events are situated in comparison with the standard init,load,databound... events in Page? ...
DataGrid dynamic columns / firing events
Abelardo Vacca -
12 Jan 2006 2:42 PM - 2 messages
Hello, I have a DataGrid with columns build dynamically, the grid supports sorting. I create the columns OnInit so the sort event will fire when the headers are clicked. All this works fine. Now, one requirement is for the user to have the option of selecting ...
Menu Control
Jay -
11 Jan 2006 8:27 PM - 7 messages
I have been experimenting with the new Menu control. When you define sub menu items an arrow automatically appears to the right to indicate that there are sub menu items. The problem is what when you define a horizontal ...
ObjectDataSource
doug -
11 Jan 2006 8:23 PM - 2 messages
Hello, I wish to use declarative datasources as much as possible. Using an ObjectDataSource makes sense in a few situations. I see that the TypeName is used to instantiate an object and methods are called, and parameter can be identified, and feed to the method. ...
How can I prevent a GridView from opening when the page is firstentered ?
Roberto Kohler -
11 Jan 2006 8:01 PM - 3 messages
How can I prevent a GridView/SQLDataSource from opening when the page is firstentered ? I want to wait until the user clicks a button to open the sqlSataSource and the grid. I want to do something like: If Page.IsPostBack Then ...
Listbox without vertical scrollbar?
SJ -
11 Jan 2006 5:00 PM - 2 messages
Is it possible to have a Listbox with no scrollbar? I have 3 items in my listbox, and I have the Rows property set to 3. It still shows me the scrollbar. Any way to get rid of the vertical ...
looking for a special kind of table control
Stephan Steiner -
11 Jan 2006 4:42 PM - 5 messages
Hi I'm wondering what you'd suggest on how to implement the following scenario: A table based date entry/editing having 5 columns. One is an SQL bound dropdown, another one a simple text item dropdown, the third one a numerical ...
Question on Submit all fields on a tabstrip that is using multipage
Keith McDonald -
11 Jan 2006 3:54 PM - 4 messages
I have a apsx page that contains three tabs. Each tab has several standard html fields for user input. On submission of the form, the fields are not being submitted.(Fields not on the tabstrip are submitted OK. Request.form("xxx") is blank for all of the fields on ...
Paging and Filtering in Gridview (.NET 2.0)
Bill Manring -
11 Jan 2006 3:31 PM - 4 messages
I am writing a very simple web application using VS 2005 and a SQL Server Database. I am just starting to experiment wth .NET 2.0 and I am trying out the supposedly improved databinding. I dragged a table from a datasource on to my web form and the GridView ...
Refreash DesignTime control.
Mike -
11 Jan 2006 2:01 PM - 3 messages
Hi. I want to refresh the design time control html when a property is changed. I've used NotifyParent(true) attribute but doesn't work. My control inherit from System.Web.UI.Control. How can i refresh DesignTime Control html? ...
XML Editor
Cosmin Spirescu -
11 Jan 2006 7:44 AM - 2 messages
Hi I have some XML files (created automatically from text files) and I need an XML in-browser editor to correct this files. This editor must do at least the following thinks: - it must be a plug-in or “something†to use in internet explorer ;) ...
The mystery of passing form values
Joseph Bergevin -
10 Jan 2006 10:20 PM - 2 messages
I have a login form on page A which needs to post its values to page B on a diferent server. Both pages are ASP.NET 2.0. How do I get the values back from the Request object? I assumed that if I had an asp:TextBox with an ID "username" in form A that ...
Control-level security
carlor -
10 Jan 2006 2:21 PM - 5 messages
Hi there, We are working on an application that requires security (authorization) to be applied down to the control level. There will be certain controls on pages that will only be available to certain groups of users as well as specific ...
Dynamically Add FilterExpression and FilterParameters
Mariela Donkova -
10 Jan 2006 1:27 PM - 2 messages
Hi everyone , How to add dynamically from code FilterExpression and FilterParameters. I have 5 dropdownlists and if some of them or all are enabled a would like to filter The ObjectDataSource. by SelectedValues of enabled ones. If all ...
Little green arrows
Ant -
10 Jan 2006 8:39 AM - 2 messages
Hello, Can anybody tell me what the little green arrows mean on the top left of controls? Thanks for your answers in advance. Ant ...
Gridview Column Length
VictorReinhart -
10 Jan 2006 5:42 AM - 2 messages
Hi, Is there a way to limit Gridview Column Length? It would be nice to limit the length to the length of the column in the database. Shouldn't that behaviour be built-in? For example, my "Comments" column is 30 characters long. But, once in ...
Highlight row in a gridview after formview insert
Feege -
9 Jan 2006 10:46 PM - 3 messages
I am using a formview to insert a new record into a gridview. After the insert is done, I want to highlight the new record. I have written some code to do this which is called on the "OnItemInserted" event on the formview ...
PublicKeyToken, GAC registering, and multiple developers??
Michael Howes -
9 Jan 2006 7:33 PM - 2 messages
Because of web server security issues we need to register a 3rd party control in the GAC. From my understanding once this happens, any page that references the control gets something like the following added. <%@ Register TagPrefix="jwg" Namespace="MyControl" Assembly="MyControl, ...
new menu control is very slow
lukerk -
9 Jan 2006 5:32 PM - 13 messages
I was wondering if anyone else found that the new ASP.NET Menu control had very slow responsivenes on complex pages. So I inserted this control in a WebControl, bound it to a siteMapDataSource, and applied a little logic (for roles...but of course we have in-house ...
ASP.Net 2 Two Way Binding and DateTime Format Problem
Ludovic DE FREITAS -
9 Jan 2006 4:11 PM - 2 messages
Hello, I have a ASP.Net page where I use the new two-way binding. Unfortunatly the Update have problem with DateTime format. I use a TextBox : <asp:TextBox runat="server" id="tbDate" Text='<%# Bind("MyDate","{0:dd/MM/yyyy}") %> ...
Use Enter as default key
Chris Zopers -
9 Jan 2006 2:25 PM - 3 messages
Hello, I've developed an ASP.NET page with some controls on it. One of the controls is an imagebutton. Can I assign the Enter-key to this button, so when a user presses the Enter key, the click-event will fire? I know ...
Discovering what event was raised
Piotr -
9 Jan 2006 10:27 AM - 2 messages
How Can I discover in Page_Load() that some event was raised (i.e. EditButton was clicked) ? Piotr ...
Blank page after selection
Chris Zopers -
9 Jan 2006 9:30 AM - 3 messages
Hello, I've developed an ASP.NET page with a dropdownlist and several textboxes. When the user selects an item from the dropdownlist, some data is retrieved from a database and displayed in the textboxes. The items that are in the dropdownlist are also retrieved from the ...
Changed property values not reflected in DesignMode
Christophe Peillet -
9 Jan 2006 9:10 AM - 7 messages
I am in the process of developing several custom controls that have validation and Ajax/Callback support built into them, and have finished most of the work, but have a stubborn problem when running in DesignMode. When I try to modify the value of certain properties, the Html code is ...
Strange Results From FillEllipse
Nathan Sokalski -
9 Jan 2006 6:41 AM - 2 messages
I am using ASP.NET to create a .gif file using the Bitmap and Graphics classes. My file will be made up of only ellipses of equal width and height, placed side by side (basically a grid of circles), created using the FillEllipse method of the Graphics class. However, my results created the following image (shown here in Windows Paint so you can see the individual pixels): ...
Hide Menu Items Based On Roles
beaudetious -
8 Jan 2006 6:36 AM - 4 messages
I'm using a Menu web control in an ASP.NET 2.0 web page and I'd populating it declaratively (sp?) in the web form itself. One of my menuitem's is only for admin users to use. I'd like to learn how to hide this menu item when an ...
|
|||||||||||||||||||||||