Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
106 views
Hello,
I have a question about radcompression.

Here, I use radcompression with SL4 and RIA.
I inserted the DLL "Telerik.Web.UI" and I modified the web.config with tags

<httpModules>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
 </httpModules>

and

<system.webServer>
    <modules>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="managedHandler" />
<system.webServer>

The response is compressed. It's OK
But my question is : Is it possible to compress POST ?? because the request POST is not compressed.
Possible with RadCompression ? other way ?

Exemple :  See attached file

Regards,
Oliver



Oliver
Top achievements
Rank 1
 answered on 12 Sep 2011
1 answer
114 views
I'm trying to implement the ItemCreated event handler in my server-side code.  What parameters do I use in the event handler?

Can you also please provide the link to your documentation that shows this?  I don't think it exists.

Robert W.
Dimitar Terziev
Telerik team
 answered on 12 Sep 2011
2 answers
59 views
I have a strange situation which I cannot recreate on any of my machines. I have a developer who reported that vertical scrolling is not working on one ajax enabled webpage. They also stated that removing the ajax code from the page corrects the issue.

The developer reported this issue with Windows 7 using IE8 (32 bit and 64 bit versions) as well as on a Windows XP machine using IE7. I tested both these senarios with my machines and everything worked correctly. The developer also tested in firefox and everything worked correctly for her there. I am wondering if this is some sort of setting or configuration issue on the developer's end.

Has anyone ever encountered anything like this? Any knowledge would be greatly appreciated!
Casey
Top achievements
Rank 1
 answered on 12 Sep 2011
2 answers
82 views
Hi,
    I need some info on this issue since i cant find any documentation on this. I am using entity framework with ObjectDatasource and RadGrid. all the rest (Update,insert) commands are working fine but when I try delete this is the error i get "$5,450.36 is not a valid value for Decimal" . I have automatic deletes turned on the grid. On the backend I have a column of decimal (18,2) to store the currency data. How can I keep the currency formatting and get rid of this error on delete please let me know, I have tried 

DataformatString = "{0:c}"    and NumericType = "Currency"

but none of these are working?? please see below for my grid column definition. Please let me know how to do this as it is urgently needed. Thanks in advance

<telerik:GridNumericColumn  DataField="payment_rate" DataType="System.Decimal" NumericType="Currency"  UniqueName="payment_rate" AutoPostBackOnFilter="true"   HeaderText="Payment Rate" DecimalDigits="2">
 <HeaderStyle HorizontalAlign="Left" Width="10%" />
    <ItemStyle HorizontalAlign="Left" />
 </telerik:GridNumericColumn>

Maria Ilieva
Telerik team
 answered on 12 Sep 2011
2 answers
155 views
I have the following code

Javascript

    function RowDblClick(sender, eventArgs)
                                 {
                                    window.radopen("Example.aspx?Id=" + eventArgs.getDataKeyValue("Id"), "Dialog");
                                }

Aspx Grid Code

     <telerik:RadGrid ID="RadGrid" runat="server" AllowPaging="True" AllowSorting="True"
                            GridLines="None" ShowGroupPanel="True" Skin="Black" AutoGenerateColumns="False"
                            Width="100%" AllowAutomaticInserts="false" AllowAutomaticUpdates="false" PagerStyle-Mode="NumericPages"
                            OnItemInserted="GridItemInserted"
                            onitemdatabound="GridItemDataBound">
    .............................................
    ........................................
    ..................................................
                                <ClientSettings>
                                <Selecting AllowRowSelect="true" />
                                <ClientEvents OnRowDblClick="RowDblClick" />
                            </ClientSettings>
    </telerik:RadGrid>
    <asp:Button ID="AddButton" runat="server" Text="Add New" OnClientClick="return ShowForm();" />

My actual question is to disable or enable RowDblClick property based on the user permission
This is my sample code in the aspx.cs file where i want to set the edit or view permission for radgrid
 

    this.AddButton.Enabled =true/false;//the value will be true or false
     this.RadGrid.Enabled=true/false;

//the value will be true or false ,based on this value i want to enable/disable my rowdblclick,can any one help out to figure out where i am doing wrong
Bruno
Top achievements
Rank 2
 answered on 12 Sep 2011
3 answers
70 views
Hi Everybody,

RadMenu view is distorted in the page used RadMenu and RadTreeView. What could be the problem? Radtreview spoils radMenu's the appearance..
Kate
Telerik team
 answered on 12 Sep 2011
