| Hide a column in a datagrid (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I have been looking on different message boards to see how to hide a column in a datagrid. The only thing I have found is the following: RacDataSet.Tables("TableName").Columns("ColumnName").ColumnMapping MappingType.Hidden Is this correct? It doesn't seem to be working so I don't know if I am forgetting to do something. |
|
| HideCaret & RichTextBox (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Greetings, I'm trying to use the HideCaret() function, but I can't seem to get the HWND for the richtextbox control, which is required for HideCaret(). Does anyone have an example of how this is done? Any help would be appreciated. Thanks, Kevin |
|
| HideEditBox in a DataGrid. Please Help. (VIP replies) |
| microsoft.public.dotnet.framework |
| Hi All, Has anyone out there used HideEditBox, successfully? I am writing developing in VB .NET (VS .NET 2002) for the desktop. I have a datagrid which is ReadOnly. When you click in a cell, the text edit box appears which looks bad and distracts the user, AND it captures DoubleClick which I want to handle at the DataGrid level. I have set up a TableStyle and GridColumnStyles all ReadOnly. I have ... |
|
| Hiding child 'Controls' collection (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| We use an 'Edit/Save' style UI in our app so that all controls on a form are disabled until the user clicks 'Edit'. To facilitate this, we have a method in our base form with the following signature: void SetAllEnabled(bool enabled) This method recurses through all child controls of the form to set the Enabled properties. The problem is that some of our custom UserControls have child controls that... |
|
| Highlight a selected row in ASPX Datagrid, And Get the value (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi there, Is there an example on how to highlight a selected row using ASPX on a datagrid? Written in C#? Thanks. Oliver |
|
| Highlight Textbox Text (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I am trying to "highlight" text in a TextBox control during the "Enter" event as follows: private void txtPriorPlantTotal Enter(object sender, System.EventArgs e) { this.txtPriorPlantTotal.SelectionStart 0; this.txtPriorPlantTotal.SelectionLength this.txtPriorPlantTotal.Text.Length; } However, when I run the program and click on the textbox none of the text is physicaly highlighted. SelectedText s... |
|
| Highlighting the clicked row in the datagrid (VIP replies) |
| microsoft.public.dotnet.general |
| Hi, Is it possible to highlight the clicked row in a datagrid? How to do it? Thanks in advance. |
|
| Hit enter and have btn_click event fire? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I'm stumped. I have two apps. both with an HTML INPUT text field and an asp:button. In one app when I enter text and hit the enter button on the keyboard, the asp:button click event fires, in the other app it doesn't fire. Both buttons have the same attributes and both input fields have identical attributes. CausesValidation false, EnabledViewState true. I cannot, for the life of me, figure out th... |
|
| Hit Test example (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I just wrote this in about 5 minutes, can someone have a look at it and leme know it this is a good way to do things like this? each item on the control is a object which has its own render method.. here's a link to my project source code. http://www.cyber arts.com/download/hittestexample.zip please have a look at it if you have time and give me some suggestions. thanks :) this is the first time i... |
|
| How "talk" between applications? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| If I have a VB6 and a VB.NET application, or 2 VB.NET applications what is the best way to "talk" between them? They both run on the same PC. Right now I'm just using text files to share information, etc... (Not database applications.) Thanks. |
|
| how ASP.NET page gets user input from another ASP.NET page? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| In ASP, if I have asppage.asp for GUI and aspprocess.asp for process requests from database. In asppage.asp code will be like: form action "aspprocess.asp" method "POST" GUI CODE /form When the user clicks the submit button on asppage.asp, it will invoke aspprocess.asp page aspprocess.asp code can get the user input from asppage.asp by doing: Request.Form("Control ID") In ASP.NET, if I want to ach... |
|
| How call a callback directly from the code (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hello I'm trying to call a callback function directly from the C# code but I don't know how to do it... I tried a lot of solutions but the C# syntax slap me Practically, I want test if the user hase defined a callback for a certain control and then call it from the code example public void FillMyGrid(System.Windows.Forms.DataGrid Grid) { // // Code to fill the grid // // // If the user has defined... |
|
| how can HyperLink add a OnClick eventHandler? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| hi~~ System.Web.UI.WebControls.HyperLink doesn't supply the OnClick eventHandler. i inherit the HyperLink class and want to add a OnClick event.But it dosen't work. here is the code. THX for any reply! public class MyLink:System.Web.UI.WebControls.HyperLink { public event System.EventHandler Click; protected void OnClick(EventArgs e) { if(Click! null) Click(this,e); } protected void Reset() { Clic... |
|
| How can I call this function from another button click? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Is it like Button1.Click()? thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|
| How can i change the standard properties of controls ? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hello, is it possible to change the property standards of a control, for example the text property standard for a new button from "Button1" to "MyFunnyText"? I'm using Visual Studio 2003. Any advice would be appreciated. Johannes Marschall |
|
| How can I display a timer counting down to 00h:00m:00s? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I need to display a timer ticking down. Example: 11h:52m:39s to 00h:00m:00s How can I do this? Thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|
| How can I display two or more DataTables in a Webform Datagrid (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi, I have two related tabels in a DataSet and want to display them in a single Datagrid. Has anybody any suggestions or hints how to do that? Thanx in advantage, Iwe |
|
| How can I do it? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, all, If I want to datagrid1 locate to row where dno "002",how can I do it? Dim Conn As String "Provider vfpoledb;Data Source H:\BACKUP\NEWBACK1\RSKJGZ7\BACKNGX\DATA\gxrs.dbc" Da New OleDbDataAdapter("Select Dno,Dname From Department", Conn) dt New DataTable Da.Fill(dt) DataGrid1.DataSource dt Thanks in advance! Chuen |
|
| How can I find the components added to web form? (Urgent) (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi there, How can I find the components added to web form from my custom web control? Suppose I added a Timer component (with name "timer1") onto the web form, from my user web control, how can I locate the timer component by name "timer1"? The Page.Controls collection only contains web controls but no components. TIA, this is a urgent issue need to be resolved in my project. Martin |
|
| How can i find type sender object? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, i call Call treeviewXi DoubleClick("Try", e) from another procedur.. and in treeviewX DoubleClick i use this string and do what i want example : if sender "try" then doit but in this case, when user do doubleclick, in treeview doubleclick event, sender object is turn treeview object and give error due to "if sender "try" then doit" row i wantto this: Private Sub treeviewwX DoubleClick(ByVal se... |
|
| How can I force databinding on all tabs in a Form? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi All, I have several tabs with controls on a Form that is bound to a DataSet. If I load a DataSet and go from one tab to the next all the data appears correctly in the controls. However, if I do certain operations before changing tabs, like entering an incorrect value into a control and the validation handler fires, the values on the tabs are all empty. I am assuming the the databinding occurs t... |
|
| How can I get the data form DataView with sorted order? (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi. I have some problem to get the data from data view. I created one table and sort one column in the dataview. DataTable myTable new DataTable(); ....Create Columns and add Record Values.. DataView myView new DataView(myTable); myView.Sort "Price"; for(int i 0; i myView.Table.Rows.Count; i ) { myPrice myView[i]["Price"]; ..... } When I check "myPrice" in every loop, it's not sorted order. How ca... |
|
| How can I get the previous control? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I have many controls in the form I want to know which one lost the focus (previous control) For example: In the form text1, text2, text3 and text4 The focus now in text1 and the user click by mouse on text3 the focus now in text3 how can I know the last control is text1 Regards *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|
| How can I hihglight the whole row of DataGrid ? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi everybody, My dataGrid is "for read" only.How can I hihglight the whole row of DataGrid when I am navigating through rows? Now I can see only a small triangle on the right side of dataGrid moving. Thanks a lot in advance, Serg |
|
| How can I loop through a Datagrid (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| I'm using a checkbox column to allow the user to select multiple rows in a datagrid. I need to loop through my datagrid to see which rows have been selected. I found several articles on this issue but they don't seem to work for me. They all involve using the datagrid.items member but when I try coding it I get the message: " 'Items' is not a member of System.Windows.Forms.Datagrid" I'm running VS... |
|