Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
143 views
Hi!
I have a GridView a column representing ProductID.  I would like to have a function that let me when I hover over each ProductID, a pop-up show up and show me that Product's spec in a DetailsView.  How can I make that happen?  Thanks.

Cheers!
Al
Al Safavi
Top achievements
Rank 1
 answered on 21 May 2008
4 answers
184 views
Sorry if this is the incorrect forum board to post this topic, but I couldn't find a more relevant section.

I'm having an issue when specifying the SelectedDate attribute of the RadTimePicker. For some reason no matter when value I specify the displayed value is "12:00 AM". Why is this and how can I fix this?

Thanks for your help,

Curt.
Curt
Top achievements
Rank 1
 answered on 21 May 2008
3 answers
157 views
Hello,

This should be pretty simple, but I have not found an answer online.

In my grid control, I have a column defined as a  GridTemplateColumn.   Within this, I have of course:  ItemTemplate  and EditItemTemplate.  

Here's my question:  How do I prevent edits for this column --but yet still have it enabled for inserts.  Make sense? 

I want to prevent the user from editing this column value after the record has been created.

Thanks for anyone's help (been stuck on this for sometime),
John
Shinu
Top achievements
Rank 2
 answered on 21 May 2008
1 answer
122 views
Hi all,
I have my RadGrid inside a RadMultiPage (part of a RadTabStrip), I want to enable ajax so I've added a RadAjaxManager but the RadGrid control doesn't show up when I click on Configure Ajax Manager. If RadGrid is by itself (not within RadMultiPage), I was able to see the control listed under Configure Ajax Manager.

Thanks,
Kenny.
Konstantin Petkov
Telerik team
 answered on 21 May 2008
1 answer
97 views
Ok, the scene:  RadGrid for Ajax inside an Ajax Panel.

Enable client side row selection on the grid and uncheck Ajax on the AjaxPanel.
Click any row on the grid and the row is selected.

Select the Enable Ajax checkbox on the AjaxPanel and now certain rows (always the same ones) fail to select.

This is pretty consistent behavior. 

Any help would be appreciated.
Thanks,
David Sandor
Shinu
Top achievements
Rank 2
 answered on 21 May 2008
1 answer
204 views
Hi,
     I want my grid to have a header and a subheader. The grid has 9 columns.
The header groups the columns in groups of 3. and the sub header is the header for every column. Is it possible to have 2 headers in  telerik grid.
Thanks,
Pri
Princy
Top achievements
Rank 2
 answered on 21 May 2008
9 answers
707 views
My grid is bound to my class.  One of the fields is a date which I bind to a GridDateTimeColumn.

Using in place edit when I attempt to add a new record I keep getting the error

The string was not recognized as a valid DateTime. ---> System.FormatException: The string was not recognized as a valid DateTime.

The code in my aspx page:

<telerik:GridDateTimeColumn                               
                DataField="StartDate"
                HeaderText="Start Date"               
                UniqueName="Start Date"
                PickerType="DatePicker" />  

Just checking to see if there is something I am missing.  I would like the date value to default to the current date/time.  Do I need to handle an event for the grid such as the edit item being created and default the editor?

Sebastian
Telerik team
 answered on 21 May 2008
2 answers
115 views

Hi,

I have a grid with check box column. On click of button AJAX call is made and data is fetched accordingly. But the checkbox column is not getting refreshed. If I do postback than same thing is working fine.

I am using needdatasource event of grid for databinding and I debugged it and found that correct data is gettting bound but only the checkbox  in the grid is not getting refreshed.

i have also observed that when I use AJAX then the grid doesnt refreshes any control like textbox,checkbox but it refreshes only the label control.

Please let me know what am I doing wrong?

Thanks,
Nishith

Vlad
Telerik team
 answered on 21 May 2008
3 answers
157 views
Hi guys,

I am a newbie to Telerik controls. I am trying to implement exporting functionality on the grid to export only selected rows to CSV format as follows:

<CommandItemTemplate> 
                                            <table cellpadding="2" cellspacing="1" style="font-family: Tahoma; font-size: 11px" 
                                                width="100%"> 
                                                <tr> 
                                                    <td style="text-align: left"> 
                                                        <asp:LinkButton ID="hlInsertBank" runat="server" CommandName="InitInsert" Text="Insert"></asp:LinkButton> 
                                                    </td> 
                                                    <td style="text-align: right"> 
                                                        <asp:LinkButton ID="exportBankDetails" runat="server" Text="Export" CommandName="ExportToCSV" ></asp:LinkButton> 
                                                    </td> 
                                                </tr> 
                                            </table> 

On the server-side I have handled ItemCommand event as follows:

protected void RadGrid_Bank_ItemCommand(object sender, GridCommandEventArgs e) 
    { 
        RadGrid grid = (RadGrid)sender; 
        int itemIndex = e.Item.ItemIndex; 
        if (e.CommandName == "ExportToCSV") 
        { 
            foreach (GridDataItem dataItem in grid.MasterTableView.Items) 
            { 
                dataItemdataItem.Display = dataItem.Selected; 
            } 
            grid.MasterTableView.ExportToCSV(); 
        } 
    } 

But when i click the export link after selecting a few rows, nothing happens. It shows me the loading panel. It also goes into the server-side code and executes ExportToCSV(). Also another strange thing happens - the grid reduces to the records I have selected i.e. the page initially is set to show 5 records, and I select only 2 of it to export, once the call comes back from the exportToCSV(), it shows me only the 2 records which were selected. Also, when moving to the next page and back, everything comes to normal.I can all my records again.

Any ideas on what I am doing wrong?

Regards,
Princy
Top achievements
Rank 2
 answered on 21 May 2008
1 answer
103 views
In the project I'm working on, we're programaticaly adding nodes client side; for the most part everything works fine, but in some extreem circumstances, we may need to load around 3000 or so nodes. The trouble with this is that eventualy IE displays a 'Stop running this Script?' dialog to the user. After looking at the code, it seems like the slowest part of the process is calling the parentNode.add(childNode) method, which takes around 20-60ms per node (the rest of the code per node only takes about 5-10ms on top of this).

Are there any tips/suggestions you could give me to improve performance here, or at least prevent that IE dialog from being displayed?
Atanas Korchev
Telerik team
 answered on 21 May 2008
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?