Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Repeat web controls in ASPX page
oSup - 16 Apr 2005 9:13 PM - 5 messages
Hi, I would like to create list of handled buttons with variable label within a code. Something like that: .... <body> <%   foreach (Information information in Informations) { %>   <!-- here will be a logic depending on the information - for example ...
Score Uncheck Checkboxes
Porgányi Géza - 16 Apr 2005 8:34 PM - 10 messages
Hi! I have a Datagrid with a Checkbox in a template column. The checkboxes are checked programatically from database on load. As I uncheck some options and push a button (postback) then I want to read if a checkbox is checked and ...
Score GridView Rows collection refresh within an event
Shafia - 15 Apr 2005 2:08 PM - 4 messages
Hi, I need to refresh the Rows collection of my GridView  within a tree  event OnCheckChanged. I call the following for that void OnCheckChanged(....) {     ...................    ObjectDataSource1.Select();     GridView1.DataSourceID = "ObjectDataSource1";     ........................... ...
Score AddHandler / Remove Handler?
Tim - 15 Apr 2005 1:36 PM - 3 messages
If you instantiate a web control programmatically in Form_Load and then add a click event handler to it using AddHandler MyControl.Click AddressOf MyEventHandler, is it necessary to call RemoveHandler MyControl.Click AddressOf MyEventHandler in the Page_Unload event? Does not removing ...
Score Dynamic loadcontrol of ascx with dll not in bin path
manatlan - 15 Apr 2005 1:19 PM - 3 messages
I try to make a framework in asp.net which will be able to manage some ascx components. I use a httphandler to render my webform, and fill it dynamically with ascx components (with loadcontrol). A "ascx components" is as "ascx page" and its "DLL codebehind". ...
Score DBNull.Value and the dropdownlist
Filip De Backer - 15 Apr 2005 10:40 AM - 2 messages
Hi everyone, I have created a new record in a datatable, and there is an integer field which has the value DBNull.Value, because at the moment of creation, the application doens't know which value to use. Then I want to bind a dropdownlist to this field of the datarow, but the ...
Score how to display records in datagrid
yoshitha - 14 Apr 2005 2:55 PM - 2 messages
hi, i want to display records in datagrid. strtestids() is a string array. it contains some testids. based on these ids i've to fill the datagrid. i wrote code like this   Dim db As New NESDK.DatabaseGrid         Dim i As Integer ...
Score How to validate one of two Required TextBox
Gilles Lambert - 14 Apr 2005 2:13 PM - 5 messages
Hi, I've to require a value in either of two TextBox. I tried with the CustomValidator with the function : function MobTel(source, args) {                if ( Form1.txtTelephone.value == "" &&  Form1.txtMobile.value == "" ) { ...
Score Getting values from dynamic TextBox'es
basulasz - 14 Apr 2005 11:52 AM - 2 messages
I create TextBoxes dynamically and i want to get the values entered these dynamic textboxes, but i get emty values. How can i get the values from these dynamically created textboxes? ...
Score Treeview displays nodes in line with no tree structure
Jack - 14 Apr 2005 10:36 AM - 2 messages
Hi, I am trying to use the treeview webcontrol and am using the example code from MSDN. The control displays the root and child nodes in line with no tree structure present. Does anyone know why this may be? Kind regards ...
Score Textboxes with images
Roshawn Dawson - 14 Apr 2005 3:03 AM - 2 messages
Hi, This may be the wrong place to post this, but how do you place an icon inside a textbox?  Many of today's toolbars seem to have this feature. Moreover, the icon acts as a menu.  Some even have another icon that ...
Score TemplateControl??
Ron Vecchi - 14 Apr 2005 1:38 AM - 3 messages
Is it possible to create a custom control like the below example. Basically the custom control will have a public property of type PlaceHolder.  What ever html content is enter between the <Container> elements should be added to part of the Placeholders control colleciton. ...
Score Windows Explorer style custom control for web
sri_san - 13 Apr 2005 7:59 PM - 2 messages
Hello,       I am trying to develop a aspx page which would have the capability to upload images/media files(.mp3/.avi) and have a hierarchial structure(like the windows explorer) displaying  the list of files,folders.  This page could be used at multiple places. Hence, ...
Score Defining server-side Click event for Label web contol ?
Saket Mundra - 13 Apr 2005 7:43 PM - 3 messages
I am using a label on my webform, wherein i want that on clicking the user must be directed to next page(just like hyperlink). I have added the onclick attribute to label contol as follows : Label1.attributes.add("onclick","") ...
Score Creating a Tab in web form
Saket Mundra - 13 Apr 2005 7:37 PM - 4 messages
I want to create a tabstrip to be used on a webform. I am using Visual Studio2003 How to go abot it? Any help appreciated ...
Score Need Click Event to Fire from TextBox
RBrady - 13 Apr 2005 5:39 PM - 7 messages
I know that the current System.Web.UI.WebControls.TextBox doesn't currently have a Click event associated with it, but I need it to for my current application.  What is the fastest/easiest way to add the Click event to the ...
Score Plz Help.....GridView and Cells text
Shafia - 13 Apr 2005 2:27 PM - 2 messages
Hi, I have a TreeView and a GridView in my UI. On a "CheckChanged" event of tree,  I do the following    GridView1.Rows[nextRow].Cells[0].Text = e.Node.Text; or rather    ((Label)GridView1.Rows[newRow].Cells[0].FindControl("Label5")).Text = ...
Score Urgent! GridView and templated controls binding---------Plz help
Shafia - 13 Apr 2005 8:35 AM - 3 messages
Hi, My GridView has templated controls in it and I'm binding to an ObjectDataSource. The problem is it refused to bind to my grid column "ColumnName" which is also an UpdateCommand Parameter for the ObjectDataSource. It displays the following error ...
Score Customizing ASP.NEt Hyperlink Control
Saket Mundra - 13 Apr 2005 7:34 AM - 7 messages
I am using the ASP.NET Hyperlink Control in my web forms. I have following queries regarding same: 1) How do I change the default Cursor symbol for hyperlink control? 2) How do i get rid of the underline that appears by default in the ...
Score make a button deault
Ilyan Mishiyev - 13 Apr 2005 12:40 AM - 4 messages
Anyone has an idea of how to make a button default in a webform? I want to be able to press enter to use a button when page loads, whithout having to use a mouse everytime. Couldn't find anything in msdn. Thanks in advance. ...
Score Usercontrol derived from Usercontrol without double Html Code
Reik - 12 Apr 2005 4:19 PM - 2 messages
Hi everyone, lets say I have written a usercontrol called url.ascx. The Html portion of this usercontrols contains a single textfield to enter a URL. The entered URL is handled in the code behind, checked for syntax bla bla.. ...
Score custom validator and button events
Ant via DotNetMonster.com - 12 Apr 2005 1:42 PM - 4 messages
Hi, I have a program with a textbox, customvalidator and button. <asp:TextBox ID="txtName" Runat="server" MaxLength="30" AutoPostBack="True" CausesValidation="True"></asp:TextBox> <asp:CustomValidator ID="CVltxtNombre" Runat="server" ControlToValidate="txtName" Display="Dynamic" ...
Score dataset values in a dropdownlist
Filip De Backer - 12 Apr 2005 12:45 PM - 2 messages
hi everyone, I've got a dropdownlist. A dataset with 3 fields is boudn tot the dropdownlist. The ItemID field is bound to datavaluefield the ItemName field is bound to datatextfield when I select an item in the dropdownlist I want the third field ...
Score Stop datagrid causing validation
Geoff Murley - 12 Apr 2005 12:04 PM - 2 messages
I have a Datagrid with the first Column as Edit.  Clicking on Edit displays the usual Update and Cancel Links/Buttons.  However, after I click on Edit and then change my data, when I click on Update the Link/Button ...
Score How do I post hidden variables to another form from a popup?
aaa - 12 Apr 2005 11:55 AM - 3 messages
I am bringing up a popup which has a couple of fields that the user enters. I fill the hidden fields then submit and close the popup which then reverts back to my main form, which retrieves the hidden vars and does the database ...
Score Sorting problem in Data grid control
Sundararajan - 12 Apr 2005 9:41 AM - 2 messages
Dear Folks,     I am sorting the records in the data grid control. on click of the header hyper link the record gets sorted. but if i move to the next page, it shows the unsorted second page; how can i get rid of this. ...
Score Control Template
David - 11 Apr 2005 5:50 PM - 4 messages
Hi, How can i do to make a button under properties panel, to load some file as template style of my control like Dundas Gauge? Thanks ...
Score Public Method Logic Question?
SouthSpawn - 11 Apr 2005 4:22 PM - 2 messages
I have the following situation. I am creating my own user control. This asp.net user control will have a method called "Read". When this method is being called from the page. It will read line by line threw a ...
Score custom validator and button events
Ant - 11 Apr 2005 2:09 PM - 4 messages
Hi, I have a program with a textbox, customvalidator and button. <asp:TextBox ID="txtName" Runat="server" MaxLength="30" AutoPostBack="True" CausesValidation="True"></asp:TextBox> <asp:CustomValidator ID="CVltxtNombre" Runat="server" ControlToValidate="txtName" Display="Dynamic" ...
Score IE Web Controls - discontinued ???
Galin Iliev - 11 Apr 2005 1:48 PM - 7 messages
Hello guys I am going to use IE Web Controls (  MultiPage, TabStrip, Toolbar, and TreeView.) in  my web application but I see red warrnings on MSDN site which said "Microsoft Internet Explorer WebControls are not currently supported." What this mean? ...
Score How can one filter a DataGrid client side?
aaa - 11 Apr 2005 1:40 PM - 2 messages
I f I need to filter a DataGrid on one column client side how would I accomplish this? ...
Score Printed Monthly Calendar Controls
Michael Rich - 10 Apr 2005 7:32 PM - 3 messages
I need to show both a list of events in a month and a normal monthly calendar view (with events on the days).  Ideally, I'd like to print this. This can be either from a web form or a vb form. ...
Next » 2 3 4