Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score My own control - exception in Design view
David Thielen - 21 Oct 2006 11:18 PM - 2 messages
Hi; When I switch to design view the control I created (inherits from HyperLink) displays: Error Rendering Control - HelpLink1 An undandled exception has occured. Object reference not set to an instance of an object Any ideas why this happens? ...
Score Anyone have APP_LocalResources resx files for the MS controls...
David Thielen - 21 Oct 2006 10:32 PM - 3 messages
Does anyone have APP_LocalResources resx files for the MS controls that they will share? Obviously we can get VS 2005 to auto-generate them for English. But if anyone has them in other languages and will share, we would really ...
Score Need button control that...
David Thielen - 21 Oct 2006 6:18 PM - 8 messages
I need a button control that does the following: 1) Has 3 bitmaps for button, OnHover, and OnClick. 2) Is placed in a grid and has a url that includes a {0} in the url that is set with a property from the data for that row of the grid. ...
Score menu question
David Thielen - 20 Oct 2006 11:45 PM - 5 messages
Hi; A couple of menu questions: 1) I would like to have a menu that is horizontal with graphic tabs for background images. How do I set this? 2) For some of the main menu items, I want to have 2 or 3 sub menus. I would ...
Score all bitmap button in grid?
David Thielen - 20 Oct 2006 11:23 PM - 4 messages
Hi; I want to have a button in a cell of a grid (in each row) where the button is just a bitmap - no text. Which control should I use? Just a plain old asp:ImageButton? ...
Score how to validate input of a detailsview?
Cas - 20 Oct 2006 7:57 AM - 3 messages
Hi, I use a detailsview control for inputtng data. I want to check the user input before it is sent to the database (min. /max value, not empty, only some values allowed ...). When clicking on the insertbutton, i want a ...
Score auto-size textbox
Jerry C - 19 Oct 2006 4:08 PM - 5 messages
I have a text box on a asp.net web page. The text is from a dataset field. The length of the text can be anywhere from 0 to 2000 chars. what is the best way to resize the textbox to fit the text. I find some information about ...
Score Textbox - inserted enters
RBM - 19 Oct 2006 11:31 AM - 3 messages
Hello, On my ASP.NET 2.0 page I have a textbox with edit type multiline. I have the following question: Is it possible to show manualy typed enters in the Gridview inserted from such a textbox? Please anser this question, thanks in advantage. ...
Score Datagrid template column
chandu - 19 Oct 2006 4:04 AM - 3 messages
Hai, i put template column in datagrid. then if i want to display date in that column (only date with out default time).can u tell me that option to display only date with out tme. if it is datagrid bounded column then it will come. ...
Score GridView RowComand event Issue
J Li - 18 Oct 2006 10:33 PM - 3 messages
In the footer of the gridview, I have a dropdown and a "Add" button set up, so I can add new rows to the gridview.  The "Add" button has CommandName of "ADD", so I use that in the GridView1_RowCommand to check if (e.CommandName ...
Score Display an empty grid
David Thielen - 18 Oct 2006 4:07 AM - 6 messages
I would swear I asked this yesterday - but I can't find my post (or any answers). So here goes again. In a GridView, when it is empty, instead of a message, I would like the grid to display, preferably with a single empty row but having just the header and ...
Score good sample of creating my own web control?
David Thielen - 18 Oct 2006 3:59 AM - 5 messages
Hi; Does anyone know of a url that shows the "right" way to create my own web control? I need to inherit from asp:HyperLink and add some minor additional functionality. ...
Score changing rows in a multiline textbox
carlor - 17 Oct 2006 7:44 PM - 3 messages
Hi there, I have a situation where I have a textbox that by default only displays 2 rows of text at a time (textbox.rows = 2). On a link button click, I am supposed to expand the textbox to show all the data it contains but there are ...
Score localization for all MS web controls
David Thielen - 17 Oct 2006 5:11 PM - 3 messages
Hi; Does anyone know of a set of localization files that localizes all the MS web controls for various languages? I'ld much prefer that to localizing them ourselves, both because it saves us time/money and because then we will be ...
Score implicit vs explicit localization
David Thielen - 17 Oct 2006 4:58 PM - 6 messages
Hi; Any comments on which is the better approach? And why? ...
Score email sending twice
Janet - 17 Oct 2006 2:05 PM - 2 messages
With the code below, every email is sent twice.  Anybody tell me why? Dim txtBody as string txtBody = "testing 2.0 email" Dim MailObj As New System.Net.Mail.SmtpClient MailObj.Host = "localhost" MailObj.Send("webmas***@email.net", "don***@email.net", "Online Search Request", txtBody) ...
Score AccessDataSource - how to get access to the retrieved data?
Martin - 17 Oct 2006 6:08 AM - 4 messages
I am using the new AccessDataSource control and it works as expected (query result bound to a GridView). Very nice about this control is that it keeps the data in memory. (a Dataset). But how can I get that data, and use it elsewhere in my code? ...
Score Trigger an Insert on a FormView control
namewitheldbyrequest - 17 Oct 2006 12:31 AM - 2 messages
Hello, Using a FormView control and I want to programmatically invoke the Insert operation. Instead of the user clicking "Insert" I need to have the web page load and automagically go into insert mode on the FormView control. What method do I call? ...
Score Adding Web Control
Duncan Dimech - 16 Oct 2006 11:40 PM - 5 messages
Dear All I am writing a tool which requires to have controls added to it dynamically. To make the task more complex, the addition of the control cannot happen anywhere but it has to be instead of a token example ...
Score How can I find the datakey of currently selected row?
needin4mation - 16 Oct 2006 9:32 PM - 5 messages
I searched for this and found an answer, but it did not help.  In my GridView there is a fileupload and a button click event to save the file upload.  I am naming the file uploaded after the primary key field ...
Score Help! Menu control not rendering properly on production
Kevin - 16 Oct 2006 3:29 PM - 3 messages
Hi, I am using a standard ASP.NET 2.0 menu control on a master page.  On my development box it works fine, but when I deploy it to my production box it renders on standard links.  The only difference I can find is in the naming ...
Score Gridview: Edit row validation
carlor - 16 Oct 2006 2:54 PM - 3 messages
Hi, I have a grid view that, when the row is in edit mode, contains a pair of radio buttons (Yes/No) and 3 edit fields (2 text boxes and a drop down list). I have business rule that states that if Yes is selected, the 3 edit fields ...
Score sqldatasource and connection exception handling
Loic Transler - 16 Oct 2006 1:11 PM - 3 messages
Hi, In my page, I'm using a gridview and a sqldatasource. I don't know how to handle the exception that occurs when the database server is unavailable. I've read that I should use the execption property of the selected event. ...
Score what' wrong with this?
bob - 16 Oct 2006 9:15 AM - 2 messages
Hi, I try ro insert  programmatically data into 2 fields of a Access table from a detailsview. My problem is: when clicking on the 'insert' button, nothing happens (no error but no data inserted). When 'burning' the values in the sql command, it works, but when using the ...
Score Turning URL Navigation off on a Treeview
John Bankhead - 16 Oct 2006 5:13 AM - 2 messages
I have a simple treeview (four levels deep) that I am building manually when the page is loaded.  I am trying to figure out how to take the treeview out of navigation mode.  That is to say that the text for a node should NOT be a ...
Next »