1 answer
29 views
I am using Editor (RadControls for Asp.net Ajax q2 2011) in Visial Studio 2005 project.
I have RadScriptManager as very first control on the page and RadEditor after it.
When i select some text and click HyperLink Manager button, i get Hyperlink dialog and after this popup Error (line 1093, Sys.WebForms.PageRequestManager is null or not an object.

thanks
Galina
Rumen
Telerik team
 answered on 12 Sep 2011
3 answers
88 views
Hi,

I've an issue with selected state of rows with custom cssclasses. I'll discribe the scenario: We have a grid with 20 addresses (name, street, city). Some records are from external source which we want to be blue (text). This works very well with cssclass, but ... After succesfully load of the girid, click on some blue record, the postback will be forced. The row is selected correctly with highlighting but after the postback is finished, the selected state is lose and is back to his normal state (rgRow or rgRowAlt).

Grid:
<telerik:RadGrid ID="grdData" Width="100%"
                                AllowPaging="True" PageSize="15" runat="server" AllowSorting="True"
                                GridLines="None" EnableLinqExpressions="False" GroupingEnabled="False"
                                AutoGenerateColumns="False" CellSpacing="0" SkinID="grdGeneral" CssClass="RadGrid">
                         
                                <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="true">
                                    <Selecting AllowRowSelect="True" />
                                    <Scrolling AllowScroll="True" />
                      
                                    <Resizing ClipCellContentOnResize="true" />
                                </ClientSettings>
                            
                                <MasterTableView Width="100%" ClientDataKeyNames="address_ID,type_ID" DataKeyNames="address_ID,type_ID" TableLayout="Fixed">
 
                                    <Columns>
                                        <telerik:GridBoundColumn DataField="address_ID" UniqueName="address_ID" Visible="False" />
                                        <telerik:GridBoundColumn DataField="type_ID" UniqueName="type_ID" Visible="False" />
                                        <telerik:GridTemplateColumn UniqueName="SELECT" AllowFiltering="false" Reorderable="false" Resizable="false">
                                            <ItemStyle Width="35px" />
                                            <HeaderStyle Width="35px" />
                                            <HeaderTemplate>
                                                <asp:CheckBox ID="chkSelectAll" runat="server" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkSelect" runat="server" />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="TYPE" CommandName="TYPE">
                                            <ItemStyle Width="30px" />
                                            <HeaderStyle Width="30px" />
                                        </telerik:GridButtonColumn>
                                        <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/images/edit.png" UniqueName="EDIT" CommandName="EDIT">
                                            <ItemStyle Width="30px" />
                                            <HeaderStyle Width="30px" />
                                        </telerik:GridButtonColumn>
                                        <telerik:GridBoundColumn DataField="full_name" UniqueName="full_name" HeaderText="Naam">
                                            <ItemStyle Wrap="false" CssClass="minwidth" />
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="city" UniqueName="city" HeaderText="Plaats">
                                            <ItemStyle Width="140px" Wrap="false" />
                                            <HeaderStyle Width="140px" />
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="emailaddress" UniqueName="emailaddress" HeaderText="E-mailadres">
                                            <ItemStyle Width="140px" Wrap="false" />
                                            <HeaderStyle Width="140px" />
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="phone" UniqueName="phone" HeaderText="Telefoon">
                                            <ItemStyle Width="140px" Wrap="false" />
                                            <HeaderStyle Width="140px" />
                                        </telerik:GridBoundColumn>
                                        <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/images/delete.png" UniqueName="DELETE" CommandName="DELETE">
                                            <ItemStyle Width="30px" />
                                            <HeaderStyle Width="30px" />
                                        </telerik:GridButtonColumn>
                                    </Columns>
 
                                </MasterTableView>
 
                            </telerik:RadGrid>

Databound event:
Private Sub grdData_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grdData.ItemDataBound
   radItem.CssClass = IIf(radItem.ItemType = GridItemType.AlternatingItem, "rgAltRow", "rgRow") & " BlueRecord" 
End Sub

.BlueRecord
{
    color: navy !important;
}
Erick
Top achievements
Rank 2
 answered on 12 Sep 2011
4 answers
107 views
Hello! I have a question! I'm using the RadGrid and there I have FormSetting which is again RadGrid! Second grid, I use to display more information. To edit record in the inner grid, I use Radwindow! How can I update the internal grid? How to get it in the event  protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)? How I can do this? THANKS!!)))
Timyr
Top achievements
Rank 1
 answered on 12 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?