Telerik Forums
UI for ASP.NET AJAX Forum
27 answers
399 views
We recently upgraded to Q2 2009 SP1 AJAX.Net Controls and after doing so are experiencing an error in IE7/IE8 when refreshing one of our grids.  The following is a line of code (generated by the grid control itself) that's causing the problem:

if(j.href.indexOf("&ie7CacheFix")>=0){j.href=j.href.replace("&ie7CacheFix","")


(from line 512 of the Telerik.Web.UI.WebResource auto-generated file -- Telerik.Web.UI.WebResource_#.axd -- where # is a random number).

This does not occur when running in Firefox and did not occur prior to installing Q2 2009 SP1.

Has anyone else come across this error and, if so, what did you do to fix it?  Telerik -- do you know whether this is a known issue?

(I searched the web for a solution and think this may be related to IE reloading background images on the page in question.  Since this doesn't occur in Firefox, it may be related, but I'm not positive.)
Absolute Data Group
Top achievements
Rank 1
 answered on 12 Nov 2009
1 answer
125 views

I am working on a project where I use the RadGrid in listview / datalist layout (with te panels). Just like in de live demo.
Because I like this layout I am persuing to keep it but it seems not the most convenient one sometimes :-)

I found a way to edit. The difficult part was to make it look nicde and have the editform always diplayed nice
I found that this was only possible by making the edited record temporarily the only record in the grid

I need also to delete (selected) rows / records.

The easiest way would be to be able to do something with a rightclick on the panel / record
The color is changing when the mouse is over the panel so there must be some event possible to pick up.

An other idea would be to put the record / row in Edit mode and place a delete button on the edit template.
The thing is that a simple commandname="delete" button does not seem to work and gives an error.
So I'm looking to do this through an ordinairy button_click event.
I have the row / record that needs to be delete selected and in edit mode.
I was looking for something like Radgrid1.selecteditems.delete()

Any suggestons?

arnaud
Top achievements
Rank 1
 answered on 12 Nov 2009
2 answers
136 views
Hi,

I'm trying to display a grid that groups by a field called SubCat and I would like it to only display the SubCat field alone. My groupByExpression is "SubCat [ ] Group By SubCat"

Which gives me something like:

: Category 1
: Category 2

when I would optimally want:

Category 1
Category 2

Any way I can go about getting this result? I've tried the following GroupByExpression's:
Group By SubCat
[SubCat] Group By SubCat
[ ] Group By SubCat

Kori
Top achievements
Rank 2
 answered on 11 Nov 2009
2 answers
388 views
Hi,

I've created a simple Grid, and set it to use the popup edit mode (I've just copied directly from the samples).

I've also created my own code for the Update and Insert commands - again largely copied from the samples.

When invoking the popup to edit an existing row, after clicking the Update button my code fires, and the data is updated however the Popup form doesn't close automatically. 

However, when invoking the popup to add a new row it works perfectly and the popup closes.

Here's the code for my grid:

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True"   
    AllowPaging="True" AllowSorting="True" GridLines="None" Skin="Sitefinity"   
    AutoGenerateColumns="False" AllowAutomaticUpdates="True" AutoGenerateEditColumn="true" > 
 
<MasterTableView EditMode="PopUp" CommandItemDisplay="Top" DataKeyNames="ItemCode" > 
            <EditFormSettings InsertCaption="Add new item" CaptionFormatString="Edit Item: {0}" 
                CaptionDataField="ItemCode" PopUpSettings-Modal="true" EditFormType="Template" > 
<EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
                <FormTemplate> 
                    <table id="Table1" cellspacing="1" cellpadding="1" width="80%" border="0">  
                        <tr> 
                            <td> 
                            </td> 
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Branch:  
                            </td> 
                            <td> 
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind( "Branch" ) %>'>  
                                </asp:TextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Item Code:  
                            </td> 
                            <td> 
                                <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind( "ItemCode") %>' TabIndex="1">  
                                </asp:TextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Description:  
                            </td> 
                            <td> 
                                <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind( "ItemDescription") %>' TabIndex="2">  
                                </asp:TextBox> 
                            </td> 
                        </tr> 
                    </table> 
                    <table style="width: 100%">  
                        <tr> 
                            <td align="right" colspan="2">  
                                <asp:Button ID="Button1" Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>' 
                                    runat="server" CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'>  
                                </asp:Button>&nbsp;  
                                <asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">  
                                </asp:Button> 
                            </td> 
                        </tr> 
                    </table> 
                </FormTemplate> 
 
