|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
Custom Controls with non-String Attributes
Nathan Sokalski -
24 Jun 2006 9:23 PM - 4 messages
I want to add attributes to my custom controls that are not of type String. I know how to convert from a String to the different types that I want, but when the user assigns values to the attributes using properties (assigns the ...
Column Width of DetailsView
Donald Hurley -
24 Jun 2006 6:45 PM - 2 messages
How do you set the width of the columns in a detailview? The titles have way too much room, and I want to control that. Thanks, Don Hurley ...
Response.Redirect not being called after sending an email
Nathan Sokalski -
23 Jun 2006 11:16 PM - 3 messages
The last two lines of code in the Click event of a Button Control on my page are: Me.WelcomeEmail() Response.Redirect("mainmenu.aspx") The last line of code in Me.WelcomeEmail() is: Mail.SmtpMail.Send(mailmsg) When the Click event is triggered, all of the code in Me.WelcomeEmail() is ...
Responding to changes to controls in a Repeater
Kevin Donn -
23 Jun 2006 5:15 PM - 3 messages
I want to mimic the Remove checkbox behavior of the Netflix Queue page. It looks like pretty traditional, full-page post and render stuff. I've done things like it using frameworks other than ASP.NET, but I haven't found a ...
asp.net 1.1 X 2.0 compatibility issue
VR -
23 Jun 2006 1:59 PM - 2 messages
Hi, I developed a web app a few months ago using asp.net 1.1. Last week, the server hosting this app was upgraded to asp.net 2.0 (that is said to be 100% compatible). Well, since the upgrade the calendar control behaves in such a crazy way, I ...
how to trigger an action by clicking in a field of detailsview?
André -
23 Jun 2006 8:18 AM - 3 messages
Hi, is it possible to trigger an action (e.g. make visible a button) when clicking in a particular field of a detailsview? I think is it, but how? I tried it on several ways, but no succes. Doing this on client-side raises the problem: how to get the field in the ...
Web control which is a combobox with an editable portion
Edward Diener -
22 Jun 2006 7:20 PM - 4 messages
Is there a web control which is the equivalent of a drop down combobox with an editable portion ? It seems backwards to have to use two separate web controls, a drop down list and a textbox, to implement this idea which has its own solution in a single control under Windows. ...
ValidationControl evaluationfunction ASP.NET 2.0
jeremy.brewster -
22 Jun 2006 6:17 PM - 9 messages
Hello I'm trying to work out how to call a custom evaluation function for a Validation Control (via the "evaluationfunction" attribute) to change the visual style of the div hosting the input control if validation fails. We have this working as a fallback on the server-side (if ...
Anyway to enable a ToolTip for each ListItem
Chris Bates -
22 Jun 2006 6:06 PM - 3 messages
Is there anyway to enable a tooltip for each item in a listbox ? ...
Is it possible to get only the "Selected" text out of a TextBox
Chris Bates -
22 Jun 2006 6:05 PM - 2 messages
Ok guys, here is what I am trying to do. Lets say I have a TexBox server control on a page. Lets say that TextBox has a bunch of text in it. Lets say that a user uses thier mouse to select a small part of the text ...
Dropdown List with Parameters
TJHerman -
22 Jun 2006 5:53 PM - 3 messages
I have a dropdown list within a Formview on a web form (using ASP.NET, vb) that uses parameters to filter the list that is displayed (After a client name is chosen in another dropdown list, this dropdown list filters the ...
XML Dropdownlist- Custom DataTextField
Darrin -
22 Jun 2006 4:17 PM - 2 messages
I currently have some code that sends some XML to the USPS website and returns some XML with shipping costs. I am reading the XML and then binding it to a dropdownlist. However, I would like to bind two of the XML nodes ...
Catch the return
Julia -
22 Jun 2006 2:28 PM - 2 messages
Hi I have created a composite conrol and now I would like to catch the event when a user press the return key. How do I do that? Thanks Julia ...
Gridview extra header row with command button and paging
pickedaname -
22 Jun 2006 1:34 PM - 11 messages
Hi, I have a SQL bound gridview with select button and paging enabled. In the gridviews prerender event, I am inserting another header in row 0. Dim table As Table = DirectCast(GridView1.Controls(0), Table) Dim hrow As GridViewRow = New GridViewRow(0, -1, DataControlRowType.Header, ...
Wizard Control
Remoting -
22 Jun 2006 12:48 AM - 2 messages
Hi, I have a wizard control with 5 steps in it. How can enable and disable sidebar buttons, so that the use will not be allowed to go from step1 to step 5 and click finish? I tried validation controls on the steps, ...
radiobuttons - no list
David Thielen -
22 Jun 2006 12:18 AM - 2 messages
Hi; I need to do the following: <asp:RadioButton ID="numDays" runat="server" Text="Every" /><asp:TextBox ID="dayNumCycle" runat="server"></asp:TextBox> day(s)<br /> <asp:RadioButton ID="weekdays" runat="server" Text="Every weekday"/> ...
Display text with <newline> characters...
TTT -
21 Jun 2006 10:58 PM - 2 messages
Hi When users write a text in a textarea, they hit [ENTER]. So the text is cut by <newline> caracters. When display this text in a LabelText, i must convert these <newline> in <br>. Is there a control to do that? ...
validation message only show in val summary when ShowSummary=true when no js to execute on client
TS -
21 Jun 2006 10:38 PM - 6 messages
i have a page where JS is enabled. I have validation controls that have custom validators and don't have clientValidationFunctions. when a validation error occurs, the page stops processing and returns. When i have ShowSummary = true, the error messages appear in the validation summary on ...
Client ID of User Control in Page templates
Nilay Shah -
21 Jun 2006 4:34 PM - 4 messages
Hi, I am coding in 1.1 framework.. And we have created Page Template classes (the way Master Page works in 2.0) in 1.1 framework.. All the pages would have code between follwoing tags. <custom:pagebody id="pagebody" runat="server" templatepath= ...
Formview Question
keniget -
21 Jun 2006 1:52 PM - 6 messages
Okay, so I'm a bit new to .NET 2.0 and am still fumbling my way around it. I've come across the FormView control today and have a question. Hope you guys can help me out. the structure of my page is as such: ...
Asp.Net AutoPostback and control focus
robin9876 -
21 Jun 2006 1:43 PM - 2 messages
In Asp.Net v1.1 web form I have a number of controls which have the autopostback enabled. Is it possible after the autopostback has run that the control that caused the autopostback to get the focus? ...
Event from one WebControl triggering an event in another Web control
George Leithead -
21 Jun 2006 1:34 PM - 3 messages
Hi, I have two WebControls. The first is basically a form, and the second consumes a Web service, based on the input from the first WebControl form. My question is this: How do I get an event from the first WebControl ...
HttpContext.Current.Session problem
Julia -
21 Jun 2006 12:39 PM - 2 messages
Hi I have developed a custom control. I want to keep a dataset in the: HttpContext.Current.Session.Add("test", dsProducts); If I open a browser and then open a new one using Ctrl+n I get problem. I think the browsers share the same HttpContext.Current.Session so if I change ...
Sorting DataView problem
Julia -
21 Jun 2006 9:09 AM - 3 messages
Hi I have a control including a DataGrid. The DataGrid is bound to a DataView. The first column of the DataGrid contains numbers from 1, 2, 3, 4, ... I want to show them in order so I edit the sort property of the DataView like this: ...
Interactivity between placeholders & objectdatasouces
TTT -
21 Jun 2006 5:37 AM - 2 messages
Hello, 1) This code don't work, may some of you explain why? <asp:Content ContentPlaceHolderID="AAA"> <asp:TextBox ID="QueryTextBox" /> </asp:Content> <asp:Content ContentPlaceHolderID="BBB"> <asp:ObjectDataSource ID="AdsDataSource" SelectMethod="GetAdsByQuery"> ...
I need a chart control with a special feature
Ray Greene -
21 Jun 2006 12:29 AM - 4 messages
When you make a chart in Excel, if you hover the mouse over a data point a popup appears which tells you the value of that point. I would like that feature in a web chart, but all the chart controls I ...
"AJAX" techniques for the ASPNET 2.0 TreeView control?
KJ -
20 Jun 2006 9:26 PM - 5 messages
Hello All, Just wondering is it possible to add/edit/remove nodes from a TreeView via AJAX techniques. I currently have an ASPNET 1.1 app that heavily uses the IE WebControl TreeView, and I am having to repaint the entire ...
Problem updating with TableAdapter in Detailsview.
Donald Hurley -
20 Jun 2006 4:53 PM - 6 messages
I am receiving the following error when trying to update a record in detailsview: ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'IssueUpdateQuery' that has parameters: Portfolio_ID, Issue, DateCreated, POC, DueDate, Description, Priority, Status, Action, DateClosed, Date_Assigned, Overall_Issue_Rating, original_Issue_ID. ...
aspx and ascx
Peter Kirk -
20 Jun 2006 8:25 AM - 5 messages
Hi there I am trying to write some "web user controls" which I want to include on an aspx. In my VS2005 solution I have a project with my aspx, and another project with my user controls (ascxs). But I can't compile my solution because the ...
ASP.NET 2.0 Intrinsic Treeview control errors on a specific machine
AndrewF -
19 Jun 2006 8:38 PM - 2 messages
Hi everyone. Hopefully someone can help who has had this problem. It relates to the *intrinsic* ASP.NET treeview control which is now included in ASP.NET 2.0 not the IE Web Control that one had to use in ...
Validators - error message not showing when JS disabled & only server side validation occurs
TS -
19 Jun 2006 8:25 PM - 3 messages
Hi, i am stuck on this scenario. I have a datagrid that has validators in its item template and a validation summary on the page. When js is enabled and incorrect data is inputted, the messages appear in the val summary. When ...
Gridview right border on a per-column basis
pickedaname -
19 Jun 2006 7:27 PM - 11 messages
Hi, I am trying to figure out how to either insert a 'spacer' between columns (which I can control width and color) or give a column/cell a border only on the right side. Can I do this in .net 2, or would I have to use css? If so, ...
making a dropdownlist visible when clicking in a textbox of a detailsview?
André -
19 Jun 2006 2:49 PM - 3 messages
Hi, I made a detailsview containing several fields for inserting only. I also made a dropdownlist which is invisible at start. Now, when clicking in a particular textbox, the dropdownlist must become visible (in order to put the selected value of the dropdownlist into the ...
Gridview Header Template sorting
Felix Wafytech -
19 Jun 2006 1:56 PM - 2 messages
Hello All, I have a Gridview with a Header Template on one of the columns. I would like to sort by this column. How do I accomplish that? Any help is very much appreciated. Note: I'm able to get the sorting to work in all the other columns. ...
Changing default behaviour of ASP.NET2 Menu control
Mikeg -
19 Jun 2006 12:00 PM - 3 messages
The default behaviour of a dynamic menu control in ASP.NET2 is that when a user moves the mouse pointer out of the borders of a 'pop-up' sub-menu, the menu immediately disappears. My users have a requirement whereby they don't want the pop-up submenu to ...
Web User Controls(ascx) 1.1 VS 2.0
Pony Tsui -
19 Jun 2006 3:06 AM - 2 messages
I writed a user controls in vs2003, it's work fine, recently i move it to VS2005, open IE, everything is fine, but when i open the firefox, the control can not run, the control use client side javascript, so i check the firefox's ...
|
|||||||||||||||||||||||