Using DataRelations And DevExpress Grids - Hide Expansion Control?

Jul 12, 2011

I have a bit of a weird issue. We use DevExpress controls to do all our Windows Form development. Anyway, I found a perfect use for the DataRow.SetParentRow/GetParentRow methods in my grid. So I created a DataRelation, added it to the DataSet and bound it as the data source for my grid. The issue is I now find this:On my grid. It seems to be the DataRelation (when I mouse over it the tooltip is the DataRelation name).

View 1 Replies


ADVERTISEMENT

Validation In ASPXUpload Control In Devexpress + XPO?

Dec 16, 2011

I have added ASPXUploadControl to save the Image File.I want to apply Validation (Required Field Validation) on this control.. but i dont find ValidationSetting Tag in this Control

<asp:FileUpload runat="server" ID="fuAttachment" CssClass="mediumResolution required" Width="100%" />

View 1 Replies

Refering To DataTable Columns And DataRelations With INSERT..SELECT?

Dec 3, 2008

There are plenty of SELECT (...) VALUES (...) statements and Parameters phrases to go with the VALUES. Those appear unhelpful to me as I have no form fields or datagrids and will be working with all the rows in a DataTable in a DataSet. Once started, this application will run to completion, writing as few as 10000 rows or as many as 250000 rows

My Task is to write out the contents of each specified DataColumn in the DataTable, one DataColumn at a time. The insert will also include the key columns and use the datetimestamp of the records as a criterion. Nulls in the specified columns are included.

My source is a DataTable, my target for the Insert is a "tall-skinny" table in an Access database. There is a smaller DataTable that is related to the source DataTable, if I was writing from within the AccDB I would use Joins. I have created a DataRelation, but have no idea how to use it in this context..

I have tried many different SQL statements but they all fail on Select. Here are snippets of the code:

'now, instantiate the specified DataTable from among the DataTables filled above
strDDTableNm = CStr(rsDDTblNms.Fields("Table_Name").Value)
Dim dtSrcTable As DataTable

[code]....

View 1 Replies

Taylors Expansion For Sin X?

Dec 7, 2010

I am trying to write a program to calculate the value of sin x using sin (x)= (-1)^n*x^(2n+1)/(2n+1)! I can't seem to get the factorial part to work

View 12 Replies

Determe Longest Repeating Cycle In A Decimal Expansion?

Jul 3, 2009

Today I encountered this article about decimal expansion and I was instantaneously inspired to rework my solution on Project Euler Problem 26 to include this new knowledge of math for a more effecient solution (no brute forcing). In short the problem is to find the value of d ranging 1-1000 that would maximize the length of the repeating cycle in the expression "1/d".

Without making any further assumptions about the problem that could further improve the effecienty of solving the problem I decided to stick with[code]...

View 3 Replies

Stack Expansion In Application - Lend Themselves To A Non-recursive Environment

Dec 28, 2011

I have a not too complicated problem which I do not know how to solve in vb2010. Currently I have a recurive routine for finding files/and or searching. With a recursive routine I never complete the call until the end and process growth is significant enough to radically slow down the process with the now large stack. To make maters worse, I use precoding routines which will take wildcards. which are these:

[Code]...

View 1 Replies

C# - Show Hide Using Javascript On A Control Inside A ASCX Control In A Gridview (ASP.NET + Javascript)

Oct 8, 2010

I have written a web usercontrol (ascx). Inside, there is a Panel that I want to show/hide on click of a hyperlink inside the usercontrol. Normally, this is easy just by doing something like this (the onclick attribute is added to the hyperlink on prerender):

[Code]...

View 2 Replies

Hide A Tab Page In Control?

Nov 16, 2009

I have a tab Control with multiple pages. In my Load Sub routine I have tried the following 2 statements[code]...

View 7 Replies

Hide A Webbrowser Control?

May 10, 2010

I would like to use the webbrowser control to simply read in http data and perform tasks. Henceforth, I would like to hide the webbrowser control.

I've tried:

Webbroser1.hide()

But it doesn't seem to work.

View 5 Replies

Hide Tabs On Control?

Mar 16, 2009

I have a setup/configuration utility that I am making. The form is split the left side has a nodeview that allows the user to select what they want to setup/configure, and the right side displays that screen.

I figured the easiest way to switch between those screens is to place them in a TabControl, but I dont want the tabs to display when its compiled. How can I turn off the display of the tabs?

View 2 Replies

How To Hide Listviewitem In Listview Control

May 21, 2009

