Hi,
I am using pageview in Explorer Bar and Stack Mode and i want to have an arrow sign on tabs which shows the selected tab. please see the attached image for further clarification.
Regards
Saud
I'm implementing a RadGrid control, bound to SQL Server table, and which will be used by up to 12 people at a time. What's the best way to handle concurrency (to be clear, I mean when one person makes a change while others are working or viewing the same records and fields)?
My client likes the idea of having changes submit to the database on a per cell basis. If a User changes a cell, it gets saved to the DB as soon as the User leaves edit mode of that cell.
If we go that route, what's a good way to deal with the others who may be VIEWING data that's no longer current?
Hello,
I have a toolwindow that is docked to to a tooltabstrip on the right side of my raddock (this is the only toolwindow on this particular tooltabstrip) in the designer. I need to hide this toolwindow and show it again in the same place. However, both of these code snippets cause the toolwindow to be moved to the tooltabstrip that is docked on the left side of the raddock:
RadDock1.AutoHideWindows(
New
DockWindow() {tw}, AutoHidePosition.Right)
and
tw.AutoHide()
I heard that once you hide the last toolwindow on a tooltabstrip, the tooltabstrip is disposed, so I set
tw.CloseAction = DockWindowCloseAction.Hide
but this did not help.
If I just call
tw.Show()
the toolwindow will automatically dock to the right side, and when I click the 'Auto Hide' button, the toolwindow is "minimized" and added to a tooltabstrip on the right side. How can I accomplish this behavior programatically?
Thanks in advance!
Hello,
I have an application that is using the RadGridView.
The initialization of the Grid sets "AutoColumnSizeMode = GridViewAutoColumnSizeMode.Fill".
The very first time the grid is populated, formatted, and then BestFitColumns(BestFitColumnsMode.AllCells) is called, and everything looks good.
The issue arises after this "first" grid fill.
When we refresh the grid with a new databsource and reformat the grid, again the BetstFitColumns(BestFitColumnsMode.AllCells) is called.
Process is as follows:
grid.DataSource = null;
grid.ResetDataBinding();
...
...
grid.DataSource = newDataSource;
FormatGrid();
BestFitColumns(BestFitColumnsMode.AllCells);
We are using a data-source which initially includes a lot of columns, but upon 'formatting' the grid we are also limiting the visible columns by hiding them all, then showing the select few that we need.
The attachment shows what the result is after the first grid fill... looks awful.
To further my confusion, I have added a checkbox turn on / off BestFit (BestFitColumns(BestFitColumnsMode.AllCells / None), and after 3-4 times of hitting this, it looks good again. Refresh datasources again and everything is back to messed up.
How in the world do i get this to be consistent the first time and every time after that??
I hope I have explained the issue with enough detail. Let me know if you have question.
I am creating a simple Text Tagging Application using the Comments feature of RichTextEditor.
The functionality is very simple, User loads Text File in a RichTextEditor and Adds a Bunch of comments. There is nothing else the user can do. There is no formatting or images.
Once the user has done commenting, he can press a button to say "Complete". Now I want to know Each comment, the Text the user selected for commenting from the Original document, and the Ordinal position of the original selection in the document.
I was able to get all Comment objects, All CommentRangeStart and CommentRangeEnd objects along with the Span object which has the Text.
I am able to get what the user commented on what text. However I am not able to find the Position of the text in the original document. Please help.
Reference:
1.
foreach
(var start
in
rtf.Document.GetAnnotationMarkersOfType<CommentRangeStart>())
2.
{
3.
CommentRangeEnd end = (CommentRangeEnd)start.End;
4.
Comment comment = end.Comment;
5.
Span textSpan = (Span)start.NextSibling;
6.
int
positionOfText = ??
7.
msgBoxString += comment.Author +
": "
+ textSpan.Text +
"\r\n"
;
8.
}
I want to give user the ability to change Winform PageView ViewMode . How can i implement it?