<PopUpSettings Modal="True"></PopUpSettings> 
</EditFormSettings> 
    <Columns> 
 
        <telerik:GridBoundColumn DataField="Branch2.BranchName" HeaderText="Branch"   
            UniqueName="column1">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="ItemCode" HeaderText="Item"   
            UniqueName="column3">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="ItemDescription"   
            HeaderText="Item Description" UniqueName="column2">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="Status2.StatusName" HeaderText="Status"   
            UniqueName="column">  
        </telerik:GridBoundColumn> 
    </Columns> 
</MasterTableView> 
        <ClientSettings> 
            <ClientEvents OnRowDblClick="RowDblClick" /> 
        </ClientSettings> 
        </telerik:RadGrid> 


Any suggestions?

Thanks,
Neil.
Neil Mercer
Top achievements
Rank 1
 answered on 11 Nov 2009
3 answers
106 views

Go to the demo page at http://demos.telerik.com/aspnet-ajax/input/examples/radnumerictextbox/firstlook/defaultvb.aspx
Change decimal digits to 2.
Enter 3.97 in the text box.
Value is displayed as 3.9699999999999997

This is also occuring with control.set_value(3.97)

Has this been fixed?

Thanks ... Douglas
Douglas R.
Top achievements
Rank 1
 answered on 11 Nov 2009
1 answer
86 views
Hello,

In some, but not all projects, I have to place a copy of the telerik dll in the bin folder, even though the dll is installed in the Gac.

THis is true both on my dev server and live server.

If the dll is not in the bin I get an error page saying the dll cannot be found.


Any idea why this happens?

Thanks,
Schlurk
Top achievements
Rank 2
 answered on 11 Nov 2009
4 answers
164 views
I have a page using the FileExplorer component. It works great when I'm debugging in Visual Studio 2008, but when I copy all the project right to the IIS path, I can't press the create new folder or upload buttons. Also I can't rename files or folders.

I'm using Vista SP2 64-bits.

Thanks for the help!
Andrés Salinas
Top achievements
Rank 1
 answered on 11 Nov 2009
2 answers
107 views
I have 2 radgrids one with jobs and the other with users I would  like to be able to Multi drag and drop jobs and assign them to specific users in the other grid is this possible with radgrid drag and drop, if so could you provide a vb example
Robert
Top achievements
Rank 1
 answered on 11 Nov 2009
2 answers
225 views
Hi,
In asp:treeview control such a flexibility is been provided. Please read the following paragraph.

Customizing the Appearance of the TreeView Control

The TreeView control provides ImageUrl properties such as RootNodeImageUrl, ParentNodeImageUrl, and LeafNodeImageUrl. These custom images are rendered to the left of the node's text. You can override the default image for the node type using the ImageUrl property. The TreeView control also provides CollapseImageUrl and ExpandImageUrl properties for the expanded and collapsed indicators. These are usually represented by plus and minus icons. There is also a property named NoExpandImageUrl that can be used for rendering an image for nodes which have no children. You can turn off the default image using the ShowExpandCollapseboolean property.

In addition to custom images, the TreeView control also supports TreeNodeStyle properties for each node types. These style properties override the NodeStyle property, which applies to all node types. A node can also have a different style applied when it is selected. When Selected property is set to true, the node is selected and the SelectedNodeStyle properties overrides any corresponding unselected style properties for the selected node. It is also possible for you to render check boxes between the node and image by setting the ShowCheckBoxes property to a boolean value. 

Why the same flexible support has not been provided here?
Anybody please provide me a sample where in I can change image URL instead of Plus and Minus symbol in the tree.

Telerik admin please answer my query.

Regards,
Medac

Schlurk
Top achievements
Rank 2
 answered on 11 Nov 2009
4 answers
158 views
Hello:
When the user click "Add new row", I need to disable it,
for example,
if the user click on "Add New Row" the program execute a routine that return a boolean,
if the routine return true then "Add new row" must to display a message "You can't add more rows".
And the inputs for insert don't must appear.

Can you help me?

Thanks.
rema43001
Top achievements
Rank 1
 answered on 11 Nov 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?