Telerik Forums
UI for WinForms Forum
7 answers
97 views
Hi,
I can't seem to get the preview in the visual style builder to render my updates.  It always shows the default theme.
Most of my testing has been with the GridView control.
I'm running Vista, and Q3-2008 of Winforms.
Thx,
JP
Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
130 views
Hello,

I have a rad panel bar which I want to display without the border. 

So I set the theme to ControlDefault,
open the theme builder from the smart tag,
select RadPanelBarElement from the control structure tree,
edit the Bordercolor, BorderColor2,BorderColor3,BorderColor4 to all be transparent,
preview it and it look exactly as I want it to be.
Then I save the Style sheet in theme file (tried save theme as ... as well)
Return to project,
add the theme to the project,
Go to my RadThemeManage and Load Theme from resources,
Select the theme in the control properties and save.

Now run the prject and, as well as the borders being missing, the panel bar group elements are not as high and have changed colour...

Any ideas?
Stefan
Telerik team
 answered on 17 Mar 2011
1 answer
164 views
Hey all,

I'm having a really strange problem. I created a user control with a group box on it. I placed a few controls inside the group box, docked the group box to the user control, and anchored the controls in the group box to size accordingly. The problem I'm running into is that during the development of the control, everything looks and acts fine. After I compile and drop the user control onto a form, It creates a padded area to the right of the controls... Any ideas whats going on here?

I've attached a couple of screen shots of this for reference.

Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
108 views
How can I get a handle to the appointment(s) in the RadAlarmForm?
I'm trying to get the appointment(s) to mark them as dismissed.

Thanks!
Dobry Zranchev
Telerik team
 answered on 17 Mar 2011
2 answers
236 views
Hi guys,
I am getting this strange error and I am really pulling my hair at the moment. My scenario is simple. I have a drop down list for Categories. When the user Selects and category, I populate another drop down list of subcategory based on the selected category.
Here is the code
private void ddlCategory_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
        {  
            this.PopulateSubCategories();
        }
 
 private void PopulateSubCategories()
        {           
            DataTable dtSubCategories = new SubCategory().GetSubCategoryByCategoryID(Convert.ToInt64(ddlCategory.SelectedItem.Value));
            DataRow dr = dtSubCategories.NewRow();
            dr["ID"] = 0;
            dr["Name"] = "Any";
            dr["CategoryID"] = 0;
            dr["isACtive"] = true;
            dtSubCategories.Rows.InsertAt(dr, 0);
 
            this.ddlSubCategory.DataSource = dtSubCategories;
            this.ddlSubCategory.DisplayMember = "Name";
            this.ddlSubCategory.ValueMember = "ID";
            this.ddlSubCategory.SelectedIndex = 0;
        }

The problem is that ddlCategory.SelectedItem.Value statement throws exception, Unable to cast object of type 'System.Data.DataRowView' to type 'System.IConvertible'. If i skip this function first time and change the index to some other than it works fine. Why is it not returning the SelectedValue on first bind
Thanks
Afraz Ali
Peter
Telerik team
 answered on 17 Mar 2011
2 answers
176 views
Hello,

I encounter very strange problem while using the Telerik GridView.
I am creating the gridview on the fly & then populating the data in those gridviews.

Bydefault I am showing one row in each gridview as selected through programming.
The grid which contains the horizontal scroll bar & when I am looking at the source code of that grid, I am getting the following value which I am using in my jquery to findout the selected index of that specific grid from the 'value' attribute.

<input name="rg_02635_ClientState" id="rg_02635_ClientState" type="hidden" 
autocomplete="off" 
value="{"selectedIndexes":["33"],"reorderedColumns":[],"expandedItems":[],"expandedGroupItems":[],"expandedFilterItems":[],"deletedItems":[],"scrolledPosition":"768,0","popUpLocations":{},"draggedItemsIndexes":[]}"/><BR><BR>

But for the grid which doesn't contain the horizontal scroll bar & when I am looking at the source code of that grid, I am getting the following value, even if I have selected row in the grid.

<input name="rg_02637_ClientState" id="rg_02637_ClientState" type="hidden" 
autocomplete="off"/><BR>


Strange thing is, if I select the highlighted row one more time manually, then I am able to see the following value.
<input name="rg_02637_ClientState" id="rg_02637_ClientState" type="hidden" 
autocomplete="off" 
value="{"selectedIndexes":["0"],"reorderedColumns":[],"expandedItems":[],"expandedGroupItems":[],"expandedFilterItems":[],"deletedItems":[],"scrolledPosition":"0,0","popUpLocations":{},"draggedItemsIndexes":[]}"/><BR>

Why is this strage behaviour? How do I get the selectedIndex for the grid which doesn't contain horizontal scroll.

Looking forward to your response.

Best Regards,
Vishal

vishal
Top achievements
Rank 1
 answered on 17 Mar 2011
2 answers
337 views
Good morning!

My version of the telerik is RadControls for ASP.NET Ajax 2010 Q3.

I'm trying to remove columns that are inserted with the command gridProntuarios.MasterTableView.Columns.Add() of grid through the command "gridProntuarios.MasterTableView.Columns.Clear();" and
"gridProntuarios.Columns.Clear();" but don't work.

What would the solution for this trouble?

Thanks!
Mira
Telerik team
 answered on 17 Mar 2011
1 answer
123 views
Please, see the subject.

Is it possible? Any help, please.

Ivan Todorov
Telerik team
 answered on 17 Mar 2011
1 answer
77 views
Hi,

i create an appointment with Start time:  9:00 Am 10-Mar-2011 and End time 9:05 Am 10-Mar-2011. Another appointment is also create on the same day with Start time:  9:10 Am 10-Mar-2011 and End time 9:15 Am 10-Mar-2011. In Week view, scheduler shows the second appointment in 11-Mar-2011 column. I want the second appointment to be shown on the 10-Mar-2011 column since its the appointment for that day.
 I am using RadControl Q1 2010 SP2 version. Please specify the solution for this version, since its the version that is available in our organization. Please consider this urgent since this is a very critical issue for our application

Regards
Nitin
Nikolay
Telerik team
 answered on 17 Mar 2011
4 answers
152 views
I have a listcontrol set to MultiExtended. When the user clicks on an item the SelectedIndexChanged event fires. However, if the user holds the shift key down and clicks another item, selecting all items between clicks, the event does not fire.  I need to know that the user just added items to the SelectedItems list. What event can I use?  Thanks

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