Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
134 views
We are currently using dhtmlx trees on a control with three trees, each tree is populated from different sources (two different webservices) we're running into several performance issues, one of them being the time it takes to load. We were looking into using telerik's treeview control instead. I tried to do some research on google for performance differences between the two controls (dhtmlx tree and rad tree view) but couldn't find any. Thought this would be the best place to ask. I tried to implement a prototype of that control using telerik's tree view (trial version) and it did seem to load a lot faster. I just need an assurance before we go ahead and purchase the telerik's suite.

Thanks much,
Chandana
Atanas Korchev
Telerik team
 answered on 28 Apr 2009
0 answers
187 views
I have a rad date picker in the item template of the grid
<telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Date" UniqueName="Date" Visible="true"> 
 <ItemTemplate> 
  <telerik:RadDatePicker Skin="Web20"  ID="RadDate"  runat="server" Width="95px"> 
   <Calendar ID="Calendar" runat="server" > 
   </Calendar> 
   <DateInput ID="DateInput_GateWayDate" runat="server"  Width = "60px"  
                                            DateFormat="M/d/yyyy" > 
</DateInput> 
  <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
</telerik:RadDatePicker> 

Its working fine in Firefox 3
But in IE 8, the first row of the grid shows correctly.
But in the second row the date inputs width is increased.
How to correct this?
kollam2003
Top achievements
Rank 1
 asked on 28 Apr 2009
7 answers
283 views

Hi 

I am working on Export Excel; But I am looking for few answers...

1. How to align Caption to Right side.... I need Caption only for Excel so I am creating it while calling Excel only.... I tried using CssClass but it is not working..... I am not using "CommandItemTemplate"......

 

 

2. I am getting extra column on right side on excel for all views, except default mastertable view... Could you please suggest wht is that I am doing wrong? And how to remove to extra column?

3. Also Table is not getting border completly.... Top side of Header and bottom side of table is not showing border... could you suggest the way to achieve it..

Please see below look of Excel ........Caption is set in 3 rows, but it is showing me in center, I want it on right side....
Also please extra column on right hand side...and border issues....

Thanks,
Pradip

Client Name
Detail
Detail 2
Column 1 Column 2 Column 3 Column 4 Column 5 Column 6 Column 7 Column 8 Column 9 Column 10 Column 11 Column 12 Column 13  
Client 1     '08/'09 81,691,829 81,691,829 81,691,829 $6,044,001 $6,044,001 $6,044,001 $0.074 $0.074 $0.074  
  Sub 1   '08/'09 7,038,183 7,038,183 7,038,183 $692,072 $692,072 $692,072 $0.098 $0.098 $0.098  
Sub 4   '08/'09 16,773,133 16,773,133 16,773,133 $1,660,219 $1,660,219 $1,660,219 $0.099 $0.099 $0.099  
Sub 5   '08/'09 6,692,000 6,692,000 6,692,000 $886,796 $886,796 $886,796 $0.133 $0.133 $0.133  
Client 2     '08/'09 152,417,843 152,417,843 152,417,843 $8,635,388 $8,635,388 $8,635,388 $0.057 $0.057 $0.057  
Client3     '08/'09 35,796,307 35,796,307 35,796,307 $276,533 $276,533 $276,533 $0.008 $0.008 $0.008  
Client 4     '08/'09 3,387,345 3,387,345 3,387,345 $54,711 $54,711 $54,711 $0.016 $0.016 $0.016  

Pavel
Telerik team
 answered on 28 Apr 2009
1 answer
233 views
I have a RadGrid with Auto Insert/Update/Delete on using EditForm mode.  I want to add a compare validator between a field called lowvalue and highvalue.  What is the best way to do this.
lowvalue and highvalue I am using GridNumericColumn. 

I am at a crunch in the project so I will take the easiet approach client/server side doesn't matter, I just need to make sure the low value is less than or equal to the high value if the high value is not null or empty
and the high value is greater than or equal to the low value if the low value is not null or empty.  If the validation fails I need to display an error message in the EditMode of the form and prevent the insert/update.

Note: If you suggest using an ItemTemplate or EditTemplate please also provide a complete reference and/or demo.  I have been trying to research the EditTemplate but I have not found any good tutorials.  I am a total novice at the ItemTemplate/EditTemplate approach.
Pavlina
Telerik team
 answered on 28 Apr 2009
1 answer
219 views
Hi I am using version 2009.01.0402.35 of the RadTreeView.
I am attempting to put simple HTML (mainly BRs and &nbsp;s) into the text of RadTreeNodes via clientside Javascript.
I realise that set_text() will strip the tags and found in the forums to set the innerHTML propertry of .get_textElement() instead.
I also understand that will not be persisted after a postback.
My issue is however, when I rearrange the nodes, ie move this node up or down a level in the tree, again using entirely client javascript, the node's text is set back to it's original nonHTML value.

I am considering putting the value I want inside a custom attribute and then after the reshuffle operation restting the innerHTML from the attribute but consider this to be clunky as well as wasting memory, viewstate and CPU cycles.

Alternatively is there a way of insterting a new lines (or line breaks) into the text value of the node without using HTML?

Thanks
CodeR
Top achievements
Rank 2
 answered on 28 Apr 2009
4 answers
192 views
how can I call the same popup window from a different link button other than the GridEditCommandColumn?

I have to create a copy functionality in the radGrid. So If have  one more linkbutton with 'copy' text and call the same window as an edit and pass an extra parameter (commandname = 'copy') then I can insercept this and send it to the database as a copy item.

Can someone please provide me an example ?
Shinu
Top achievements
Rank 2
 answered on 28 Apr 2009
1 answer
297 views
Hi,

I was wondering if anyone could give me some suggestion on what would be the best way to go if i wanted to disable weekends form my date picker calendar?

I added a CustomValidator to my form and that was a pretty straight forward, i also wanted to disable from the visual calendar, but not remove it.

Thanks,

Fabio
Shinu
Top achievements
Rank 2
 answered on 28 Apr 2009
3 answers
89 views
PagerStyle-Mode="NextPrevNumericAndAdvanced"
The Page Size textbox only is wide enough for 1 number. If there are 10 or more pages the textbox is not big enough.
How can I make the textboxes for this style larger?
J.
Princy
Top achievements
Rank 2
 answered on 28 Apr 2009
4 answers
242 views
I'm looking to add a RadComboBox to a custom server control (a custom WebPart CatalogPart control).  Basically, my webpart catalog pulls a directory from a database, and I want to use the properties to populate the RadComboBox for the user to select the desired WebPart.

What do I need to do in order to declare a new instance of a RadComboBox programmatically, and to add items to it manually?
Kevin Kembel
Top achievements
Rank 1
 answered on 28 Apr 2009
16 answers
851 views

I have found that for the telerik provided skins that produce a border around the cell, for example Inox which just has a horizontal border, I must change blank values to &nbsp; to see that border when the value is blank.

Is there a better way to handle this situation where I must change the value in itemdatabound to get the border to show?

ex:

if

(dataView["CodeDesc"].ToString().Trim().Length == 0)

{

dataitem[

"CodeDesc"].Text = "&nbsp";

}

Justin
Top achievements
Rank 1
 answered on 28 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?