Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score ObjectDataSource / MultiSelect ListBox
Jay Pondy - 22 Sep 2007 5:40 PM - 2 messages
I have an ObjectDataSource bound to a Details View using a Custom Object. The DetailsView contains a multi-select listbox.  I have been able to get the selected items from the listbox into a string array and pass the array to the ...
Score GrayHairDay: moving page controls to a form and then the form back to the page?
matthias s - 20 Sep 2007 9:48 PM - 1 message
Hello, first note that this code concerns .net framework 1.1. I'm having trouble with the following: I have a class derived from Page. In the Page_Load of this class I'd like to do the following: HtmlForm form = new HtmlForm(); ...
Score how to get the text value of a cell in a column that is not visibl
Brian - 20 Sep 2007 7:36 PM - 2 messages
I have a grid control with an invisible column. I use something like this usually: string s = gvDNR.SelectedRow.Cells[1].Text; however when the column is not visible the text is always empty. Where is it kept? ...
Score UpdatePanel and RecreateChildControls
jeljeljel - 20 Sep 2007 5:17 PM - 2 messages
I have a CompositeControl (called SimplePager) that creates an UpdatePanel in its CreateChildControls override.  The CompositeControl uses two LinkButtons to control the forward/backward state.  W/out the use of the UpdatePanel it works just great.  However, as a learning ...
Score Proper way to reload CompositeControl when its state must change after Postback
jeljeljel - 20 Sep 2007 1:18 PM - 1 message
I am creating a CompositeControl that contains a Table.  The rows in the Table are controlled by an internal pager.  The control renders the pager and the table.  When the user clicks the pager, the control shows the next set of records in the table. ...
Score Add link button to one of the columns of the DataGrid
Oshin - 20 Sep 2007 1:04 PM - 1 message
Hi, My DataGrid have the following columns. Name    Id ABC       1 XYZ        2 I want to make the values in the Name column to be link buttons. The values ...
Score Datalist control problem with hyperlink
mister-Ed - 19 Sep 2007 11:33 PM - 2 messages
I am displaying subcategories in my datalist, and now  I have a bizarre thing happen when I add a new subcategory record in my sql database, the new subcategory link does not click into the next page. When clicking the link, nothing happens!: ...
Score GridView, CausesValidation
WhiskeyRomeo - 19 Sep 2007 9:30 PM - 1 message
I am working through a book on ASP.Net, I added a GridView and SQLDataSource.  Everything worked as expected upon debugging.  The rows were displayed with the Update and Delete buttons on each row.  Upon pressing update button on a ...
Score GridView and AJAX ModalPopupExtender
AlBruAn - 19 Sep 2007 7:14 PM - 2 messages
I have a GridView control and an AJAX ModalPopupExtender control on my Web page.  I've set the AutoGenerateSelectButton attribute to true such that "Select" is in the first column of the GridView.  What I'd like to do with it ...
Score determining what control caused the click event
matthias s - 19 Sep 2007 7:06 PM - 6 messages
Hi there, probably a stupid question but i can't figure it out: I've got a UserControl with a PlaceHolder on it. In my Page_Load I dynamically add a couple of ImageButtons to that PlaceHolder and add an EventHandler for the click-event of each ImageButton (say "Button_Click"). ...
Score GridView OnRowCreated won't compile
tmartin - 19 Sep 2007 6:50 PM - 3 messages
Hi all, I'm having a strange issue with getting my GridView - OnRowCreated method to compile. I've got a simple GridView with the following: <asp:GridView ID="GridView1" runat="server" OnRowCreated="GridView1_RowCreated" OnRowCommand="GridView1_RowCommand"> And in my code behind I have the following: ...
Score Datagrid pagination problem
Arne Garvander - 19 Sep 2007 4:44 PM - 2 messages
I need to be able to change page in my datagrid easily. Currently I have to click on a new page number twice every time. What am I doing wrong? ...
Score datagrid pagerstyle question
mdk - 19 Sep 2007 3:46 PM - 2 messages
I have what I hope is a simple question. I have a datagrid with paging enabled and the pagerstyle set to numeric. The pagesize is set to 100 and this grid sometimes handles several thousand records. The numeric pagerstyle works fine but the icons for the 'next' or ...
Score Error 4009 Viewstate verification failed & Error 4005 Forms
ke_tax via DotNetMonster.com - 19 Sep 2007 2:51 AM - 2 messages
Hi expert, I am having this type of error. The first error from different user is this one: Event code: 4009 Event message: Viewstate verification failed. Reason: The viewstate supplied failed integrity check. Then another error, from different user is this: ...
Score Using the TextBox's TextChanged event from inside a DataList
Nathan Sokalski - 18 Sep 2007 11:59 PM - 2 messages
I have a DataList that contains TextBoxes. I want to postback when the TextChanged event occurs. I have the TextBox's AutoPostBack property set to True, but it does not seem to be doing a postback. I would expect this to ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:56 PM - 1 message
Hi I'm having the same problem and I don't think that "ImageButton" would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a work around class, such as: ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:45 PM - 1 message
Hi I'm having the same problem and I don't think that "ImageButton" would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a work around class, such as: ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:43 PM - 1 message
Hi I'm having the same problem and I don't think that "ImageButton" would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a work around class, such as: ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:43 PM - 1 message
Hi I'm having the same problem and I don't think that ImageButton would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a work around class, such as: ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:43 PM - 1 message
Hi I'm having the same problem and I don't think that ImageButton would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a work arround class, such as: ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:43 PM - 1 message
Hi I'm having the same problem and I don't think that ImageButton would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a workarround class, such as: ...
Score Re: onmouseover client-side event for RectangleHotSpot
Gregor - 18 Sep 2007 11:43 PM - 1 message
Hi I'm having the same problem and I don't think that ImageButton would solve the problem. Map area means that image would have many buttons   . In my case over 1000. I'm currently working on a workarround class, such as: ...
Score RE: onmouseover client-side event for RectangleHotSpot
James Page - 18 Sep 2007 9:28 AM - 1 message
Try this: <asp:ImageButton id="ImageButton1" ImageUrl="button1.gif” onmouseover="this.src='~/URL OF MOUSE OVER IMAGE'" onmouseout="this.src='~/URL OF MOUSE OUT IMAGE'" OTHER PROPERTIES HERE runat="server"> </asp:ImageButton> In VS2005 the code section: "onmouseover /onmouseout" may be highlighted as ...
Score Converting BoundFields from tags to code
Pete - 17 Sep 2007 8:34 PM - 3 messages
Hi - In DetailsView I want to convert the bound <Fields> from tags to code so the fields can be picked up from the schema. I tried converting: <asp:BoundField ReadOnly="True" HeaderText="CustomerID" DataField="CustomerID" SortExpression="CustomerID"></asp:BoundField> ...
Score AjaxControlToolkit TabContainer not maintaining ActiveTabIndex
Nathan Sokalski - 17 Sep 2007 7:48 PM - 1 message
When using the AjaxControlToolkit TabContainer in my application the ActiveTabIndex is not maintained between postbacks, as well as the ActiveTabChanged event not being triggered (both of which I assume are due to the reason). I am having trouble figuring out what the reason is, because ...
Score DataGrid ASP.NET 2.0 C#
Mike Gleason jr Couturier - 17 Sep 2007 7:37 PM - 3 messages
Hi, I display a list of users (my SELECT contains the name and the ID of the users) in a DataGrid. The users display fine (single column). On the SelectedIndexChanged event, I want to retreive the user ID. Is there a way to attach the user ID on a particular row ? ...
Score dg to excel and field format
Trapulo - 17 Sep 2007 2:46 PM - 10 messages
Hello, I wrote a library that wraps a datagrid or a gridview to output data in a format that Excel can open. I stream output as application/vnd.ms-excel. All works well, but the problem is that Excel converts data to numbers, date, time and so on. I will only that it displays ...
Score Update data in a repeater
Ray75 - 17 Sep 2007 1:25 PM - 2 messages
I've got a repeater with several text boxes and radiobuttonlist's on it and submit button to process changes in the text fields. The data loads fine, but the problem is my code isn't seeing any changes to the ...
Score Setting background image for gridvew cell
Anup Daware - 17 Sep 2007 11:10 AM - 2 messages
Hi, I need to set the background image of the grid view cell according to the data. Is there any way to do this? Thanks, Anup ...
Score Enter key problem
peter - 17 Sep 2007 6:22 AM - 2 messages
On my page, there are several textboxes, a Save button and a Cancel Button. When u press enter key in any of the textboxes, it does the same thing as u click on the Save button. Which is not I wanted. I wish pressing Enter do ...
Score CustomValidator not working in FormView
J. Cairn - 16 Sep 2007 6:43 PM - 2 messages
I have tried everything and can't get the validation code to fire. Code is below. I have simplified some of it to test it. Here is the CustomValidator (it is in the InsertItemTemplate of my FormView): ----------------------------------------------------------------------------------------------------------------------------------------------- <asp:CustomValidator ID="CustomValidator1" runat="server" ...
Score I'll buy you a latte....
jim - 16 Sep 2007 11:28 AM - 47 messages
....or the beverage of your choice at your local Starbucks if you can help me find a working code sample in VB.Net 2005 that shows a webpage hosting a webbrowser activex control. OK....it *is* a crazy request.....so make that 2 of your favorite beverages. ...
Next »