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

hi all
                  I am using radgrid in my application , in that i need to enable the grouping feature, so i set AllowGrouping=true , ShowGroupPanel = true and AllowDragtoGroup = true. It works fine when i try to drag and drop a integer type column(eg:Salary) into the groupPanel but when i drag and drop a string type column(eg: Product Name) it throws an exception like "Could not find the column" or "Could not find the column index -1(Out of Range Exception)".

                  When the column name contains Space in it (eg: Product Name) the exception is like " Cloud not find the Column Product" i.e., it does not read the Name in Product Name.

                  Please tell me how to fix this issue it is very urgent.
 

Thanks in Advance

Tsvetoslav
Telerik team
 answered on 14 Oct 2011
1 answer
138 views
Hi all,

have a simple query! i have a control in the .cs file which is a text and i want to change colour of this however its not picking up foreground or background controls?

Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
3 answers
114 views
Hi,

I am just wondering, how do I add Hyper Link to  <telerik:RadTickerItem>Breaking News: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt</telerik:RadTickerItem>?

Thank you

Jayesh



Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
69 views
Hello,

I have a radmenu in aspx page and i am adding radsitemap dynamically to radmenuitem.
I am adding radsitemapnodes to radsitemap.
I am using IE9, if i run my application in compatible mode then it works fine.
OR
If i add <meta http-equiv="X-UA-Compatible" content="IE=8" />  in the HEAD section then also it works fine.
In the above two scenarios i was able to see radsitemapnodes with bullets on the left side.
But, if i open my application in normal mode in IE9,then whenever i hover on the menuitem i can see the text of the radsitemapnodes but
the bullets are invisible.
if i click on the menu or if i do some click action on the menu then all bullets are visible .From then i was able to see the bullets in the
Radsitemap.

Does anybody aware of this issue.
Is this the issue with IE9?
Is there any workaround for this?

Please assist.

Thanks,
LV
Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
336 views
Hi,

It seems like "exception of type 'system.outofmemoryexception' was thrown" is a common error that people are having using the RadGrid; however, I can not find any real solution that works on the forum.  My dataset contains 3.5 million records for 80 rows of data.

Regards,

Kelly
Princy
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
97 views
Hi Telerik Team,

 i have a requirement which i attached as a picture...

In this i have to bind data from 2sources one is AM,PM,MID Coming from one linq query and other "sales reps" names and their availability coming from another linq query.

I am planning to use "RadScheduler" but i am struct at the point how to bind data...But do i have any option?.

Please do respond.

Its urgent...Thanku in advance.

 
Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
2 answers
131 views
Hi,
I have a RADSchedule where my schedule is very long, when a user delete one of the appointment, the Confirm Delete window appear in the middle of the RADSchedule where my user have to scroll, is there away to control the confirm Delete window on the top at the header of the RADSchedule?

regards,
CH
CH
Top achievements
Rank 1
 answered on 14 Oct 2011
1 answer
119 views
Hello,

I have two RadGrids, g1 and g2, on a page and both have vertical scrollbars. The g1 scrollbar controls the vertical scroll of g2. I would like to hide the vertical scrollbar in g2 but not disable the scrolling.

How is this accomplished?

Thanks,
John S.
John S.
Top achievements
Rank 1
 answered on 14 Oct 2011
4 answers
141 views
I modified css for to hide other month. (refer to my css code) And that's work it.
But, it display again during show advanced edit form. (refer to 'othermonth.jpg')
So, what should I do for to hide other month during show advanced edit form?

Here is my css code.
.RadScheduler_Default .rsMonthView .rsOtherMonth
{
    background-color: #fff !important;
    background-image: none !important;
}
 
.RadScheduler_Default .rsOtherMonth div
{
    display: none;
}

Thanks
Hee.
Hee
Top achievements
Rank 1
 answered on 14 Oct 2011
