Infragisitcs Grid with a WebDialogWindow as an editable popup - c#

I'm looking for some sample code or a link to a good site.
Does anyone have a sample of using an infragistics WebDialogWindow as an editable popup with an infra grid. I'm targeting CLR 2.0 using c# preferably. I would be updating a standard ADO.Net Datatable in a Dataset
I'm not a fan of the edit row template technique.
Thanks in advance!
Chris

Pretty simple really.
Create a webform with an ultragrid and a web dialog. Must include Script manager control.
Set the modal to true and window state to hidden on the web dialog.
Drop on the edit controls into the dialog along with an Ok and Cancel button.
Hook up the double click of the grid to set the window state to normal, and set the controls on the dialog to the values from the row clicked.
Stick code behind the Ok and cancel to deal with save and setting window state back to hidden.
Run it.
Final wee pointer. Wrap the dialog up in a standard update panel (NOT warp panel) to improve the display if you are centring it.

Related

Invoke at runtime the customization panel of a Telerik's RadLayoutControl

I'm using the RadLayoutControl control from Telerik UI for Winforms.
As familiarized users will know, if the user press right-click on the blank space of the layout at runtime, it will appear this button:
Then this panel:
What I would like to know is, which is the method that I need to call to make appear that customization panel at any time?.
radLayoutControl1.ShowCustomizeDialog();

Unable to edit form using DevExpress

puu.sh/kiQ0k/aa28192731.png
Does anyone know how I can manipulate the objects in this form? I would really like to be able to edit some of the tabs. It's using DevExpress v14.1
To edit the tabs, just click the tab control and use the design time helper icon on the tab controls upper right corner. There, you can find a link called "Tab pages".
Alternatively you can just select the tab control by clicking and head over to the properties window (press F4) as you can do with every control. There, you find a property called TabPages.
If you want to edit the controls on the tabs, just do so by selecting them per mouse click and change the controls' properties on the properties window (press F4).
The issue was that DevExpress wasn't installed on my system and thus wouldn't let me modify the elements. Simply installing the right version fixed the issue.

.Net WinForms - Remove Close, Resize and Minimize Button

My application layout is defined with a top menu and a content area below.
In the content area I use to load the action form in a panel by adding them as a control.
First question is: is it ok as approach?
Second question: Now the forms are loaded in the content panel with Maximize, Resize and Minimize Button. How can I remove them?
Thanks
Set your Form ControlBox property to False.
See: Form.ControlBox Property
To set it in the designer, go to form properties and set ControlBox to false.
This is how it would look after that:
For your first question:
is it ok as approach?
That depends on your requirement. As long as you have provided your user a way to exit from the application and it is easily accessible, it should be fine, IMO.

Get and set data in an asp panel using modal popup extender

I am trying to get data from a data grid and display it into a modal panel. Then modify data in modal panel and after the panel was closed using the "ok action" the modified data to be displayed again in data grid.
This seems to be like a true horror... i do not want to post some code because is really a lot.
The first problem was that the button which opens the modal panel does not call its code behind on server so i do not know how to populate the fields from modal panel with the ones from data grid.
And the second was that the "ok" and "cancel" buttons from modal panel also does not call any code behind from server... so i could not update the data grid with new modified values from modal panel.
Please if you know some tutorials about this, or have an idea how to enable those calls on server side, give me a hand, i seek some but all of them seems to be only for "educative" purposes.
Thanks !

Telerik RadControls RadFormDecorator - Tow Problem About Positioning

i am using asp.net with c# web app in vs 2008
problem 1:
i do not know why Telerik RadControls- RadFormDecorator Moves some controls (such as Buttons or chech boxes) and changes their positioning up or down in my form after viewing in browser...
i put those controls in a cell of a table ... but not help
i had this problem about radajaxmanager and by setting UpdatePanelsRenderMode property to inline problem solved - but here there is no property like that...
what is going on here?
problem2:
i decorated my buttons and chechboxes with radformdecorator (telerik radcontrols) control...
when i click on a checkbox to set it to true or false so my webpage positioning goes to up (like when postback occurs , but this is not postback)
how can i prevent this problem ?
thanks for attention
This happens in some scenarios because of the way RadFormDecorator styles checkboxes - real checkboxes are hidden outside of the viewport. When the decorated checkbox is clicked however, browsers try to focus the real checkbox, hence the "jumping". To avoid that, you should set position:relative to the parent container.

Categories

Resources