Telerik Forums
UI for WinForms Forum
1 answer
725 views
After upgrading to Q1 2011 I get a warning saying: Found conflicts between different versions of the same dependent assembly.

Doubleclicking brings out this message:  One or more dependent assemblies have version conflicts. Do you want to fix these conflicts by adding binding redirect records in the app.config file?

Anwering "yes" adds these records in the file:


<dependentAssembly>

<assemblyIdentity name="TelerikCommon" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>

<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.WinControls" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.WinControls.UI" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>
</dependentAssembly>

When attemting to run I get the following error:

Could not load type Telerik.WinControls.Primitives.RectanglePrimitive from assembly Telerik.WinControls, Version=2011.1.11.315, Culture=neutral, PublicKeyToken=5bb2a467cbec794e

Then I get "No source available, no symbols are loaded for any call stack fram, the source code can not be shown". Frustrating...

I have tried removing and adding all the references to Telerik dll's, but I still get the error. Any help is appreciated!

Nikolay
Telerik team
 answered on 04 Apr 2011
1 answer
101 views
Hello,
I have a gridview with 3 columns 2 of them constrained to be NoNullAllowed and one to be Primary Key.
I have written code in CellValidation and RowValidation to cancel the validation in some scenarios.
But there are situations in which the Exception for null or Primary key still occurs. i.e, After leaving a cell empty and clicking on header of a column. the situations are many and finally I turned off the constraints so the problem doesn't occur.
But after doing such an action, sometimes I encounter another problem: After making the cell empty and typing in it again Cell.Value or Cell.Text is null!
I strongly need an error-free powerful example of controlling null and dupplicate values.
PLEASE GUIDE ME.


Another question in my mind and is unsolved is that If i use SqlTransaction which encloses Update method of my adapter what will happen(suppose we have 3 added records)?
1. if update of record 2 fails then only record 2 is rolled back (record 1 is added).
2. Connection.Open and Close method executes for any INSERT Statement or once for all inserted records?
I want this one for all.

Thanks a lot, Tooraj Azizi.
Emanuel Varga
Top achievements
Rank 1
 answered on 04 Apr 2011
2 answers
124 views
Is there a way to turn off the grayscale effect when the RadCarousel control's .Enabled property is set to false?
Peter
Telerik team
 answered on 04 Apr 2011
3 answers
88 views
Hey all,

I can't find this element and how to get rid of it.

Thanks!
Richard Slade
Top achievements
Rank 2
 answered on 04 Apr 2011
3 answers
145 views
Hello,
I would like to know if it possible to change the color of the trackbar.
I need to change the color of the trackbar between the Start of trackbar and the position of the thumb.
I dont want the color to change outSide the "Range"...
Is it possible?
Shirya
Ivan Petrov
Telerik team
 answered on 04 Apr 2011
1 answer
83 views
I have a dock control that has a form in a document window that contains a Webbrowser control.  How do I access the URL and OuterHTML contained in the webbrowser control?

radDock -> documentwindow1 -> frmWebBrowser -> ctrlwebbrowser -> .URL

Alan

Emanuel Varga
Top achievements
Rank 1
 answered on 03 Apr 2011
1 answer
77 views
Hi All,

So I'm playing around with the Telerik trial code a bit more, and one thing that I've noticed is that when a docked panel has the auto-hide property set, and it's tab is being displayed vertically (docked to the left or right side of the screen), the vertical text just looks horrible - jagged, etc. Is there a way to fix this? An anti-aliasing setting or something else? I'm coming over from the Infragistics tools and they don't have that problem, the text in vertical tabs looks fine...

Thanks,

Russ
Nikolay
Telerik team
 answered on 01 Apr 2011
2 answers
237 views

Hi Team,

I have created a Rad Form with FormBorderStyle = FixedSingle.
but still i m able to resize the form from the Title bar context menu, once i click on size option .
Please refer screenshot.kindly let me know how to avoid Form to be resized.

Thanks and Regards,
Saurabh dubey


Ivan Todorov
Telerik team
 answered on 01 Apr 2011
1 answer
159 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
73 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
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)
Chart (obsolete as of Q1 2013)
Form
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?