Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views

 

 I am using the telerik:dialogopener and there are two things I would like to do onload of it.

1. Hide the folder view by triggering the collapse functionality of the splitbar.
The split bar to collapse / expand the folders has an ID of "RAD_SPLITTER_BAR_COLLAPSE_Forward_RadFileExplorer1_splitBar"
Can I force a click of it somehow?

2. Sort the files by filename (not by filetype)
Clicking the heading "Filename" sorts the files how I want, but I would like it to load that way.
I see the onlick event of it... $find('RadFileExplorer1_grid_ctl00').sort('Name'))
Can I force a click of it somehow?

Is it possible to set something with FileManagerDialogParameters or in a javascript on loading of the dialog?

thanks!

 

Rumen
Telerik team
 answered on 01 Jul 2010
3 answers
106 views
I am currently looking through http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx and I am trying to figure out where this example is getting its data from. I noticed in the other example of the templates http://demos.telerik.com/aspnet-ajax/scheduler/examples/templates/defaultcs.aspx they use them, but it appears here they do not. Is there something I am missing? How would they link it to their data source?

Thanks

Ramie
Dimitar Milushev
Telerik team
 answered on 01 Jul 2010
4 answers
153 views
Greetings

I have an issue with RadGrids.  We have multiple RadGrids on the same webpage.  Each RadGrid has a master/detail table setup: the user can expand at will.

The issue is that, if the user expands the top RadGrid, it appears to overlap the RadGrid below it.

I have successfully found a way to programmatically alter the height of the top RadGrid so that is "pushes" the other RadGrid further down the web page. 

But I'm still seeing what appears to be grid lines from the top RadGrid (these only appear after expanding it into detail mode) in the bottom RadGrid.

Any ideas on how to prevent this?

Thanks in advance!

Peter
Peter
Top achievements
Rank 1
 answered on 01 Jul 2010
5 answers
372 views
My Data incoming 4 seconds....How to make my chart auto refresh and real time...?


Thank's

Heri
Heri .
Top achievements
Rank 1
 answered on 01 Jul 2010
1 answer
122 views
Hi,
I'm using a radcombobox with checkboxes and need to set the initial text to blank.
I have tried different methods but nothing helps.
I have this code:
IList types = EnumHelper.ToLocalizedList(typeof(FaultyType), Resources.resources.ResourceManager); 
            foreach (KeyValuePair<Enum, string> keyval in types) 
            { 
                RadComboBoxItem item = new RadComboBoxItem(); 
                item.Text = keyval.Value; 
                item.Value = keyval.Key.ToString(); 
                radComboBoxFaultyTypes.Items.Add(item); 
                item.DataBind(); 
            } 
 

 <telerik:RadComboBox ID="radComboBoxFaultyTypes" runat="server"  
                            onitemdatabound="radComboBoxFaultyTypes_ItemDataBound"
                         <ItemTemplate> 
                            <div onclick="StopPropagation(event); SetFaultyTypesText();" class="combo-item-template"
                                <asp:CheckBox runat="server" ID="chk1" /> 
                                <asp:Label runat="server" ID="labelFaultyTypeName" AssociatedControlID="chk1" Text='<%# DataBinder.Eval(Container, "Text") %>' > </asp:Label> 
                            </div> 
                        </ItemTemplate> 
                        </telerik:RadComboBox> 

With this code the first elements text is set as initial text.
I want it to be blank or to be set like: "Please choose".
I could solve it be add a item with blank text and value but in that case I need to hide the checkbox in some way on that item.
 
Regards,
Mattias

Veronica
Telerik team
 answered on 01 Jul 2010
2 answers
151 views
Hello,

