Could you, please help me to find code examples how to format numeric and datetime fields(columns) in RadGridView .
We need comma separator for numeric fields in RadGridView columns.
We also need short datetime format for datetime fields in RadGridView.
The problem is that we adding dynamically all columns from the c# code.
So we have to format columns on a fly.
Hello,
I'm looking at some Telerik code that was written by another engineer who worked on our Telerik code maybe a year or two ago. He had built 12 or so Telerik WinControls and all of them -- except one -- are Telerik.WinControls.UI.Docking.ToolWindow (s).
For the one that isn't a ToolWindow, the WinControl is a Telerik.WinControls.UI.Docking.DocumentWindow.
From a quick google search, it appears the ToolWindow and the DocumentWindow work in essentially the same way, but what I am observing is that the DocumentWindow control doesn't re-create itself if that control was closed on the previous run of our application. All of the ToolWindow controls DO re-create themselves if closed on the previous run of our application.
Further, there is a dock.xml file that gets created at the conclusion of running our application. It appears all the ToolWindow controls get saved into that file, but the DocumentWindow control does not. Unsure if this is due to bad code on our side, or just intended behavior (haven't dug deep into this).
...
To state one specific question: Is it safe to just change the one DocumentWindow to a ToolWindow?
- Max
Hi,
I have two collapsible panels on top of each other.They both have a datagrid inside.
No matter what I do I cant get them to resize accordingly to row count/datagridsize.
What is the best way to go to achieve auto resizing with datagrids also resizing?
in c# winforms
Conversational UI, Chat, i can't add user to chatting with them ?
Hi,
I have discover the Self-Reference Feature of the Gridview with the "file explorer" demo. It is looking pretty nice but I have a critical need about it.
How could I adapt the Drag Drop functionality of the GridView to drop a row into another row and not only before or after (like drag and drop in treeview) ?
Of course I'm open to any alternative way for moving rows through the hierarchy.
Thank you for your consideration
Marco Guignard
Hello
I'm trying to use a RadMaskedEditBox control with MaskType.Regex. And I want to be able to use more than 1 pattern for correct validating. I have those two patterns:
^[0-9]{6} [A-Z]{4} [0-9]{7}$
^[0-9]{5}$
I change those two patterns to one pattern like this:
^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$
If I set the MaskType and Mask properties in designer, the control gets validated correct. But if I set those two properties programmatically (e.g. on form load), it is not validated correct. I can't type in five digits when setting the properties programmatically. Both patterns are exactly the same (also in debugger).
So I'm very confused now why it works in designer but not programmatically. I use this two lines of code in form load event:
radMaskedEditBox1.MaskType = MaskType.Regex;
radMaskedEditBox1.Mask =
"^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$"
;
The first pattern (before pipe character) can be validated, but not the second one. The second one can only be validated if I set the properties in designer.
Do you have any suggestions? Do I have to remember something?
Regards,
Danilo
I am loading a Gridview in unbound mode to create hierarchy. I followed the article and leaving all grid properties set to defaults, I can successfully create the hierarchical relationship and it will display. Then I start setting properties to tailor the grid. Note I am trying to create a "toolbox" like view where summary information about a tool is the top level, then clicking it exposes more information. This means the result is something that is not "grid looking per se.
Anyhow as I start removing grid features - grouping, etc. at some point I hit a property that prevents the child from displaying; but I don't know which one(s)
Is there a list of properties that cannot be set to false ?
Hi everyone, i need some ideas. Currently I implement print screen into my project. So print button will print all the content in my page. I set up all the content in one panel which is 'mainPanel'. In my 'mainPanel' there have gridview. How can I hide this gridview when I print screen the page? Here I attach the image for the page.
Thank you.
Hello
I have a Droddownlist that is populated with a datasource that contains a liste of objects that has 5 properties; I set thedisplaymember and valuemember to two properties ("Description" and "ItemCode") of the object.
Immediately after assigning the datasource a "selectedIndexChanged" event is fired; at this point I have in the selectedvalue property the object of index 0 of the datasource, therefore I can access to the valuemember by "selectedValue.ItemCode"
When, later, the user selects an item in the dropdownliste, the selectedindex is fired, the "selectedItemValue" contains the property "itemcode" of the selected item and not the selected object
Consequently I dont know how to get access to the "itemCode" property in the selectedIndex event, if I use .SelectedValue.itemcode it works after the loading but fails when the user selects an item; and if I use SelectedValue the code fails immediately after databinding
Thanks in advance for your advice
Pierre-Jean