Hi:
Can the RadTreeView control render horizontally?
I'm trying to get it to do something like this:
Parent1 | Parent2 | Parent2
child | child | child
child | child | child
is it possible?
Regards
Hi
I need an Image inside the tooltip of GridViewMultiComboBoxColumn. As a grid having a Colum as GridViewMultiComboBoxColoum and the expanded Colum which has a tooltip on mouse hover.
I am using RadControls for WinForms Q3 2008 SP2.
Thanks for yours suggestions.
Ajay Yadav
var
agencyValues = (Agency)agencyBindingSource.Current;
if (agencyValues != null && !agencyValues.Zip.IsNotNullOrEmpty())
{
zipCodeMasked.Value =
null;
}
I have been noticing that on your RadForm there is a problem with how you get your GetDCEx. To keep it short I'll give you a short piece of code that can help you.
if
(msg.Msg != (int)WindowMessages.WM_NCPAINT)
{
return GetWindowDC(msg.HWnd);
}
int flags = (int)(DCX.DCX_CACHE | DCX.DCX_CLIPSIBLINGS
|
DCX.DCX_WINDOW );
IntPtr zero = IntPtr.Zero;
if (msg.WParam.ToInt32() != 1)
{
flags |= (
int)DCX.DCX_INTERSECTRGN;
zero = msg.WParam;
}
return GetDCEx(msg.HWnd, zero, flags);
| Private Function newButton() As RadButtonElement |
| Dim radB As New RadButtonElement() |
| radB.MaxSize = New Size(12, 12) |
| AddHandler radB.Click, AddressOf HideTab |
| radB.Font = New System.Drawing.Font("Verdana", 6, FontStyle.Regular, GraphicsUnit.Point, (DirectCast(0, Byte))) |
| radB.Text = "x" |
| radB.TextAlignment = ContentAlignment.MiddleRight |
| 'Alignment defines where the button will be placed on the tab |
| radB.Alignment = ContentAlignment.TopRight |
| Return radB |
| End Function |
| Private Sub HideTab(ByVal sender As Object, ByVal e As EventArgs) |
| Dim buttonElement As RadElement = (DirectCast(sender, RadElement)) |
| buttonElement.Parent.Visibility = ElementVisibility.Collapsed |
| End Sub |