I have a listview control on a form. This listview control is populated with at times thousands of listviewitems.Part of my process, is running through custom made filters, to hide unwanted items (before they're even inserted into the listview).So as I hinted earlier, the way I hide items that I don't want is by not inserting them at all. I'd like to make a shortcut available, that would allow me to show / hide the hidden items by simply pressing the shortcut.

My problem is that if I do this, I have to 'refresh' the listview items everytime as I do now ( by removing all and re-inserting the ones I want ).Is there no faster / better way than by removing / re-inserting the items ( which takes roughly 2-3 seconds ); which is a noticeable-enough delay? for a 'visible' property on the listviewitem that I could set to true / false, but that property doesn't appear to exist.As it stands, I have to resort to removing / re-inserting the new 'view' every time.

View 4 Replies

VS 2005 : Hide And Unhide A Tab In A Tab Control?

Mar 26, 2009

Is it possible to either hide and unhide a tab in a tab control?If not how can I add a tab and all the controls on it a run time? Reason i'm wanting this is that a application i'm looking at making will use tabs, the left menu will have options on various parts of the business when it comes to news it will open a tab for news... list the news if i click one and edit tab will show it i click a button for new it will open a tab to write new news..

View 2 Replies

VS 2005 Hide/show Tab In A Tab Control?

May 11, 2010

how to hide/show tab in a Tab Control?

View 1 Replies

VS 2010 Hide Tab Control Pages?

Feb 7, 2012

I need to change which pages of a tab control are available at different times. Right now I'm just disabling the unwanted tabs (TabControl1.TabPages(x).Enabled = False), but I've got a user who can't comprehend why she can still view the tab page if she can't use it.

So I need to either hide the tabs altogether or disable them such that you can't switch to that tab page at all.

View 9 Replies

Asp.net - Hide A User Control And Remove It's Space?

Jun 6, 2012

I want to hide the user control in asp.net, and remove it's space .. how ?

View 4 Replies

Hide A User Control When A Button Is Clicked?

Nov 28, 2011

How do you hide a user control when a button is clicked? I know how to hide a form but not a control. If it is possible to actually remove the usercontrol from the panel that would be awesome to and then have it show again once I click the other Icon. [cod]e...

View 39 Replies

Hide And Prepopulate Field In ASP.NET CreateUserWizard Control?

May 14, 2012

I have an application in which a user fills out a form indicating their interest in a service. This includes contact info. (e.g. name, email). They are then redirected to a page with a CreateUserWizard control - the idea being that it will prepopulate the form with most of the info. needed to create a user account (excluding username/password which need to be entered manually).

[Code]....

View 1 Replies

Hide Browser Control In SHDocVw.InternetExplorer?

Sep 22, 2010

I need to temporarily hide the control in SHDocVw.InternetExplorer (IE8) that displays the contents of a web page. Setting the SHDocVw.InternetExplorer.Visible property causes the entire form to be hidden. I only need to temporarily hide the control that displays the web page (i.e., the control that is analogous to System.Windows.Forms.WebBrowser in .Net). The Internet Explorer form and all other controls (including the tab that is associated with the web page) should remain visible.

My first thought is to iterate through all of the child controls of SHDocVw.InternetExplorer, search for the control that displays the web page and then set its Visible property, but I'm not sure how to do this because SHDocVw.InternetExplorer is a COM object.

View 4 Replies

IDE :: Hide CANCEL Button In Control WinProgressDialog?

Feb 5, 2009

I need to hide the CANCEL button in the VB.NET control WinProgressDialog(VB.NET 2005) How do I do that?The requirement is that the dialogbox should continue till the time the process is complete.

View 5 Replies

JavaScript - How To Get ASP Table Control To Show / Hide

Apr 19, 2012

I use a Repeater that's databound to a DataRowCollection and programatically build a table through that. I have something similar to:
Private Sub SubAcctGrid_OnItemDataBound(ByVal sender As Object, ByVal e As RepeaterItemEventArgs)
If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
Dim currentrow = TryCast(e.Item.DataItem, DataRow)
Dim acctSummaryTable = New Table With {.ID = "acctSummary" & e.Item.ItemIndex, .CssClass = "minisub_acct_table"}
[Code] .....

I can't pass in the correct element ID, though. From what I understand, ASP.NET transforms the ID I assign into some huge long ID for the sake of uniqueness. For example, I assign a table with the ID 'drillDownTable0' and it spits out 'ctl00_drillDownTable0' in the HTML markup. It worked the first time around, but then the Repeater gets binded to a new row and then I get 'ctl01_drillDownTable0' so on and so forth. I've tried the ClientID, ID, and UniqueID where I add the attributes to the Cells in the code above and they don't do what I need to. Is there any way I can get that ID and pass it to the Javascript function? Or I guess a better question is: When are the IDs generated and can I get to them before the page is rendered in HTML?

View 1 Replies

Make ControlLibrary User Control Hide()

Oct 6, 2011

I've spent three days trying to get a user control to do some obvious things -- show, hide, and focus among other things. Done in vBASIC in Visual Studio 2010 Pro. The calling program is a Windows Forms Application, while the user control is a WPF Custom Control Library with a single object, a textbox. The reason it's a user control is that this textbox is connected to an async serial device; the reason it's in a Custom Control Library is that I'd like to be able to drop this functioning serial-port-connected textbox into future projects.

No matter what syntax I attempt, the user control (neither the control nor the text box inside it) will Hide(). I've tried every variation I can think of with control.Visible = false, exposing public subs to do the work, etc. When the form appears and characters are typed in the field, the KeyPress routine is functioning -- it will only accept numeric digits.

Here's the vastly reduced code to illustrate the problem:

Calling Windows Forms Application
Imports DTRFormsControlLibrary2
Public Class Form1

[Code]...

In spite of the call to sbControl.Hide(), the form opens with a very visible and enabled user control text box. The ability to control visibility, focus, and enable/disable seems fundamental to any control.

View 3 Replies

Make ControlLibrary User Control Hide()?

Dec 9, 2009

I've spent three days trying to get a user control to do some obvious things -- show, hide, and focus among other things. Done in vBASIC in Visual Studio 2010 Pro. The calling program is a Windows Forms Application, while the user control is a WPF Custom Control Library with a single object, a textbox. The reason it's a user control is that this textbox is connected to an async serial device; the reason it's in a Custom Control Library is that I'd like to be able to drop this functioning serial-port-connected textbox into future projects

View 2 Replies

VS 2008 Hide Tab Control While It Is Not In Use And When It Was Hover By The Mouse It Will Appear?

Mar 9, 2011

is it possible to hide tab control while it is not in use and when it was hover by the mouse it will appear?

View 3 Replies

Get The Gui Grids Back?

Feb 2, 2010

i'm using vb 2008 and i'm wondering if theres any way to get the gui grids back (like in vb 6) and to turn off/make snap less sensitive..

View 2 Replies

Restricting The Grids To Some Value?

Dec 15, 2011

Im using a datagrid for user to enter input. However,im restricting the grids to some value.My grid is actually not bounded to any database. so,here is my requirement: whn the form is getting displayed,all grids are getting displayed.,which dont want.,only row2 shld get displayed to user after he'l finish entering values in row1.. im using vb.net as front end and access as backend..

View 8 Replies

Create Custom Control And Hide All Property & Method?

Aug 29, 2011

I want to create a custom control (let say textbox), after build, when I place that custom control on a form, all the properties for the default textbox are available.

1- How to Hide them and only show the wanted property and method?

2- Is there a Wizard or custom tool for creating custom control or I had to do every thing by coding?

View 4 Replies

Hide A Control From The Form While Designing In Visual Studio?

Apr 6, 2012

I am designing a settings form for my application as shown below: A tree view with multiple nodes at the left and I want to have one GroupBox for each node to be displayed at the right whenever a node is selected. I have designed my group box with necessary controls for the first node. The question is, how do I design an another group box in the same place when another item is already there. Is there a way to hide a control from a form during design time?

View 2 Replies

Grids Get Empty When Click On Some Other Tab?

Dec 9, 2010

I have a question, I have a combo box, which when changed fills the data grid. Now Wen I change the Tab and come back to same tab again(one containing the combo box)..the value of combo box remains there, however the grid gets empty. I need this data to be maintained till the user selects another value from drop down.

View 1 Replies

Loading Data From Grids?

Nov 23, 2010

Try something along these lines:

TextBox1.Text=(dt1.rows(DataGrid1.CurrentRowIndex).item(0).tostring)

where dt1 is the datatable you're using as the data source and you want the data from the first column of the grid to be shown in the text box.

dp.SyntaxHighlighter.ClipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'
dp.SyntaxHighlighter.HighlightAll('381571b4631840c6b8a8abfe5b54ed97')

View 2 Replies

Wpf - Overlapping Grids Inside A Tab?

Sep 22, 2011

I have two grids inside a TabItem and in the code-behind I want to be able to add controls to both grids and have all the controls visible at run-time. Currently at run-time the controls added to "Grid3" are not visible while he controls added to "Grid4" are visible.The overlapping grids have the same rows but a different set of columns.I'm trying to do this with two grids so that I can vary the number of controls I can add per row in the code-behind by adding the controls to one of the two grids.Here's the XML:

<Grid Name="TabControlGrid" Margin="20,171,0,70">
<TabControl >
<TabItem Header="Tab1" >[code].....

The controls in the XML are just place holders for the controls I am adding to the grids in the code-behind.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved