Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
hi,
i want to rename my tabs' names. for example change "Hyperlink" to "New Link" Or "Email" to "Your Email".
i can to hide a tab or rename labels by "ExternalDialogsPath" but i can not rename tabs' names and hyperlink Manager Form's name

is there any way?
tnx
Dobromir
Telerik team
 answered on 08 Feb 2010
2 answers
116 views
I am unable to disable insert mode when the user clicks on edit button, first the user clicks on insert then I am using editforms to insert, the user expands the detail grid and clicks on edit button (in detail grid) without completing the insert operation. In this scenario in order to disable insert I am using the following code in grid item command event to disable insert before enabling the edit but this isn't working.

        If e.Item.OwnerTableView.Name = "DetailTB" Then  
            If e.CommandName = RadGrid.EditCommandName Then  
                RadGrid1.MasterTableView.IsItemInserted = False 
            End If  
        End If 

it is not throwing any error, it is setting the IsItemInserted property but not disabling the insert mode

any suggestions !!!!!

--
Kevin
Kevin
Top achievements
Rank 1
 answered on 08 Feb 2010
1 answer
108 views
Hello,

This is a post to inform everyone, that there is a new control suggestion in PITS regarding RadButton.

After viewing the forum, I have seen many people asking for this control.

The issue number is 944  (ASP.NET AJAX - Not Scheduled)

RadButton - PITS

Please vote and lets hope this control will make in  !
Stephane Zanoni
Top achievements
Rank 1
 answered on 08 Feb 2010
2 answers
53 views
A feature demonstrated in the telerik silverlight demo for grids is change notification. There, when you update the grid, the new data is immediately reflected in the form above the grid. Do any of the asp.net or ajax controls offered by telerik offer that kind of functionality?

What I'm interested in is the ability to have updates committed by other users immediately forwarded to other users, in a grid or form. Is that a silverlight/wpf only capability? As far as I could tell, the questions here in the forums around change notification were centered on wpf and the charting control.
deneb
Top achievements
Rank 1
 answered on 08 Feb 2010
2 answers
201 views
I came across the following http://www.telerik.com/help/aspnet-ajax/ajxclientsideperformance.html saying I could update a containing table or div rather than individual controls, and thought I would use this as I have a table containing about 20 controls that all need updating, so changed RadAjaxManager from updating each individual control to update either the table or the containing div, but neither seems to update the controls within the table.

Is this meant to be OK?

David Penny
David Penny
Top achievements
Rank 2
 answered on 08 Feb 2010
1 answer
117 views
Hi,
I need to detect when spellchecker modified the texts in the textbox so I can raise the isDirty flag.
I tried implementing my own isDirty flagging by comparing value of the textbox with original texts when OnClientCheckFinished is called, but the problem is OnClientCheckFinished is called before any of the textbox has actually been modified. Is there any other solution to this that might work?
Thanks!
Kate
Rumen
Telerik team
 answered on 08 Feb 2010
1 answer
100 views
Hi,

In the Radgrid, if I try to filter by a date column between two times it doesn't work. Basically I want to see all the records between "01/10/2010 12:00:00" to "11/10/2010 12:00:00". I would like to see this by entering the text  - "01/10/2010 12:00:00 11/10/2010 12:00:00" in the Filter Textbox and selecting "Between"  Filter Menu option on a DateTime column.

But I don't get the desired result. Infact as soon as radGrid encounters more than one space between a string it empties that string and makes CurrentFilterValue for that columns as a empty string. Can I make RadGrid not do so?

Filtering options that works on Radgrid are as follows:
- "01/10/2010 12:00:00" -> EqualTo, Greater Thans, etc.
- "01/10/2010" -> EqualTo, Greater Thans, etc.
- "01/10/2010 11/10/2010" -> Between.

Filtering options that DO NOT work on Radgrid are as follows:
- "01/10/2010 12:00:00 11/10/2010 16:30:00" -> Between. - I WANT THIS  TO WORK

I am override the RaisePostBackEvent, but the filter value in the above case is emptied out. 

Any help?

Thanks
Pavlina
Telerik team
 answered on 08 Feb 2010
