| Drawing lines with dots leaves spaces if mouse moves too fast (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I found this code in this newsgroup and used it, but the lines drawn are composed of point too separated when the mouse moves at medium or fast speed. How can I fix it? Thanks in advance !!! Dim bTracking As Boolean Dim blackPen As Pen Dim g As Graphics Private Sub frmFirma Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load blackPen New Pen(Color.Black, 2) blackPe... |
|
| drive types in VB.NET (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I am building an explorer type interface for file selection Need to know how to determine what type of device a DRIVE is i.e. C: (harddisk) A: (floppy) E: (cd rom) F: (zip) h: (network) etc. I have found no such animal in .NET runtime. Is there a managed way to do this? If not, how? thanks, Shane |
|
| Driving me nuts (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Okay, I have my controls, and in each one's key down even, I have: Me.SelectNextControl(Me.ActiveControl,True,True,False,True) All controls I need do have the TabStops and do have Index's set. I have stuff that each control has to do(Validation) before it moves on, so the Form.KeyPreview is out. Thank, Sueffel |
|
| Drop Down List Control (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hi There I apologise for this one as I am sure that it is pretty straight forward. I am using VB.NET in ASP and have loaded a drop down list from the database No problem so far! I then want to set the selected value of the list using a text value from elsewhere so that the drop down list displays the correct value when the page is opened. Currently using dropdownlist.SelectedItem.Text literal.text... |
|
| Drop Down List problem (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hi, I have a WebForm on which I have 2 buttons: "Retreive" and "Insert" When I push "Retreive" I would like to retreive info from my DataBase and to make a DropDownList DDL1 to show the result. The code is: private void Retreive Click(object sender, System.EventArgs e) { ...........connection to DB, etc. DDL1.Items.FindByText(DS.Tables[0].Rows[0][0].ToString()).Selected true; ....... } It works. W... |
|
| Drop Down Lists (VIP replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi All, Quick Question. I have my data loaded into a SQLDataReader.... Which I can then output to the screen easily enough. What I would like to do now though is place a datalist onto my form and load up the datalist with my data. This does not seem to want to work though? Second problem I am having is after I have run my page a few times my VS suddenly stops letting me run my files and I have to ... |
|
| Dropdown forecolor (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| XP pro/web forms/vs 2002 I'm trying to change the text color in a drop down list depending on a value in database as follows. MakeDrpString tbl.Rows(GetRecords).Item("BaseURL") If IsDBNull(tbl.Rows(GetRecords).Item("RecordComplete")) Then DropList.ForeColor System.Drawing.Color.Red Else DropList.ForeColor System.Drawing.Color.Green labErr.Text "yes i was in here at least once" End If DropList.Item... |
|
| Dropdown postback to SelectedIndexChanged event (VIP replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Charles moved this here yesterday, but I think my HTML email messed it up, here it is again... I would like to put a dropdown into a datagrid, but I want to call a SERVER SIDE selected index changed function. This code would seem to logically work but does not ever call DropDownList3 SelectedIndexChanged probably due to the generated id of each DropDown as it is populated in the data grid for each... |
|
| DropDownList (VIP replies) |
| ASPFriends.com 'aspngibuyspy' list |
| I was putting two dropdownlists onto an IBS page, and If the user changed the selection in the first list, I wanted to repopulate the second list, using SelectedIndexChanged to point to a routine. It would never fire the routine it pointed to. I had postback on, and used trace. I looked at existing code and noticed, it used OnSelectedIndexChanged so I tried that, but no luck. I saw that something ... |
|
| DropDownList - pre-position to an entry (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| If I have a Dropdownlist box with several items in it, and I want to display that listbox to the browser with an entry already selected (which may not necessarily be the last item selected by the user), is there a method that does this? |
|
| Dropdownlist - relations-asp.net-how to? (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I am trying to represent master detail records from a database. The general logic will be populating the first dropdownlist with the master records and on change of the first dropdownlist getting the selectedindex and querying the database and populating the childrecords in the second dropdownlist. But my question is how the same can be acheieved by using "Relations"? The following code fragment i... |
|
| Dropdownlist - relations-asp.net-how to? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am trying to represent master detail records from a database. The general logic will be populating the first dropdownlist with the master records and on change of the first dropdownlist getting the selectedindex and querying the database and populating the childrecords in the second dropdownlist. But my question is how the same can be acheieved by using "Relations"? The following code fragment i... |
|
| DropdownList and DataValue (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, I use following code on PageLoad to supply DataText for a drop down list box: Sub Page Load(sender As Object, e As EventArgs) If Not IsPostBack Then Dim values as ArrayList new ArrayList() values.Add ("IN") values.Add ("KS") values.Add ("MD") values.Add ("MI") values.Add ("OR") values.Add ("TN") DropDown1.DataSource values DropDown1.DataBind End If End Sub How can I change above code to spply ... |
|
| Dropdownlist anyone ? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi everyone I'm developing an wep application, I got stuck into a problem. My database has a table which has 2 fields Table1 X Y A Apple B Banana C Cat D Dog I would like to ask if there is a way so that I can add these two columns into my dropdown list which will look like this Apple Banna Cat Dog whichever values I select from the dropdownlist I wold like to get the equivalent value; for instanc... |
|
| DropDownList Control and AutoPostBack problems (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| 1) I have a dropdownlist control with AutoPostBack property set to true. 2) For the same control I have a SelectedIndexChanged method call in my code behind. 3) What I would like to accomplish is IF the selected text in the drop down is "Teacher", another control should be set to invisible. Heres the code behind: private void classification SelectedIndexChanged(object sender, System.EventArgs e) {... |
|
| Dropdownlist in a dtagrid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi there, please help if you can, I'm having an issue with droponnlists in a datagrid I have a datagrid which is populated from a query .. all works fine I've added two extra columns, one is a dropdownlist and the other is a button which runs the command selectcode for this: Columns asp:BoundColumn DataField "Salutation" HeaderText "Salutation" /asp:BoundColumn asp:BoundColumn DataField "FirstName... |
|
| Dropdownlist in template column to fire a SelectedIndexChanged event? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| I have a ddl in a template column of a data grid. The ddl displays fine. I'm having no luck though getting an event to fire when the user selects a new value in a row's ddl. I can put a button in the template and get the command event for the grid, but nothing for the ddl. I have the ddl set to use view state and to autopostback. Thanks Mark |
|
| DropDownList in usercontrol does not display new value (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I created a dropdownlist containing day, month and year field and expose a property to assign a date. When I call from a aspx page and assign the value, the new date is not displayed until a submit is performed. How do I force the usercontrol to display the newly assigned date? I don't have this problem if I place the two dropdownlist and the year field directly on the aspx page. |
|
| dropdownlist initial value (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I have a dropdownlist that is bound to a recordset. The default selected item has turned out to be the first record in my table. I need a row that has value 0 and text showing " ALL". How can I do this? asp:dropdownlist id "Provinces" runat "server" Font Size "8pt" Width "100px" /asp:dropdownlist Sub BindData() Dim myDataSet5 As New DataSet Dim myDataAdapter5 As New SqlDataAdapter( sqlStmt5, conSt... |
|
| DropDownList Item Reference (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Is it possible to reference a drop down list item by the name of the list item? |
|
| DropDownList Pretty Name? (VIP replies) |
| ASPFriends.com 'aspngstart' list |
| How can I put short display names in for this dropdown? I know how to manually create the dropdown with display names... %@ Control Language 3D"vb" Inherits 3D"ASPNetPortal.PortalModuleControl"% script language 3D"vb" runat 3D"server" Sub Page load(Source As Object, E as EventArgs) If not IsPostback Then MyButton.Text 3D "OK" 09 MyDropDownList.Items.Add("DesktopDefault.aspx?tabindex 3D0&tabid 3D1&... |
|
| Dropdownlist Problem (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hi, I have several dropdowns in my aspx page and read the values after I press a save button. from these dropdowns which are filled from database via databind() I always get the value which was selected at page load. changes are not recognized. the dropdowns which are filled staticly in the html, I get the right selected value. here is my code: public void btnSave Click(Object sender, EventArgs e)... |
|
| Dropdownlist Problem (VIP replies) |
| microsoft.public.dotnet.general |
| Hi, I have several dropdowns in my aspx page and read the values after I press a save button. from these dropdowns which are filled from database via databind() I always get the value which was selected at page load. changes are not recognized. the dropdowns which are filled staticly in the html, I get the right selected value. here is my code: public void btnSave Click(Object sender, EventArgs e)... |
|
| DropDownList SelectedIndex problem in C# (from working VB.NET) (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| Hello All, I've been diligently going through the examples in Scott Mitchell's "ASP Data Web Controls" book (I would recommend this work cleared up a lot of questions for me). All of the examples are in VB.NET and though I've been able to convert pretty much all of the examples so far into C# (my preferred language), there's one critical example that has me stumped. In Chapter 9, he demonstrates h... |
|
| DropDownList with AutoPostBack - why no CausesValidation property? Workaround? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| All, I have a DropDownList that is using AutoPostBack "True". When selecting an item, it triggers a postback as desired which is used to update a label's text on the server. The problem is that it fires the validators on the page as though a submit had been done. This causes unwanted entries in my ValidationSummary as the rest of the form may not have been completed. I know that I can use CausesVa... |
|