Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
107 views
I tried to copy the code from the demo page http://demos.telerik.com/aspnet-ajax/editor/examples/saveindatabase/defaultcs.aspx modified it and compile it. When  I tried to click on edit button each different items, the previous item will disappea. and I tried to edit the context I got the error on this line item.FireCommandEvent(RadGrid.UpdateCommandName, string.Empty);. Please help
Thank you
Q
Top achievements
Rank 1
 asked on 17 Jul 2013
2 answers
149 views
Good Afternoon,

I would like to know if it is possible to change a RadAutoCompleteBox's border colour though javascript. Also, is it possible to achieve the same validation failure styling as in a RadTextBox ?

var registerUser_Username = $find("<%= RegisterUser_Username.ClientID %>");
 
registerUser_Username._invalid = true;
registerUser_Username.updateCssClass();

Ivo
Top achievements
Rank 1
 answered on 17 Jul 2013
1 answer
163 views

Hi,

I want to show parent child hierarchy or self hierarchy but I don't know Levels of Hierarchy.  Next Hierarchy Table should be shown on based of some decision from code. I have seen one example http://www.telerik.com/help/aspnet-ajax/grid-self-referencing-hierarchy.html But It didn't allow any CRUD operations.

I want to do this by Coding and How can I add more GridTableView in Existing GridTableView? Below is Grid Code

<telerik:RadGrid ID="BicCodeGrid" runat="server" AutoGenerateColumns="false" OnNeedDataSource="BicCodeGrid_NeedDataSource"
                    Skin="Silk" OnItemCommand="BicCodeGrid_ItemCommand" OnDetailTableDataBind="BicCodeGrid_DetailTableDataBind"
                    OnItemDataBound="BicCodeGrid_ItemDataBound" >
                    <MasterTableView Width="100%" DataKeyNames="BICCodeID" ClientDataKeyNames="BICCodeID"
                        HorizontalAlign="NotSet" AutoGenerateColumns="False">
                        <Columns>
                            <telerik:GridBoundColumn HeaderText="Kode" DataField="BICCode" UniqueName="BICCode"
                                ReadOnly="true" ItemStyle-Width="50px">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="OmrÃ¥de" DataField="DanishDescription" UniqueName="DanishDescription"
                                ReadOnly="true" ItemStyle-Width="400px">
                            </telerik:GridBoundColumn>
                            <telerik:GridButtonColumn ButtonType="PushButton" Text=" + " CommandName="AddBicCode">
                            </telerik:GridButtonColumn>
                        </Columns>
                        <DetailTables>
                            <telerik:GridTableView DataKeyNames="BICCodeID" Name="DetailsTable" Width="100%" on>
                                <ParentTableRelation>
                                    <telerik:GridRelationFields MasterKeyField="BICCodeID" DetailKeyField="ParentID" />
                                </ParentTableRelation>
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="Kode" DataField="BICCode" UniqueName="BICCode"
                                        ReadOnly="true" ItemStyle-Width="50px">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn HeaderText="OmrÃ¥de" DataField="DanishDescription" UniqueName="DanishDescription"
                                        ReadOnly="true" ItemStyle-Width="300px">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridButtonColumn ButtonType="PushButton" Text=" + " CommandName="AddBicCode">
                                    </telerik:GridButtonColumn>
                                </Columns>
                            </telerik:GridTableView>
                        </DetailTables>
                    </MasterTableView>
                    <ClientSettings>
                        <ClientEvents OnCommand="RaiseCommand" />
                    </ClientSettings>
                </telerik:RadGrid>

 

 

 

Maria Ilieva
Telerik team
 answered on 17 Jul 2013
8 answers
150 views
I am populating the RadScheduler w/ some test data for the first time.  I have the following data in a table tied to the RadScheduler via a SQL Query. 

DataKeyField = 1
DataStartField = 2009-08-21 00:00:00.000
DataEndField = 2009-08-21 23:59:59.997
DataRecurrenceField = Daily
DataSubjectField = Test
DataRecurrenceParentKeyField = ??

A.  What is a "Recurrence Parent"?  How does this relate to Recurrence?
B.  DataStart is populated with a DateTime in SQL.  How does this affect recurrence (August 21 set to reoccur daily)?


Boyan Dimitrov
Telerik team
 answered on 17 Jul 2013
1 answer
103 views


In 1.1 I would have to set these properties in the code behind.

editor1.StripAbsoluteAnchorPaths = False

editor1.StripAbsoluteImagesPaths = False

editor1.ShowSubmitCancelButtons = False




How would I do that in 2013.2.611.40? I can't find the info anywhere. I looked through documentation but I must be missing it.

thanks j
Ianko
Telerik team
 answered on 17 Jul 2013
9 answers
211 views
Hi All,
I have a nested grid where I would like to export all items in the Master grid, but only those child grids that contain data.
Using this example (http://www.telerik.com/help/aspnet-ajax/grid-hide-expand-collapse-images-when-no-records.html) I thought I had the solution, but it's not working.
I'm probably doing the part in the if statement wrong (..Expanded = true/false) - what's the correct way to do this?

Thx in advance!
M.

Code in Grid_OnItemCommand:
if (e.CommandName.Contains("Export"))
        {
            //this expands everything
            // RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;
 
            GridItem[] nestedViewItems = RadGrid1.MasterTableView.GetItems(GridItemType.NestedView);
            foreach (GridNestedViewItem nestedViewItem in nestedViewItems)
            {
                foreach (GridTableView nestedView in nestedViewItem.NestedTableViews)
                {
                    if (nestedView.Items.Count == 0)
                    {
                        RadGrid1.MasterTableView.Items[nestedViewItem.ItemIndex].Expanded = false;
                    }
                    else { RadGrid1.MasterTableView.Items[nestedViewItem.ItemIndex].Expanded = true; }
                }
            }
        }
Kostadin
Telerik team
 answered on 17 Jul 2013
1 answer
100 views
in the demo http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx
using IE10 the shipped date column is two dates side by side. if you use compatibility mode they show in two lines.

How do I make IE10 show in two lines like compatibility mode?

Thanks
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Jul 2013
3 answers
84 views
Hi,

I have a problem with the RadDatePicker width in IE 7, and you can notice this problem in your demo. Check the attachement
The width does not behave the same in IE7 as oppose to IE8 and above and Firefox

How shoud I handle that ?

I am running the Telerik last version Q1 2013
thanks
J-Francois
Milena
Telerik team
 answered on 17 Jul 2013
31 answers
2.0K+ views
k, I am having a terrible time with making the splitter take up 100% of the height (full page).

I can make it work easily without using master pages.  I simply follow the example that you guys have provided and it works wonderfully.  However, if I take the exact same example and apply it to my web app that is using a master page, I cannot get it to work at all.  Has anyone been able to have the splitter take up the full page using a master pages?  If so, can I see an example of how it was done?

Thanks,
Tad
Steve
Top achievements
Rank 1
 answered on 17 Jul 2013
11 answers
247 views
I have some NumericTextBox in a EditTemplate of a RadGrid. There is a strange behaviour with my NumericTextBox... When I mouse over the TextBox, the width lengthens for about 5-10 pixels.

What is the cause ?
Milena
Telerik team
 answered on 17 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?