7 answers
575 views
Hi, I am trying to follow your example in the Telerik help pages (http://www.telerik.com/help/aspnet-ajax/grid-inserting-values-inplace-and-editforms.html) to implement inserting a new row into a RadGrid. I am using a button to fire InitInsert which successfully creates an empty row that the user can input information, but when I fire the InsertCommand by clicking another button, in the InsertCommand event handler, GridCommandEventArgs.Item evaluates to null. Any suggestions?

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
                                <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                                    <AjaxSettings>
                                        <telerik:AjaxSetting AjaxControlID="grdTradesFile">
                                            <UpdatedControls>
                                                <telerik:AjaxUpdatedControl ControlID="grdTradesFile" LoadingPanelID="RadAjaxLoadingPanel1"/>
                                            </UpdatedControls>
                                        </telerik:AjaxSetting>
                                    </AjaxSettings>
                                </telerik:RadAjaxManager>
 
                                <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px" Transparency="50" />
                                 
                                <telerik:RadGrid ID="grdTradesFile" runat="server" Skin="Web20" Width="97%"
                                    AllowMultiRowSelection="True" AllowMultiRowEdit="True"
                                    AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
                                    AutoGenerateColumns="False" ShowStatusBar="true"
                                    OnNeedDataSource="grdTradesFile_NeedDataSource"
                                    SelectedItemStyle-BorderColor="Moccasin" SelectedItemStyle-BackColor="Moccasin"
                                    
                                    onitemcommand="grdTradesFile_ItemCommand"
                                    oncancelcommand="grdTradesFile_CancelCommand"
                                    oneditcommand="grdTradesFile_EditCommand"
                                    onupdatecommand="grdTradesFile_UpdateCommand"
                                    oninsertcommand="grdTradesFile_InsertCommand">
 
                                    <ClientSettings>
                                        <Selecting AllowRowSelect="true" />
                                    </ClientSettings>
 
                                    <MasterTableView CommandItemDisplay="Top" EditMode="InPlace" AllowAutomaticDeletes="false"
                                        AllowAutomaticInserts="true" AllowAutomaticUpdates="false" AutoGenerateColumns="false"
                                        Width="100%" DataKeyNames="Trade" ClientDataKeyNames="Trade">
                                        <CommandItemTemplate>
                                            <asp:Button ID="Button1" runat="server" CommandName="EditSelected" Text="Edit Selected" Width="120"
                                                Visible='<%# grdTradesFile.EditIndexes.Count == 0 %>'></asp:Button>
                                            <asp:Button ID="Button2" runat="server" CommandName="CancelAll" Text="Cancel All" Width="120"
                                                Visible='<%# grdTradesFile.EditIndexes.Count != 0 %>'></asp:Button>
                                            <asp:Button ID="Button3" runat="server" CommandName="UpdateEdited"  Text="Update Edited" Width="120"
                                                Visible='<%# grdTradesFile.EditIndexes.Count > 0 %>'></asp:Button>
                                            <asp:Button ID="Button4" runat="server" CommandName="DeleteSelected" Text="Delete Selected" Width="120"
                                                Visible='<%# grdTradesFile.EditIndexes.Count == 0 %>'></asp:Button>
                                            <asp:Button ID="Button5" runat="server" CommandName="InitInsert" Text="New Trade" Width="120"
                                                Visible='<%# !grdTradesFile.MasterTableView.IsItemInserted && grdTradesFile.EditIndexes.Count == 0 %>'></asp:Button>
                                            <asp:Button ID="Button6" runat="server" CommandName="PerformInsert" Text="Add Trade" Width="120"
                                                Visible='<%# grdTradesFile.MasterTableView.IsItemInserted %>'></asp:Button>
                                        </CommandItemTemplate>
                                        <Columns>
                                          <telerik:GridClientSelectColumn  />
                                          <telerik:GridBoundColumn DataField="Trade" HeaderText="TRADE" UniqueName="Trade"  />
                                          <telerik:GridBoundColumn DataField="Coupon" HeaderText="COUPON" UniqueName="Coupon" />
                                          <telerik:GridBoundColumn DataField="Price" HeaderText="PRICE" UniqueName="Price" />
                                          <telerik:GridBoundColumn DataField="Cross" HeaderText="PREMIUM CROSS" UniqueName="PremiumCross" />
                                          <telerik:GridBoundColumn DataField="Comments" HeaderText="COMMENTS" UniqueName="Comments" />
                                        </Columns>
                                 </MasterTableView>
                                </telerik:RadGrid>

protected void grdTradesFile_InsertCommand(object sender, GridCommandEventArgs e)
        {
            GridEditableItem editedItem = e.Item as GridEditableItem;
            DataRow newRow = tradesTable.NewRow();
 
            DataRow[] allValues = tradesTable.Select("", PRIMARY_KEY_COLUMN_NAME, DataViewRowState.CurrentRows);
            if (allValues.Length > 0)
            {
                newRow[PRIMARY_KEY_COLUMN_NAME] = (int)allValues[allValues.Length - 1][PRIMARY_KEY_COLUMN_NAME] + 1;
            }
            else
            {
                newRow[PRIMARY_KEY_COLUMN_NAME] = 1; //the table is empty;
            }
 
            //Set new values
            Hashtable newValues = new Hashtable();
            //The GridTableView will fill the values from all editable columns in the hash
            e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem);
 
            try
            {
                foreach (DictionaryEntry entry in newValues)
                {
                    newRow[(string)entry.Key] = entry.Value;
                }
            }
            catch (Exception ex)
            {
                
            }
 
            tradesTable.Rows.Add(newRow);
            grdTradesFile.Rebind();
            saveChanges();           
        }

Boyan
Top achievements
Rank 1
 answered on 13 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?