Telerik Forums
UI for WinForms Forum
1 answer
203 views
Hi!
I've added an ShockwaveFlashObject inside my Windows Form. I've used the following code to run an SWF file:

<span class="code-keyword">this</span>-<span class="code-keyword">></span>axShockwaveFlash1-<span class="code-keyword">></span>BringToFront();<br>    <span class="code-keyword">this</span>-<span class="code-keyword">></span>axShockwaveFlash1-<span class="code-keyword">></span>Movie::set(<span class="code-keyword">gcnew</span> System::<span class="code-SDKkeyword">String</span>(StringToWString(spath).c_str()));       <br>    <span class="code-comment">//</span><span class="code-comment">this->axShockwaveFlash1->CallFunction("<invoke" + "name=\"UserInformation\"returntype=\"void\"></invoke>");<br></span> <span class="code-comment">//</span><span class="code-comment">this->axShockwaveFlash1->SetVariable("file", "index.swf");<br></span>  <span class="code-keyword">this</span>-<span class="code-keyword">></span>axShockwaveFlash1-<span class="code-keyword">></span>Play();
This code is inside the form load event. But when I run the application, the movie is not playing. What to do to run the swf file from Windows forms? I'm using Managed C++/CLI for this application.
Nikolay
Telerik team
 answered on 01 Apr 2011
1 answer
102 views
Hi!
    I've created an application using Windows forms, Managed C++.I've used Visual Studio Deployment Project to create set up file for my application. I've to set the "Product Name" property of the Visual Studio Deployment project from code(not through the IDE). How to do this? Where to place the code for this(i.e in my application project or in the Visual Studio Deployment Project)? If in Visual Studio Deployment Project, how to add code to this? Please guide me, since I'm new to both Windows forms and Visual Studio Deployment Project.
Nikolay
Telerik team
 answered on 01 Apr 2011
1 answer
115 views
Hello...
        I wanna export export image from gridview to pdf...I came to know that image cannot be exported to pdf...for me its very required so can u suggest me any alternative....
Martin Vasilev
Telerik team
 answered on 31 Mar 2011
6 answers
740 views
Hi guys =) im very new to VB and i made a form , and added a webbrowser in it. So what i want, when i resize the form the webbrowser resize at same time. IM using VB 10. I would really need help :) thanks!
Alex
Top achievements
Rank 1
 answered on 31 Mar 2011
3 answers
354 views
Dear Telerik Team
                              Thanks for helping me out on VSB, I have made color scheme for my application through VSB and it is showing almost every option to change its appearance. i cannot find a way to change Selected page header Color for RadPageView control, Is there any way to change it. I have gone through all the templates and elements in VSB designer tool for RadPageView.

Regards
Ahmed Almousa
Alexander
Telerik team
 answered on 31 Mar 2011
7 answers
478 views
This seems like such a simple task, I am really stumped.  Oh well, I want a column to be check boxes in my grid view.  I'm playing around with the radGridView1_CreateCell event with this code.

if (e.Row is GridDataRowElement && e.Column is GridViewDataColumn && ((GridViewDataColumn)e.Column).Name == "MyField")
{
    e.CellType = typeof(RadTextBoxEditor);
}

This gives me an error of:

{"Constructor on type 'Telerik.WinControls.UI.RadTextBoxEditor' not found."}


Any help would be appreciated.  My end goal would be to have a column full of checked and unchecked boxes.
When a value changes(the user clicks), I'm going to update my database.
Richard Slade
Top achievements
Rank 2
 answered on 31 Mar 2011
1 answer
259 views
Hi,
            I am using PageView control in that i have used Strip mode in that i have added 5pages i want the page name to be in black .Please refer the screenshot .In the screen the page names overview,Details,Allocations etc should be in black but by default i am getting in blue ,i have even tried  by setting forecolor but no effect.So please can anyone help me how i can do it.....


Thanks
Divya
Richard Slade
Top achievements
Rank 2
 answered on 31 Mar 2011
1 answer
161 views
Hi
i want to add a panel with some label and button in Carousel is it possible.
Please help.
Emanuel Varga
Top achievements
Rank 1
 answered on 31 Mar 2011
12 answers
657 views
I need to disable a command column button if a certain column has information in it.

Thanks,
Chuck
Emanuel Varga
Top achievements
Rank 1
 answered on 31 Mar 2011
1 answer
337 views
Hi All,

I have a RadGridView that is showing some odd formatting issues when it is resized.  I am using the CellFormatting event to draw thick borders in the left side of the cells of a particular column to indicate a logical grouping of columns, however when I resize the grid this thick black left border appears in many other cells than the one I want it to.

Note: This worked fine until I updated my RadControls to Q1 2011.

So, here is my demo:
First I open the grid and all looks well.  I am using the CellFormatting event to draw the thick left border of some cells.
-See Attached Image "FirstOpened.PNG"

I then resize the grid, shrinking it about halfway.
-See Attached Image "Halfway.PNG"

Finally, I resize the Grid back to it's original size, which results in the odd formatting.  See that the thick left border has been applied to many cells and some BackColoring has also been changed.
-See Attached Image "OpenedAgain.PNG"

Here is my CellFormatting code:
private void grdHuntGroups_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
    e.CellElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders;
 
    //Set back color based on service level
    if (e.CellElement.ColumnInfo.HeaderText.ToLower() == "soa")
    {
        e.CellElement.BackColor = Color.Yellow;
        e.CellElement.DrawFill = true;
        e.CellElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
        e.CellElement.BackColor = (Color)e.CellElement.RowInfo.Cells["SOABackColor"].Value;
        e.CellElement.ForeColor = (Color)e.CellElement.RowInfo.Cells["SOAForeColor"].Value;
    }
 
    //Set thick border to seperate sections
    if (e.CellElement.ColumnInfo.HeaderText.ToLower() == "lg-out"
        || e.CellElement.ColumnInfo.HeaderText.ToLower() == "pres"
        || e.CellElement.ColumnInfo.HeaderText.ToLower() == "soa")
    {
        e.CellElement.BorderLeftWidth = 8.0f;
        e.CellElement.BorderLeftColor = Color.Black;
        e.CellElement.DrawBorder = true;
    }
}


Do I need to change the way I am formatting the grid?  What has changed in this latest version that may have caused this?

Thanks in advance for any help ... I appreciate It!
-Matt
Emanuel Varga
Top achievements
Rank 1
 answered on 31 Mar 2011
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?