I am really really missing the PathSeparator property in the RadTreeView control like there is for WPF or Silverlight (e.g. http://www.telerik.com/help/wpf/radtreeview-feautres-treeviewitem-expanding-and-collapsing-items.html)

I really need to change the default path separator "/" to another character, because some text in the Node.Text property can have a title like "Trash/Waste". When retrieving the full path via the FullPath property I will get a wrong path.

Is there a way around this?

Thanks for any help or suggestions!

Andreas
Veronica
Telerik team
 answered on 01 Jul 2010
6 answers
100 views

We are building an app which basically is converting a paper state form. The form contains around 300 questions. We will be using Telerik controls. We have tight dead line and don’t have much time for experiments.

 

I have created a mockup screen with Form Decorator, RadTabStrip, Radmultipage and Rad controls on the page but am concerned about performance. I haven’t bound the data yet but with just the controls it is taking time to load the page.  The user will be flipping back and forth between the tab items during the data entry. I cann’t go with wizard like functionality. User should have all the data elements available. Any suggestions are greatly appreciated.

Thank you

Vinkel
Top achievements
Rank 1
 answered on 01 Jul 2010
4 answers
155 views
Hi Telerik,
I'm facing serious problems with a RadTextBox in IE7. The setting of the textbox (in a user control) is as follows:

<telerik:RadTextBox ID="RadTextBoxRollingStock" runat="server" TextMode="MultiLine" Rows="1"
                Label="Name the rolling stock" LabelCssClass="label_inputfield" Width="340px"
                Skin="input_calculator" EnableEmbeddedSkins="False">
 </telerik:RadTextBox>

When I try to run the page the VS debugger comes up displaying (reduced to the part where the problem comes up):

Telerik.Web.UI.RadInputControl.prototype={initialize:function(){Telerik.Web.UI.RadInputControl.callBaseMethod(this,"initialize");
this._clientID=this.get_id();
this._wrapperElementID=this.get_id()+"_wrapper";
this._textBoxElement=$get(this.get_id()+"_text");
this._originalTextBoxCssText=this._textBoxElement.style.cssText;
if(this._originalTextBoxCssText.lastIndexOf(";")!=this._originalTextBoxCssText.length-1){this._originalTextBoxCssText+=";";
}if($telerik.isIE7){var b=$get(this._wrapperElementID);
if(b.style.display=="inline-block"){b.style.display="inline";
b.style.zoom=1;
}


I've debugged these lines and got:

this._clientID   "CalculatorWizard_CalcStep3_RadTextBoxRollingStock"   String
this._wrapperElementID   "CalculatorWizard_CalcStep3_RadTextBoxRollingStock_wrapper"   String
this._textBoxElement   {object}   DispHTMLTextAreaElement
this._originalTextBoxCssText   "WIDTH: 100%;"   String
this._originalTextBoxCssText.lastIndexOf(";")   11   Long
this._originalTextBoxCssText.length-1   11   Long
$telerik.isIE7   true   Boolean
$get(this._wrapperElementID)   null   Object
b   null   Object

b.style.display   Objekt erforderlich   Fehler

So the problem comes up when variable b is used - since it's null at that time. In FireFox this problem doesn't come up. I also don't understand why this problem comes up only with this specific RadTextBox since we're using similar ones with same css, skins, etc
and there is no problem.

Any suggestions what could cause this ?

Thanks, Wolfgang

Dimo
Telerik team
 answered on 01 Jul 2010
2 answers
180 views
I need to show a custom error message when the user enters too much text in a RadEditor (the default pop-up is unsuitable).  The solution suggestion by Rumen in this post works marvellously in cases where there is a single RadEditor on a page.  However, my page has three RadEditor controls, and I would like to show a different message for each of them.  Is this possible?

All advice gratefully received,

Ed Graham
Ed
Top achievements
Rank 1
 answered on 01 Jul 2010
2 answers
100 views
Hi.

I have a rotator with one picture showing at a time.
How do I know which item is displayed in the rotator in my saveevent?

The user will not click on the displayed images only on the slideshowbuttons.
When a user clicks on the slideshowbutton I want to save the id for my imagedisplayed.
Is this possible? How?

Thank you.
//Ylva


Fiko
Telerik team
 answered on 01 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?