1 answer
155 views
Dim rs As SqlDataReader = something 
Dim dt As New DataTable 
 dt.Load(rs) 
RadTreeView1.DataSource = dt 
RadTreeView1.DataTextField = dt.Columns("descriptions").ToString 
RadTreeView1.DataValueField = dt.Columns("sections").ToString 
RadTreeView1.DataBind() 
 
RadTreeView1.SelectedNode.Value = "somthing" always tells me that object reference is nothing can you tell me why or how do i set it to select the first value in the tree view. also if the first node in treeview is expandable, how do i expand it and then select the first child node in that parent node. thank you 
 
RadTreeView1.SelectedNode.Value = "somthing" always tells me that object reference is nothing can you tell me why or how do i set it to select
 the first value in the tree view. also if the first node in treeview is expandable, how do i expand it and then select the first child node in that parent node. thank you 
Schlurk
Top achievements
Rank 2
 answered on 08 Feb 2010
4 answers
181 views
Hi,

I am using a color picker for an ecommerce site.  I am using it as a color swatch for the user to select the color of shirt they want.  Everything is working as expected with one exception.  I need to find a way to add another argument to the ColorPickerItem in addition to the value and title.

The logic works like this.  The admin adds an attribute such as 'color' to the product.  The attribute is assigned a control (ColorPicker). The admin then adds values to the control (Red, Blue, White, etc.).  The ecommerce site logic usually works with a dropdown control which also has only 2 arguments (value, text).  The value is the database value of the 'attribute-value' (Red-id, Blue-id, etc.).  How can I add another argument to RadColorPicker such as RadColorPicker(int Id, Color value, String title).  

Here is some code:  Hope this makes sense.

///***Add ColorSwatch Control 
                            case AttributeControlTypeEnum.ColorSwatch: 
                                { 
                                    ///***Define RadColorPicker Attributes 
                                    RadColorPicker rcpColorSwatch = new RadColorPicker(); 
                                    rcpColorSwatch.ID = attribute.ProductAttribute.Name; 
                                    rcpColorSwatch.Preset = ColorPreset.None; 
                                    rcpColorSwatch.ShowEmptyColor = false; 
                                    rcpColorSwatch.PreviewColor = false; 
                                    ///***Add Attribute Collection Values to ColorPickerItemCollection 
                                    ProductVariantAttributeValueCollection pvaValues = attribute.ProductVariantAttributeValues; 
                                    foreach (ProductVariantAttributeValue pvaValue in pvaValues) 
                                    { 
                                        string pvaValuepvaValueName = pvaValue.Name; 
                                        decimal priceAdjustmentBase = TaxManager.GetPrice(productVariant, pvaValue.PriceAdjustment); 
                                        decimal priceAdjustment = CurrencyManager.ConvertCurrency(priceAdjustmentBase, CurrencyManager.PrimaryStoreCurrency, NopContext.Current.WorkingCurrency); 
                                        if (priceAdjustmentBase > decimal.Zero) 
                                            pvaValueName += string.Format(" [+{0}]", PriceHelper.FormatPrice(priceAdjustment, false, false)); 
                                        ColorPickerItem cpiValueItem = new ColorPickerItem((ColorTranslator.FromHtml(pvaValue.ProductVariantAttributeValueID.ToString())), (pvaValueName)); 
                                        rcpColorSwatch.Items.Add(cpiValueItem);                                          ///Above-This is the ValueId of color.  I need this plus the color value
                                    } 
                                    divAttribute.Controls.Add(rcpColorSwatch); 
                                } 
                                break; 
  
Joe
Top achievements
Rank 1
 answered on 08 Feb 2010
2 answers
131 views
I been trying to clear the filter through code behind methods.

I set each columns to

column.CurrentFilterFunction =

GridKnownFunction.NoFilter;

Then I rebind the grid

The grid then refreshes but all the records are missing.  I would have expected the grid to show all records...

So how do I programatically clear the filter in code behind c# and have the grids show all records.


I am just frustrated I missed something and google this time has failed me.

Thanks in advance

Stephen Altemus

Tsvetoslav
Telerik team
 answered on 08 Feb 2010
Narrow your results
Selected tags
Tags
+? 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?